Commit Graph

14 Commits

Author SHA1 Message Date
Eloston 024c0032a4 devutils/validate_patches: Tweak verbose flag hint message 2018-09-05 16:57:56 -07:00
Eloston 1b53b69f28 devutils/validate_patches: Remove unnecessary assert 2018-09-05 16:32:09 -07:00
Eloston da719778ad devutils/validate_patches: Ignore empty and "no newline" patch lines 2018-09-05 16:29:00 -07:00
Eloston 2bb456b315 devutils: Make {update,validate}_patches.py output more readable 2018-09-04 23:02:20 -07:00
Eloston 875430af59 devutils/validate_patches: Allow skipping of missing local files 2018-09-04 15:58:02 -07:00
Eloston db11c83809 devutils/validate_patches.py: Auto-determine GN version
Because there seems to be no reference to the logic for generating the
chromium-browser-official tar file, it's possible that it is being generated
by an internal script that manually injects the GN repository files.
Therefore, assume that the GN version used in the chromium-browser-official tar
files correspond to the latest commit in the master branch of the GN repository
at the time of the tar file's generation. We can get an approximation for the
generation time by using the last modification date of the tar file on
Google's file server.
2018-08-30 14:02:30 -07:00
Eloston 443efb0da8 devutils: Add fallback repos for remotely downloaded files
This is used to retrieve files for GN since they're embedded into the
chromium-browser-official tar file without using the DEPS mechanism.
2018-08-30 00:17:11 -07:00
Eloston b970d277d8 Add optional patches_outdated key to bundlemeta.ini
This is used by validate_patches.py to ignore bundles that are known to
be outdated, allowing the patch validation status check to signify if the
updated bundles have any regressions (or the outdated bundles were
updated, but the bundlemeta wasn't fixed).
2018-08-29 12:06:35 -07:00
Eloston cce465137f devutils: Verify --bundle paths exist in *_patches.py 2018-08-19 18:37:54 -07:00
Eloston 20befcf7a7 devutils: Add -v option to validate_patches.py 2018-08-17 11:12:27 -07:00
Eloston 4e13d8a15e devutils/validate_patches.py: Add -b flag to verify specific bundles 2018-08-15 14:32:33 -07:00
Eloston 14dacd4718 devutils/validate_patches.py: Preserve newline at EOF 2018-08-15 14:01:53 -07:00
Eloston 25501fb38d devutils: Tweak and fix bugs in validate_patches.py 2018-08-15 11:11:40 -07:00
Eloston b49bda4b7b devutils: add validate_patches.py
This is the most sophisticated Python code for ungoogled-chromium thus far, and perhaps for a long while.
2018-08-12 16:36:19 -07:00