Closed Bug 691657 Opened 15 years ago Closed 15 years ago

Convert adddon hash calculation from PHP to Python

Categories

(addons.mozilla.org Graveyard :: Admin/Editor Tools, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Q4 2011

People

(Reporter: robhudson, Assigned: robhudson)

Details

The old hash recalculation at /admin/addons/hash/{{ addon.id }}/{{ file.id }} should be rewritten in Python. It's referenced in the /admin/addon/manage/{{ addon.id }}/ templates.
Target Milestone: --- → Q4 2011
I ported the method over a bit ago https://github.com/jbalogh/zamboni/blob/master/apps/files/models.py#L170, should just be a matter of hooking up a button to do it.
Assignee: nobody → chudson
https://github.com/jbalogh/zamboni/commit/3a7398790e5ddf5ac5faeb78db00c6aefd44dfea These URLs are at: /admin/addon/recalc-hash/<file_id>/ Would they need a /z update as well?
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
> Would they need a /z update as well? All taken care of, in -dev and prod. eg. https://addons-dev.allizom.org/en-US/admin/addon/recalc-hash/123652
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.