26 Commits

Author SHA1 Message Date
jj
b0f30bffcf downloads: implement cross-platform unzips 2025-09-21 17:25:34 +00:00
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
0bde311580 Consolidate contingent paths in prune_binaries.py
Handles the differences between full tarball, lite tarball, and cloned sources.
Removes the skip_unused and sysroot flags from _extraction.py and downloads.py.
2025-02-27 14:43:55 -06:00
Life'sMinder
86807d06c9 Improvements in hash checking in downloads.py (#3045) 2024-10-14 12:51:33 -05:00
Daniel Richard G.
6b9ef5113a Enhancements to downloads.py and filescfg.py (#3034) 2024-10-07 07:46:44 -05:00
Blaise
9c596f2c4d Add script flags to exempt a sysroot from pruning 2024-07-29 06:26:19 -05:00
Blaise
88fc9a108b Ajust scripts for new python and pylint 2024-03-31 10:01:52 -05:00
Blaise
75654057f1 Reformat scripts for new yapf 2024-03-31 10:01:46 -05:00
Blaise
30b6f0f4e8 New unpack arg to skip unused dirs 2023-10-07 11:52:51 -05:00
Blaise
d6a21fa4ad Add script to clone source tree 2023-06-12 15:20:21 +03:00
shubhendra
bf7684096e Use sys.exit() calls
Signed-off-by: shubhendra <withshubh@gmail.com>
2021-03-21 02:30:58 +05:30
shubhendra
cb89aa5a5e Use literal syntax instead of function calls to create data structure
Signed-off-by: shubhendra <withshubh@gmail.com>
2021-03-21 02:30:58 +05:30
Eloston
e420b03bcc utils/downloads.py: Remove axel downloader
When downloading the official Chromium tar file, axel is no longer able
to parallelize the connections nor detect the filesize. It is likely
Google added a specific rule for axel since curl and Chromium work
normally. While it is possible to circumvent this rule, Google might
have imposed it to reduce spikes of heavy load on their servers. We
should respect this and just use curl instead, which only uses one
connection and has the ability to resume interrupted downloads.
2020-08-24 21:36:18 -07:00
Eloston
0dc89fea82 utils/downloads.py: Support axel and curl, and download resumption
Downloading resumption is done by downloading files with ".partial"
extensions, then renaming them after they're done.

The urllib downloader should probably be replaced with requests, but the
CLI downloaders are better anyway. Also, support for aria2 and wget is
missing.

Fixes #996
2020-06-14 22:15:35 -07:00
Eloston
9a61cbb699 utils/downloads.py: Add debug message for retrieval URL
The downloader does not handle network interruptions well (e.g. a
connection can hang indefinitely and the downloader will not terminate).
This message makes it easier to manually download it using a more
advanced downloader like axel, which supports parallel downloading and
download resumption.
2020-04-11 12:10:31 -07:00
Albert Tang
dea13af720 Fix code check 2020-04-01 09:51:10 -05:00
Albert Tang
db247831c8 Add WinRAR support 2020-03-12 18:20:39 -05: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
211c49ee37 Add common flags; allow change of logging level 2019-09-27 22:04:06 -04: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
6905a8c13f WIP splitting of buildkit 2019-01-18 17:05:24 -08:00
Eloston
1a7a3ff994 Rearrange files for buildkit deprecation 2019-01-18 14:41:46 -08:00