Commit Graph

22 Commits

Author SHA1 Message Date
Eloston 0731a02fcf devutils/validate_patches.py: Increase backoff factor to reduce attempts 2018-10-17 13:21:54 -07:00
Eloston c92be611ed devutils/validate_patches.py: Fix typo in HTTPResponse property 2018-10-17 13:17:47 -07:00
Eloston d6c35a7e19 devutils/validate_patches.py: Retry on failed requests 2018-10-17 13:04:11 -07:00
Eloston c2870d2295 devutils/validate_patches.py: Attempt to fix obscure bug
There was a CI job that failed due to being unable to find the fallback
repo for tools/gn/build/gen.py, even though the commit did not change
the Chromium source tree or any patches config. The previous and
following commits also did not have any error.

After a through review, I could not identify any logical errors in the
code. This is a far-fetched guess, but perhaps there is some hash
instability in Python 3.5?

See https://cirrus-ci.com/task/5744818110070784 for the failing CI job
in question.
2018-09-18 23:48:23 -07:00
Eloston ec62491584 devutils/validate_patches.py: Tweak message about outdated patches 2018-09-18 23:08:35 -07:00
Eloston 86752c05b8 devutils: Clarify --remote and --local requirements
Closes #507
2018-09-17 10:58:01 -07:00
Eloston 3cd13a33d4 devutils: Clarify messages for patches_outdated marking 2018-09-17 10:41:49 -07:00
Eloston e2e8eb8ef2 devutils: Tweak output of validate_patches for readability 2018-09-15 11:27:24 -07:00
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