Commit Graph

43 Commits

Author SHA1 Message Date
wukko
56d91da258 merge: update to ungoogled-chromium 138.0.7204.100 2025-07-10 22:20:03 +06:00
Blaise
d945d574c6 Update CI config, scripts, and docs for python 3.10 2025-07-10 06:49:41 -05:00
jj
4010387eab repo: add ungoogled-chromium license to root 2025-05-31 11:51:48 +00:00
Blaise
75654057f1 Reformat scripts for new yapf 2024-03-31 10:01:46 -05:00
Blaise
9612a45449 Remove newlines from added file lines
New files created by a patch were being read in with newline characters
causing any patches that then change the new file to fail validation.
2020-11-23 10:54:02 -06:00
Eloston
7ccefb672e devutils/validate_patches.py: Add --dry-run to verbose error
Fixes #957
2020-03-07 20:39:37 -08:00
Eloston
e2fae994d7 devutils/validate_patches.py: Actually fix pylint warning 2020-01-19 17:53:01 -08:00
Eloston
4b60dbd744 devutils/validate_patches.py: Fix pylint warning 2020-01-19 17:31:51 -08:00
Eloston
b00c9debc3 devutils/validate_patches.py: State patches total on passing validation 2020-01-19 15:33:08 -08:00
wchen342
744b38c9b1 Move setting function to Action class; make verbose, quiet and log-level exclusive
Fix arg confliction

pylint fix

pylint fix

Move setting function to Action class; make verbose, quiet and log-level exclusive
2019-09-28 22:09:01 -04:00
wchen342
48509f38af Fix a bug in validate_patches.py 2019-09-27 22:20:18 -04:00
Eloston
43ec829d19 devutils/validate_patches.py: Use relative patches/ paths by default 2019-05-09 10:12:25 -07:00
Eloston
2862f26286 devutils/validate_patches.py: Add check for patch file ending in newline 2019-04-29 23:50:20 -07:00
Eloston
5f81f45764 Allow comments in series file
Closes #727
2019-04-11 21:40:41 -07:00
Eloston
4288821e44 devutils/validate_patches.py: Fix unknown encoding for local file check 2019-03-10 00:33:40 -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
6c4303e603 Update copyright and WIP updating of devutils 2019-01-25 10:10:48 -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
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
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