Opened on 02/08/2018 at 04:32:39 PM
Closed on 03/22/2018 at 08:01:33 AM
#6371 closed change (fixed)
Move hosting of beta versions of Adblock Plus for Firefox back to a self-hosted solution
Reported by: | tlucas | Assignee: | tlucas |
---|---|---|---|
Priority: | P1 | Milestone: | |
Module: | Automation | Keywords: | |
Cc: | fhd, sebastian, matze, sergz | Blocked By: | |
Blocking: | #6381 | Platform: | Unknown / Cross platform |
Ready: | yes | Confidential: | no |
Tester: | Unknown | Verified working: | no |
Review URL(s): |
Description (last modified by tlucas)
Background
Mozilla removes the feature to host beta versions of extensions @ AMO, the currently aimed deployment of this change happens on Feb 22nd '18.
We currently use this feature and have to adapt to continue providing beta versions for our users. Extensions STILL need to be signed by AMO, in order to be installable in Firefox.
What to change
- Change createNightlies.py in abpssembly to:
- upload nightly builds to the AMO (this step is already implemented)
- download the auto-signed extension
- let these auto-signed packages be available on our own downloads-page (similar to https://downloads.adblockplus.org/devbuilds/adblockpluschrome/ ), i.e. https://downloads.adblockplus.org/devbuilds/adblockplusfirefox/
Resources for the aforementioned processes:
https://developer.mozilla.org/en-US/Add-ons/Distribution
http://addons-server.readthedocs.io/en/latest/topics/api/signing.html
- change createNightlies.py in abpssembly to create and update an update-manifest https://downloads.adblockplus.org/devbuilds/adblockplusfirefox/updates.json for Adblock Plus for Firefox, always pointing to the latest version in https://downloads.adblockplus.org/devbuilds/adblockplusfirefox/, adhering to the following format:
{ "addons": { "devbuild@adblockplus.org": { "updates": [ {"version": "<LATEST_VERSION>", "update_link": "<DOWNLOAD_LINK>" } ] } } }
Update the buildtools dependency to:
mercurial | git |
c830dfa08e2f | 3a925dd |
Included changes in buildtools
The list of changes imported by this is:
8ed981af2b75 | Noissue - Drop support for Firefox 50 | Manish Jethani |
79688f4a4aff | Noissue - Make comparable_xml safe against ambiguous tags | Tristan Lucas |
Hints for testers
createNightlies should - besides the build-target gecko behave as before.
Note
This issue circular dependent on #6453
Attachments (0)
Change History (17)
comment:1 Changed on 02/09/2018 at 10:31:23 AM by sebastian
comment:2 Changed on 02/09/2018 at 10:55:06 AM by fhd
Note that that's exactly how we currently distribute the Flattr extension, here's the relevant code: https://github.com/flattr/flattr-extension/blob/master/build/amo-upload.js
comment:3 Changed on 02/12/2018 at 09:38:15 AM by tlucas
- Description modified (diff)
- Summary changed from Move hosting of beta versions of Adblock Plus for Firefox back to an on-premises solution to Move hosting of beta versions of Adblock Plus for Firefox back to a self-hosted solution
comment:4 Changed on 02/12/2018 at 10:06:52 AM by tlucas
- Owner set to tlucas
- Priority changed from Unknown to P1
- Ready set
comment:5 Changed on 02/12/2018 at 10:07:23 AM by tlucas
- Cc fhd sebastian matze added
comment:6 Changed on 02/12/2018 at 10:39:45 AM by sergz
- Cc sergz added
I saw in IRC that it could be eyeofiles for which a couple of projects are awaiting the configuration (basically proper securing of the server) for CI uploading, so I have added myself to CC to be aware if there is some progress in that direction.
comment:8 Changed on 02/13/2018 at 12:16:46 PM by tlucas
- Blocking 6381 added
comment:9 Changed on 02/13/2018 at 03:28:25 PM by tlucas
- Blocking 6383 added
comment:10 Changed on 02/13/2018 at 03:59:09 PM by tlucas
- Description modified (diff)
comment:11 Changed on 02/14/2018 at 11:30:53 AM by tlucas
- Blocking 6383 removed
comment:12 Changed on 02/15/2018 at 12:51:34 PM by tlucas
For reference:
comment:13 Changed on 03/07/2018 at 09:00:51 PM by tlucas
- Description modified (diff)
comment:14 Changed on 03/07/2018 at 10:00:49 PM by tlucas
- Description modified (diff)
comment:15 Changed on 03/07/2018 at 10:14:38 PM by tlucas
- Review URL(s) modified (diff)
- Status changed from new to reviewing
comment:16 Changed on 03/21/2018 at 11:53:12 PM by abpbot
A commit referencing this issue has landed:
Issue 6371 - Update buildtools dep. to c830dfa08e2f, use AMO-signing API
comment:17 Changed on 03/22/2018 at 08:01:33 AM by tlucas
- Resolution set to fixed
- Status changed from reviewing to closed
You cannot have unlisted extensions on AMO. I think the way to go is self-distributing the development builds (after having them signed by AMO). This is also what Mozilla seems to recommend.