ungoogled-software / ungoogled-chromium

Google Chromium, sans integration with Google
BSD 3-Clause "New" or "Revised" License
20.8k stars 844 forks source link

Enhancements to downloads.py and filescfg.py #3034

Closed iskunk closed 1 month ago

iskunk commented 2 months ago

This is a byproduct of my work on the Windows cross build.

utils/downloads.py

utils/filescfg.py

The changes to this script will be used in a PR update to package.py that I will submit shortly.

iskunk commented 2 months ago

I fixed most of the issues flagged by code_check, save for the "Too many arguments" on unpack_downloads(). Not sure what can be done there, without more invasive refactoring.

Ahrotahn commented 2 months ago

We'll need to break up unpack_downloads() into smaller parts eventually, but for now you could bump the max-args to seven here.

iskunk commented 2 months ago

We'll need to break up unpack_downloads() into smaller parts eventually, but for now you could bump the max-args to seven here.

Thanks, I've included that edit in my commit. (I tried to see if I could get away with a comment directive, but couldn't get pylint working locally to try it out.)

iskunk commented 1 month ago

Thanks everyone! This clears the way for ungoogled-software/ungoogled-chromium-windows#383.