Conversation
…utions Note: Python 3 is now a required dependency
|
|
It used to be much bigger (~92MB) because it included tests, I have excluded them since then.
Yes, I even started to upstream them in https://github.com/wchen342/ungoogled-chromium-android I could release them but I also modified the script, see ungoogled-software/ungoogled-chromium#1026 So the patch is the most convenient way for now. The rejections and patch issues are there simply because I have uncommitted changes due to text replacements (Chromium -> Bromite); I have now started creating the patch (see bromite/bromite@4c4dd71) before applying the text replacements so there should not be anymore issues with this patch as it will be equal to any other. |
|
Thanks for the input @csagan5! I'll leave this open and revisit after a few more releases. |
…allback Always attempt to use `Automated-domain-substituion.patch` first, but if it fails automatically fallback to Ungoogled's utility
|
Merging this PR after revising the initial feature. We'll only use Ungoogled's domain substition utility as a fallback when |
|
@nikolowry some bugs can be introduced when applying the default lists because not all files are skipped. Another common reason for failure to apply has been the Chromium version, I have thought to put that in some file perhaps to avoid using tags alone. |
|
@csagan5 understood on bug possibilities -- I'll keep an eye on it and add a way to opt out of the fallback. Love the idea of a |
|
FYI I have added the version file a couple weeks ago as |
|
@csagan5 dope! I'll be looking in to how I can integrate that into |
@csagan5 the
Automated-domain-substitutions.patchpatch file has the potential of being a source of constant failures -- it's a lot to manage, especially when just one hunk of its 4mb contents could cause rejections.So this branch was created to explore using ungoogled-chromium's
domain_substitution.pyto dynamically apply the substitutions before builds.Do you use a custom
domain_regex.listordomain_substitution.list? If you do, is there anyway you'd be able to start checking those in?I might revert this feature (or turn this into a user option), if the next few releases the patch applies cleanly.
If you don't feel like maintaining such a patch file, there's always other routes you could take in the Bromite repo:
READMEexplaining how to use ungoogled-chromium'sdomain-substitution.pywhen building locallyutils/domain-substitution.py,domain_regex.listanddomain_substitution.listThanks in advance for any insights!