Addons-server: Use alphabetical order for platform identifiers in per-version addon downloads

Created on 29 Aug 2016  路  11Comments  路  Source: mozilla/addons-server

_originally posted to https://github.com/mozilla/addons-frontend/issues/996 by @polyzen_

https://addons.mozilla.org/firefox/downloads/file/492123/ublock_origin-1.9.2-fx+sm+tb+an.xpi

The order of the "platform identifiers" change every release. If you remove anything from the last slash onward, it downloads the latest version.

Many addons are packaged for global installation in Arch Linux (eg. see here). If we source from AMO, we have to match the new, random order every release, which is quite monotonous.

If they could be made to follow alphabetical (or any) order going forward, that would be extremely appreciated.

Edit: Well, apparently not every release.

good first bug verified fixed

All 11 comments

(eg. see here)*

Thank you again.

Mentor: @kumar303

Please refer to https://wiki.mozilla.org/Add-ons/Contribute if this is your first contribution.

If you want to work on this issue and need more information on how or where to fix it, please comment here and we will be happy to provide more details.

Can I work on this issue?

You don't need to ask for permission. You can start right away and submit a PR or ask questions here if anything is unclear. :)

@Prashant-Surya are you working on this bug? or should I create new PR?

@lavish205 I'm working on this

Verified as fixed on AMO-dev FF49(Win 7)
Postfix screenshots:
2016-10-06_0937

@Prashant-Surya : is this the correct place I should check for fixing the alphabetical platform order?
Hope so. :)

@ValentinaPC I think it is correct place.

It missed the tag by a day, so no, it hasn't been deployed to prod yet, only dev. It will land on prod next Thursday around noon PST.

Was this page helpful?
0 / 5 - 0 ratings