gecko-dev/services/blocklists
Margareta Eliza Balazs 895a18e365 Backed out changeset be23dc007b53 (bug 1451050) for bustage [automation/package] Error 2 on a CLOSED TREE
--HG--
rename : services/settings/dumps/blocklists/addons.json => services/blocklists/addons.json
rename : services/settings/dumps/blocklists/certificates.json => services/blocklists/certificates.json
rename : services/settings/dumps/blocklists/gfx.json => services/blocklists/gfx.json
rename : services/settings/dumps/moz.build => services/blocklists/moz.build
rename : services/settings/dumps/pinning/pins.json => services/blocklists/pins.json
rename : services/settings/dumps/blocklists/plugins.json => services/blocklists/plugins.json
rename : services/settings/dumps/readme.md => services/blocklists/readme.md
2018-05-16 13:24:53 +03:00
..
addons.json Backed out changeset be23dc007b53 (bug 1451050) for bustage [automation/package] Error 2 on a CLOSED TREE 2018-05-16 13:24:53 +03:00
certificates.json Backed out changeset be23dc007b53 (bug 1451050) for bustage [automation/package] Error 2 on a CLOSED TREE 2018-05-16 13:24:53 +03:00
gfx.json Backed out changeset be23dc007b53 (bug 1451050) for bustage [automation/package] Error 2 on a CLOSED TREE 2018-05-16 13:24:53 +03:00
moz.build Backed out changeset be23dc007b53 (bug 1451050) for bustage [automation/package] Error 2 on a CLOSED TREE 2018-05-16 13:24:53 +03:00
pins.json Backed out changeset be23dc007b53 (bug 1451050) for bustage [automation/package] Error 2 on a CLOSED TREE 2018-05-16 13:24:53 +03:00
plugins.json Backed out changeset be23dc007b53 (bug 1451050) for bustage [automation/package] Error 2 on a CLOSED TREE 2018-05-16 13:24:53 +03:00
readme.md Backed out changeset be23dc007b53 (bug 1451050) for bustage [automation/package] Error 2 on a CLOSED TREE 2018-05-16 13:24:53 +03:00

readme.md

Blocklist

The blocklist entries are synchronized locally from the Firefox Settings service.

https://firefox.settings.services.mozilla.com

In order to reduce the amount of data to be downloaded on first synchronization, a JSON dump from the records present on the remote server is shipped with the release.

How to update the JSON files ?

Even though it is not a problem if the dumps are not up-to-date when shipped, here are the commands to update them:

SERVICE_URL="https://firefox.settings.services.mozilla.com/v1"

curl "$SERVICE_URL/buckets/blocklists/collections/certificates/records?"  > services/blocklists/certificates.json
curl "$SERVICE_URL/buckets/blocklists/collections/gfx/records?"  > services/blocklists/gfx.json
curl "$SERVICE_URL/buckets/blocklists/collections/plugins/records?"  > services/blocklists/plugins.json
curl "$SERVICE_URL/buckets/blocklists/collections/addons/records?"  > services/blocklists/addons.json

curl "$SERVICE_URL/buckets/pinning/collections/pins/records?"  > services/blocklists/pins.json

TODO

  • Setup a bot to update it regularly.