155 Commits

Author SHA1 Message Date
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
Eloston
cce465137f devutils: Verify --bundle paths exist in *_patches.py 2018-08-19 18:37:54 -07:00
Eloston
f65f64c43e devutils.update_patches: Allow updating specific bundles 2018-08-19 15:40:39 -07:00
Eloston
29c3cf7c88 devutils: Fix bugs with update_lists.py 2018-08-19 12:26:26 -07:00
Eloston
20befcf7a7 devutils: Add -v option to validate_patches.py 2018-08-17 11:12:27 -07:00
Eloston
8c5aedea03 devutils.update_lists: Add exclusions for VS project generation
Fixes #445
2018-08-16 00:14:03 -07:00
Eloston
6168e44a50 Add Cirrus CI config 2018-08-15 23:06:56 -07:00
Eloston
4e13d8a15e devutils/validate_patches.py: Add -b flag to verify specific bundles 2018-08-15 14:32:33 -07:00
Eloston
c6dfcf5fec devutils: Add update_patches.py and update set_quilt_vars.sh 2018-08-15 14:03:02 -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
Eloston
617ed253a6 Fix typos in buildkit and validate_config.py 2018-08-09 23:29:30 -07:00
Eloston
9d3176c5a1 Update list updating instructions 2018-08-05 12:52:13 -07:00
Eloston
c1e5773b32 Update existing devutils to new buildkit 2018-08-04 22:04:00 -07:00