Closed Bug 591028 Opened 15 years ago Closed 15 years ago

Port /downloads to zamboni

Categories

(addons.mozilla.org Graveyard :: Public Pages, defect, P3)

defect

Tracking

(Not tracked)

VERIFIED FIXED
5.12.2

People

(Reporter: jbalogh, Assigned: jbalogh)

References

()

Details

(Whiteboard: [z][qa+][loadtest+])

This currently lives at http://viewvc.svn.mozilla.org/vc/addons/trunk/site/app/controllers/downloads_controller.php?view=markup. I want to switch it so we stop getting hash errors with downloads. If zamboni makes the buttons and serves the downloads there's no room for inconsistency. r?wil and r?fligtar because I saw your fingers on this. AFAIK the new version matches remora in every way except the handing of unreviewed add-ons. That ?confirmed thing is pointless now that we have the popups. http://github.com/jbalogh/zamboni/commit/0780aff
Mossop is going to give us the details for the hash header that we should start using here too. It will fix a number of problems with installing add-ons in Firefox 4 and make non-JS installations safer.
(In reply to comment #1) > Mossop is going to give us the details for the hash header that we should start > using here too. It will fix a number of problems with installing add-ons in > Firefox 4 and make non-JS installations safer. Files bug 591070, will follow up with specifics on the hash header in a bit.
Target Milestone: 5.11.9 → 5.12
I'll look at your patch soon
Priority: -- → P3
Reviewed, waiting on the dependent bug.
Target Milestone: 5.12 → 5.12.1
Target Milestone: 5.12.1 → 4.x (triaged)
The hash fix needs to land before Firefox 4 goes to RC. That means this should be sooner than 4.x or we need to backport it to remora.
(In reply to comment #6) > The hash fix needs to land before Firefox 4 goes to RC. That means this should > be sooner than 4.x or we need to backport it to remora. Ah, ok. thanks. jbalogh: why does this depend on getting an AMO file server?
Target Milestone: 4.x (triaged) → 5.12.2
(In reply to comment #7) > Ah, ok. thanks. jbalogh: why does this depend on getting an AMO file server? Because we don't want to have a python process locked up serving a file. File servers can do that much more efficiently.
(In reply to comment #8) > (In reply to comment #7) > > Ah, ok. thanks. jbalogh: why does this depend on getting an AMO file server? > > Because we don't want to have a python process locked up serving a file. File > servers can do that much more efficiently. Sorry to butt in here, but is that/could that be part of the WGSI/500 problem we see on preview/next?
(In reply to comment #9) > Sorry to butt in here, but is that/could that be part of the WGSI/500 problem > we see on preview/next? No.
This needs to use https://preview.addons.mozilla.org/files for local files and then we'll be good.
Blocks: 592238
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Whiteboard: [z] → [z][qa!]
I've been hitting this on PAMO and haven't gotten it to die yet. QA: As you can expect, this is a pretty big deal so we should test it well. URLs include stuff like: /file/:id/name /file/:id/type:attachment /latest/1865/type:xpi/platform:5
Whiteboard: [z][qa!] → [z][qa+]
Also make sure downloads do the right thing for thunderbird.
Whiteboard: [z][qa+] → [z][qa+][loadtest?]
Depends on: 608356
loadtest+. We get anywhere from 80r/s (on /file/ downloads) and 180r/s (on /latest/ downloads). It looks like we're _averaging_ 2r/s on the live site, so that gives us some buffer space for peak days
Whiteboard: [z][qa+][loadtest?] → [z][qa+][loadtest+]
Depends on: 608388
Depends on: 609397
This is looking good.
Status: RESOLVED → VERIFIED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.