Commit Graph

69 Commits

Author SHA1 Message Date
Eloston
39dceb86e0 devutils/update_platform_patches.py: Fix extra newline in series 2019-04-11 23:28:36 -07:00
Eloston
55c9945bad Fix bugs with comments in series files 2019-04-11 22:00:26 -07:00
Eloston
5f81f45764 Allow comments in series file
Closes #727
2019-04-11 21:40:41 -07:00
Eloston
c67fab7c40 Add devutils/print_tag_version.sh 2019-03-25 11:37:18 -07:00
Eloston
9e8eec4dd3 devutils: Add update_platform_patches.py 2019-03-21 20:15:27 -07:00
Eloston
7009352442 devutils: Split up validate_config.py into standalone scripts
This allows platform-specific repos to use the scripts in their own CI
checks of their config files for utilities under utils/
2019-03-16 14:13:15 -07:00
Eloston
93a60950b2 devutils: Implement faster list checking for CI 2019-03-10 15:13:57 -07:00
Eloston
6b5c827589 devutils/update_lists.py: More fixes to merge mistakes 2019-03-10 14:23:11 -07:00
Eloston
22772a79d5 devutils/update_lists.py: Fix merge mistakes 2019-03-10 13:50:12 -07:00
Eloston
4288821e44 devutils/validate_patches.py: Fix unknown encoding for local file check 2019-03-10 00:33:40 -08:00
Eloston
fe8212c2ba Attempt to fix CI checks via Dockerfile 2019-03-10 00:11:08 -08:00
Eloston
a339f4804f Attempt to fix CI checks (2) 2019-03-10 00:01:36 -08:00
Eloston
1003bd6504 Update comments referencing buildkit to something else 2019-03-09 23:52:38 -08:00
Eloston
32edb78cde devutils: Update validate_patches.py and minor fixes 2019-03-09 23:31:54 -08:00
Eloston
94d92dde99 Various improvements ito devutils 2019-02-17 19:23:11 -08:00
Eloston
9c51cecf2c utils: Fix pylint errors and related devutils 2019-02-17 15:04:53 -08:00
Eloston
6c4303e603 Update copyright and WIP updating of devutils 2019-01-25 10:10:48 -08:00
Eloston
1a7a3ff994 Rearrange files for buildkit deprecation 2019-01-18 14:41:46 -08:00
Eloston
f27820bd16 devutils/update_lists.py: Remove unused pruning exclusion entry 2018-12-12 17:23:25 -08:00
Eloston
67c2ec370d devutils: Remove unnecessary pass statement for pylint 2018-11-29 09:15:35 -08:00
Eloston
a3c8a670cd devutils/validate_patches.py: Increase backoff factor to 8 2018-11-23 17:41:50 -08:00
Eloston
cbcb2ba7ac devutils/validate_patches: Increase backoff factor 2018-11-23 17:33:52 -08:00
Eloston
664a185ef5 devutils/sync_debian_repo: Fix logging output 2018-11-22 18:09:54 -08:00
Eloston
5ce2430f89 devutils/sync_debian_repo: Minor fixes 2018-11-20 21:22:46 -08:00
Eloston
e253671fd5 devutils: Finish sync_debian_repo.py 2018-11-19 22:09:54 -08:00
Eloston
5ebc2f3685 devutils: Add WIP sync_debian_repo.py 2018-11-19 19:39:13 -08:00
Eloston
a247b6537b devutils/validate_patches.py: Increase HTTP request backoff factor to 2 2018-10-25 19:03:37 -07:00
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
xsmile
03494c708c devutils/update_lists: Add .gn, .gni build files to domain substitution 2018-09-28 20:11:26 +02: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
a0d0b9bbdd Remove third_party/analytics
Fixes #495
2018-09-11 22:24:33 -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
5203df2e1e devutils/update_lists: Remove obsolete patterns 2018-09-04 19:41:05 -07:00
Eloston
06e1af9cc0 devutils/update_lists: Notify user about unused patterns/prefixes 2018-09-04 16:11:19 -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
821a4414a8 devutils: Set default output path for generate_patch_order.py 2018-08-26 15:08:38 -07:00
Eloston
8545f0e6c8 Exclude tab ranking example preprocessing config from binary pruning
This is a runtime optimization for when system memory is low to choose
certain tabs to unload from system memory.

Tab Ranker details: chrome/browser/resource_coordinator/tab_ranker/README.md
2018-08-20 09:33:17 -07:00
Eloston
c3a5bb0069 Exclude default clang AFDO sample profile from binary pruning
It is a profile-guided optimization used on Desktop Linux and Android on
official builds with clang.

More information here: https://clang.llvm.org/docs/UsersManual.html#sample-profile-formats
2018-08-19 22:34:18 -07:00