Closed
Bug 1224686
Opened 9 years ago
Closed 9 years ago
Provide a management to iterate through add-ons
Categories
(addons.mozilla.org Graveyard :: Developer Pages, defect)
addons.mozilla.org Graveyard
Developer Pages
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: andy+bugzilla, Assigned: magopian)
References
Details
This will need fleshing out, but we'll need to iterate through the add-on ids provided in bug 1224443. For each add-on grab the files, run the repack script as created in bug 1224444 and then output a new file.
It would be awesome if this had an "email flag", that sent the add-on to the add-on author. With some text explaining the issue.
But first let's get the script and run it on a bunch of add-ons and have a look at the result before we email everyone.
Comment 1•9 years ago
|
||
Commits pushed to master at https://github.com/mozilla/olympia
https://github.com/mozilla/olympia/commit/12cbafc79ccf5c6798947f1150e873af2ff1066d
Iterate through the add-ons and repack them after fixing the 'let scope bustage' (bug 1224686)
https://github.com/mozilla/olympia/commit/9b0f11f3e59635343156348961f0d949522a8bb1
Merge pull request #941 from magopian/1224686-repack-addons-helpers
Iterate through the add-ons and repack them after fixing the 'let scope bustage' (bug 1224686)
Assignee | ||
Comment 2•9 years ago
|
||
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 3•9 years ago
|
||
The management command to run (it takes add-on primary keys from the database):
manage.py fix_let_scope_bustage <addon pk> <addon pk> <addon pk>...
It should replace all the "let" and "const" in the global scope of javascript files by "var". It then repackages them, bumps the version number, and re-sign them (only if they were signed).
Updated•9 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•