electron/script/lib
Charles Kerr b253d52faf
build: export matching patches (#41174)
* build: make patches/config.json an array of objects

This file was previously an object of patch_dir keys to repo values;
Now is an array of objects containing `patch_dir` and `repo` properties.
This makes other per-target properties (e.g. `grep`) possible.

* build: include Note metadata when exporting patches

* build: support keyword filtering in export_patches()

* build: add optional `--grep` arg to git-export-patches script

* build: update export_all_patches to understand new config file

* fixup! build: update export_all_patches to understand new config file

chore: make lint happy

* fixup! build: make patches/config.json an array of objects

chore: fix oops

* refactor: remove support for the old file format

There is more code using config.json than I thought, so the
effort-to-reward of supporting the old format is not worth it.

* build: update apply_all_patches to understand new config file

* build: update lint.js to understand new config file

* build: update patches-mtime-cache.py to understand new config file

* fixup! build: update apply_all_patches to understand new config file

fix: oops

* fixup! build: update apply_all_patches to understand new config file

fix minor syntax wart

* fixup! build: support keyword filtering in export_patches()

refactor: use idiomatic python

* refactor: warn if config.json has an invalid repo
2024-02-08 13:47:59 -05:00
..
__init__.py Move helper functions into a common module. 2013-06-20 22:51:58 +08:00
azput.js chore: cleanup unusued variables + enable linting (#38898) 2023-06-26 02:51:54 -07:00
config.py chore: remove py2 compatibility code (#40375) 2023-11-01 10:20:32 -04:00
electron.gitattributes build: fix path to git attributes for for patch export (#24896) 2020-08-10 07:10:15 -07:00
get-version.js build: allow overriding electron version (#39974) 2023-09-27 14:49:10 +09:00
git.py build: export matching patches (#41174) 2024-02-08 13:47:59 -05:00
native_tests.py chore: remove py2 compatibility code (#40375) 2023-11-01 10:20:32 -04:00
npm.py build: fail a build if some hooks don't succeed (#16369) 2019-01-23 11:31:14 +01:00
npx.py build: update npx.py to support npx@7 (#26662) 2020-11-23 21:26:54 -08:00
patches.py build: explicitly run scripts with python3 (#33720) 2022-04-12 13:21:55 +02:00
util.py chore: remove py2 compatibility code (#40375) 2023-11-01 10:20:32 -04:00
utils.js chore: cleanup unusued variables + enable linting (#38898) 2023-06-26 02:51:54 -07:00