Skip to main content
https://img.shields.io/travis/mozilla-services/kinto-amo/master.svg https://img.shields.io/pypi/v/kinto-amo.svg https://coveralls.io/repos/mozilla-services/kinto-amo/badge.svg?branch=master

Return an XML views of the blocklists buckets compatible with the previous AMO one.

Install

pip install kinto-amo

Setup

In the Kinto project settings

kinto.includes = kinto_amo

# kinto.amo.addons = /buckets/blocklists/collections/addons
# kinto.amo.plugins = /buckets/blocklists/collections/plugins
# kinto.amo.gfx = /buckets/blocklists/collections/gfx
# kinto.amo.certificates = /buckets/blocklists/collections/certificates

You can setup other blocklists for preview for instance using a prefix:

kinto.includes = kinto_amo

kinto.amo.preview.addons = /buckets/blocklists-preview/collections/addons
kinto.amo.preview.plugins = /buckets/blocklists-preview/collections/plugins
kinto.amo.preview.gfx = /buckets/blocklists-preview/collections/gfx
kinto.amo.preview.certificates = /buckets/blocklists-preview/collections/certificates

kinto.amo.staging.addons = /buckets/staging/collections/addons
kinto.amo.staging.plugins = /buckets/staging/collections/plugins
kinto.amo.staging.gfx = /buckets/staging/collections/gfx
kinto.amo.staging.certificates = /buckets/staging/collections/certificates

You can then access their blocklist from the prefixed URL:

  • /v1/blocklist/3/{3550f703-e582-4d05-9a08-453d09bdfdc6}/47.0/

  • /v1/preview/3/{3550f703-e582-4d05-9a08-453d09bdfdc6}/47.0/

  • /v1/staging/3/{3550f703-e582-4d05-9a08-453d09bdfdc6}/47.0/

CHANGELOG

1.0.1 (2018-02-08)

Bug fixes

  • Fix last update / last modified of blocklist XML endpoint (fixes #25)

1.0.0 (2018-02-07)

  • Pass application ID and version to amo2kinto code when generating blocklist.xml. (#23)

0.4.0 (2017-07-05)

New features

  • Add support for cache control headers (If-None-Match and If-Modified-Since) (fixes #21)

0.3.0 (2016-10-27)

  • Add the plugin version in the capability. (#15)

  • Enable creation of preview XML files from other collections. (#18)

0.2.0 (2016-05-19)

  • Update to kinto.core for compatibility with Kinto 3.0. This release is no longer compatible with Kinto < 3.0, please upgrade!

0.1.1 (2016-05-06)

  • Missing commit in previous release.

0.1.0 (2016-05-06)

New features

  • Supports metrics in the URL (#6)

  • Add a view to render the XML Blocklists file in versions 1, 2 and 3 (#3)

Release files for kinto-amo 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kinto-amo 1.0.1
File Size Uploaded
kinto-amo-1.0.1.tar.gz 14.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for kinto-amo 1.0.1
File Interpreter ABI Platform
kinto_amo-1.0.1-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 27.7 kB

Release files / kinto-amo-1.0.1.tar.gz

Download URL kinto-amo-1.0.1.tar.gz
Size 14.6 kB
Tags Source
SHA-256 checksum
How to use checksums
5601bc1f0d8c71f12b89862d3c82bcca4380b3fec8824919b01b6e52bbed6d69
BLAKE2b-256 checksum
How to use checksums
c0991376dfeabf28c9899a158f2d0d2799350c6ed8888a834b2202327b3e4975
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / kinto_amo-1.0.1-py2.py3-none-any.whl

Download URL kinto_amo-1.0.1-py2.py3-none-any.whl
Size 13.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
cb8520bbbba0df6413350f03c048afacb0922f73c02804e89ceccc45d1ed4e5b
BLAKE2b-256 checksum
How to use checksums
26fa0ec2acdf37136783828e49d5fadfee50eabc790c88a792e55452b96c4707
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page