mozilla / cookie-banner-rules-list

Rules List for how Firefox's Automated Cookie Banner Preference Manager is to interact with banners on a site by site basis
Mozilla Public License 2.0
123 stars 25 forks source link

Consider moving rules into individual files #44

Open Trikolon opened 1 year ago

Trikolon commented 1 year ago

Currently the entire rule list is in one big JSON file. Moving rules to individual files would make reviewing and handling rules easier. This would require updating our sync-script and our validation CI.

artines1 commented 1 year ago

How do we divide the giant JSON file? I would imagine that we separate rules by Domains or CMPs and each domain or CMP will have one dedicated file.

cboozar commented 1 year ago

I fear this might actually cause more issues because the sync script has to manually call and read the rules file. This approach would mean we need a batch way to get all rules or we would need to ping the repo over 1000 times a night which means we could get individual rules not loading or get flagged for repeatedly hitting github

Trikolon commented 1 year ago

It could simply clone the repo at that tag. The only info we need from the API is the latest tag.

woheller69 commented 8 months ago

I am using the rules list also in my FREE Browser (https://github.com/woheller69/browser) which ia available on F-Droid Banner blocking works great !

The big json is quite convenient. Just one download from a fixed URL... So if files are split for better maintenance - maybe the file with all rules could still be compiled by GitHub actions?