electron/script
2018-10-09 16:19:05 -04:00
..
lib ci: fix the upload distribution step on VSTS (#15015) 2018-10-08 15:19:40 -05:00
release-notes chore: update to standard 12 2018-09-14 14:57:01 +10:00
apply-patches chore: fix python lint warnings (#14638) 2018-09-16 12:24:07 -05:00
bump-version.py chore: ensure the bump-version script modified the version.h file correctly 2018-09-28 13:58:48 +10:00
check-relative-doc-links.py chore: fix relative links in docs and enforce we dont break them again (#14832) 2018-09-28 13:16:38 +10:00
chrome_version.h.in
ci-release-build.js ci: strip linux binaries for release builds (#14991) 2018-10-09 16:19:05 -04:00
dbus_mock.py refactor: use one script to launch all linters (#14622) 2018-09-17 16:09:02 -05:00
download-circleci-artifacts.js ci: Trigger an arm test on VSTS after CircleCI build (#14898) 2018-10-04 12:01:16 -04:00
dump-symbols.py ci: fix the upload distribution step on VSTS (#15015) 2018-10-08 15:19:40 -05:00
find-release.js refactor: add prefer-const to .eslintrc + fix errors (#14880) 2018-10-02 11:56:31 +10:00
get-last-major-for-master.js refactor: add prefer-const to .eslintrc + fix errors (#14880) 2018-10-02 11:56:31 +10:00
get-patch build: move libcc patches to electron repo (#14104) 2018-09-13 22:02:16 -07:00
get-version.py Add testing for arm, arm64 and ia32 linux builds 2017-12-20 11:54:52 -05:00
lint.js chore: add GN linting (#14678) 2018-10-03 18:03:26 -05:00
merge-electron-checksums.py
native-tests.py ci: run more unittests (#14861) 2018-10-01 17:50:52 -05:00
patch.py chore: copy script/patch.py from the libcc repo (#14627) 2018-09-14 15:12:05 -07:00
prepare-release.js refactor: add prefer-const to .eslintrc + fix errors (#14880) 2018-10-02 11:56:31 +10:00
publish-to-npm.js refactor: add prefer-const to .eslintrc + fix errors (#14880) 2018-10-02 11:56:31 +10:00
pump.py chore: fix python lint warnings (#14638) 2018-09-16 12:24:07 -05:00
README.md build: move libcc patches to electron repo (#14104) 2018-09-13 22:02:16 -07:00
release-artifact-cleanup.js chore: fix await in cleanup script (#14670) 2018-09-19 09:38:35 -07:00
release.js refactor: add prefer-const to .eslintrc + fix errors (#14880) 2018-10-02 11:56:31 +10:00
run-clang-format.py feat: convenience command to apply all formatter patches (#14994) 2018-10-09 10:06:27 -04:00
spec-runner.js chore: some async await stuff for the spec runner (#14897) 2018-10-02 11:53:34 +10:00
start.js refactor: replace var with const / let (#14866) 2018-09-29 09:17:00 +10:00
strip-binaries.py ci: strip linux binaries for release builds (#14991) 2018-10-09 16:19:05 -04:00
sysroots.json Revert "feat: upgrade to Chromium 68.0.3440.128 and Node 10.11.0 (#14677)" (#14963) 2018-10-04 12:03:15 +10:00
test.py chore: stop using electron.gyp for branding and version (#14559) 2018-09-27 14:53:08 -04:00
tls.py chore: fix relative links in docs and enforce we dont break them again (#14832) 2018-09-28 13:16:38 +10:00
update-external-binaries.py build: make external binaries download action more flexible (#14982) 2018-10-06 00:21:46 +02:00
upload-index-json.py chore: fix out_dir usage in upload-index-json.py 2018-09-28 11:16:38 +10:00
upload-node-checksums.py chore: fix out_dir usage in upload-node-checksums.py 2018-09-28 11:16:38 +10:00
upload-node-headers.py chore: fix out_dir usage in upload-symbols.py 2018-09-28 11:24:50 +10:00
upload-symbols.py chore: fix upload.py for symbol.zip upload 2018-09-29 12:00:33 +12:00
upload-to-github.js chore: add extra logging to the upload script 2018-10-05 09:24:19 +10:00
upload.py ci: fix the upload distribution step on VSTS (#15015) 2018-10-08 15:19:40 -05:00
verify-ffmpeg.py Revert "feat: upgrade to Chromium 68.0.3440.128 and Node 10.11.0 (#14677)" (#14963) 2018-10-04 12:03:15 +10:00
zip-symbols.py chore: add python env to zip-symbols script 2018-09-29 02:10:42 +12:00

get-patch

Use it to save commits from upstream repositories as patch files.

Examples

  1. Write commit contents in the patch format to stdout.
$ ./script/get-patch --repo src --commit 8e8216e5
  1. Create a patch file with a default name if a specified directory.
$ ./script/get-patch --repo src --commit 8e8216e5 --output-dir patches
  1. Create a patch file with a custom name in the current directory.
$ ./script/get-patch --repo src --commit 8e8216e5 --filename my.patch
  1. Create a patch file with a custom name in a specified directory.
$ ./script/get-patch --repo src --commit 8e8216e5 --output-dir patches --filename my.patch
  1. Create patch files with default names in a specified directory.
$ ./script/get-patch --repo src --output-dir patches --commit 8e8216e5 164c37e3
  1. Create patch files with custom names in a specified directory. Note that number of filenames must match the number of commits.
$ ./script/get-patch --repo src --output-dir patches --commit 8e8216e5 164c37e3 --filename first.patch second.patch