electron/script
2018-09-19 08:42:03 -05:00
..
lib chore: fix python lint warnings (#14638) 2018-09-16 12:24:07 -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: fix python lint warnings (#14638) 2018-09-16 12:24:07 -05:00
check-relative-doc-links.py chore: fix python lint warnings (#14638) 2018-09-16 12:24:07 -05:00
chrome_version.h.in Remove All Rights Reserved after GitHub copyright 2014-10-31 11:17:05 -07:00
ci-release-build.js chore: update to standard 12 2018-09-14 14:57:01 +10:00
dbus_mock.py refactor: use one script to launch all linters (#14622) 2018-09-17 16:09:02 -05:00
dump-symbols.py update mac symbol dump (#12982) 2018-05-21 10:01:17 +09:00
find-release.js chore: update to standard 12 2018-09-14 14:57:01 +10:00
get-last-major-for-master.js chore: allow nightlies from release branches (#14157) 2018-08-17 10:42:45 -07: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
install-sysroot.py Update sysroot to Debian Stretch 2018-02-23 10:21:24 +09:00
lint.js feat: use run-clang-format in cc --fix mode 2018-09-19 08:42:03 -05:00
merge-electron-checksums.py Do not put the upload logic in make_zip 2016-08-01 21:16:16 +09:00
patch.py chore: copy script/patch.py from the libcc repo (#14627) 2018-09-14 15:12:05 -07:00
prepare-release.js chore: dont pass --stable through to bump-version.py (#14661) 2018-09-18 23:32:49 +10:00
publish-to-npm.js chore: update to standard 12 2018-09-14 14:57:01 +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
rebuild-test-modules.py fix: update for node 10 2018-07-19 13:18:10 -04:00
release-artifact-cleanup.js chore: pass tag correctly for bump commit reversion (#14444) 2018-09-04 08:54:53 -07:00
release.js chore: update to standard 12 2018-09-14 14:57:01 +10:00
run-clang-format.py fix: add shell = True to make clang-format work on Windows (#14121) 2018-09-07 09:49:43 +10:00
serve-node-headers.py Enable easy rebuild of native modules for unreleased electron (#12217) 2018-03-14 12:59:18 +09:00
spec-runner.js chore: fix python lint warnings (#14638) 2018-09-16 12:24:07 -05:00
start.js chore: update package.json scripts for gn build and automated releases (#14612) 2018-09-14 02:57:39 +10:00
sysroots.json Update sysroot images to fix linking error 2018-02-23 10:21:24 +09:00
test.py chore: fix python lint warnings (#14638) 2018-09-16 12:24:07 -05:00
tls.py chore: update package.json scripts for gn build and automated releases (#14612) 2018-09-14 02:57:39 +10:00
update-external-binaries.py build: use electron-frameworks sccache (#14171) 2018-08-21 15:40:06 -04:00
upload-index-json.py chore: retry for the meta dumper a few times (#14241) 2018-08-21 13:29:44 -07:00
upload-node-checksums.py chore: fix python lint warnings (#14638) 2018-09-16 12:24:07 -05:00
upload-node-headers.py Build spec modules against locally generated node headers tarball 2017-05-02 10:14:49 -07:00
upload-symbols.py Update upload symbols script for posix 2018-05-23 23:16:03 -07:00
upload-to-github.js chore: update to standard 12 2018-09-14 14:57:01 +10:00
upload.py chore: fix python lint warnings (#14638) 2018-09-16 12:24:07 -05:00
verify-ffmpeg.py chore: fix pylint errors 2018-09-11 14:53:23 +02: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