libchromiumcontent/script
Robo 65e44d0b8a build: [gyp] cdm key system support behind flag (#671) 2018-09-04 10:40:37 +02:00
..
lib build: clean up git related scripts (#663) 2018-08-31 17:41:57 +02:00
README.md Add README.md for the scripts 2018-05-25 17:16:16 +02:00
apply-patches build: add optional --project-root arg for the patching related scripts (#653) 2018-08-16 14:11:33 -07:00
bootstrap Do not install PyYAML on bootstrap (#500) 2018-03-29 08:35:09 -05:00
build Merge pull request #535 from electron/disable-mksnapshot-build-all 2018-05-09 10:37:49 -04:00
build-clang.py Customized build clang scripts for arm64/armv7 2018-03-21 13:31:21 -04:00
cibuild Fix package source error 2018-06-11 11:07:28 +02:00
cibuild-libchromiumcontent-linux Switch to `tar.bz2` for distribution package (#445) 2018-02-05 21:28:30 -06:00
cibuild-libchromiumcontent-linux-arm Split up linux CI jobs 2017-01-04 09:26:24 -08:00
cibuild-libchromiumcontent-linux-arm64 Add cibuild for arm64 2017-05-18 16:57:46 +09:00
cibuild-libchromiumcontent-linux-ia32 Split up linux CI jobs 2017-01-04 09:26:24 -08:00
cibuild-libchromiumcontent-linux-mips64el Add mips64el target in circleci 2017-11-21 14:50:29 +09:00
cibuild-libchromiumcontent-linux-x64 Split up linux CI jobs 2017-01-04 09:26:24 -08:00
cibuild.ps1 Update run_tests to generate xml reports for CI (#530) 2018-05-01 14:29:56 -05:00
create-dist build: [gyp] cdm key system support behind flag (#671) 2018-09-04 10:40:37 +02:00
disabled-tests.yaml Update disabled tests (#527) 2018-04-22 09:28:37 -07:00
docker-install-build-deps.sh Tweak build deps installer 2017-08-15 17:53:38 +03:00
download Fix static download 2018-07-16 12:36:59 -04:00
get-patch Add options to save patch contents to a file to the "get-patch" script 2018-05-25 17:15:44 +02:00
package-clang.py Customized build clang scripts for arm64/armv7 2018-03-21 13:31:21 -04:00
patch.py build: clean up git related scripts (#663) 2018-08-31 17:41:57 +02:00
run-gn Only show download stats when verbose is used. 2018-07-13 13:40:31 -04:00
run_tests Update run_tests to generate xml reports for CI (#530) 2018-05-01 14:29:56 -05:00
sccache Refactor script/sccache 2018-07-27 13:50:11 -07:00
update Only show download stats when verbose is used. 2018-07-13 13:40:31 -04:00
upload Use packaged chromium source for CI 2018-05-09 12:30:06 -04:00

README.md

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