Closed
Bug 377955
Opened 17 years ago
Closed 17 years ago
download.js and products/download.html should be able to use different download URLs
Categories
(www.mozilla.org :: General, defect)
www.mozilla.org
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mscott, Assigned: reed)
References
()
Details
Attachments
(1 file)
4.56 KB,
patch
|
reed
:
review-
|
Details | Diff | Splinter Review |
http://www.mozilla.com/en-US/thunderbird/all.html Thunderbird 2 is configured to use bouncer 2 at download2.mozilla.org. however the download.js script shared by Thunderbird and Firefox is hardcoded to use download.mozilla.org. Reed/morgamic/preed/mrz and others are brain storming on IRC about how to fix this in the short term and in the long term.
Assignee | ||
Comment 1•17 years ago
|
||
Looks like preed / morgamic are going to put the info in bouncer1, but I wrote this mod_rewrite magic that would work: RewriteEngine on RewriteCond %{QUERY_STRING} ^product=thunderbird-2\.0\.0\.0 RewriteRule ^(.*)$ http://download2.mozilla.org/
OS: Windows XP → All
Reporter | ||
Comment 2•17 years ago
|
||
bouncer 1 links look they are starting to work, I'm able to start downloading builds on: http://www.mozilla.com/en-US/thunderbird/all.html.
OS: All → Windows XP
Assignee | ||
Comment 3•17 years ago
|
||
Do we want to leave it with bouncer1 for now or try using the rewrite?
OS: Windows XP → All
Comment 4•17 years ago
|
||
Let's fix the website to point Thunderbird only to bouncer2. After pushing it to staging, let us know, and we'll run a download checker against Thunderbird and Firefox (on staging), and then we can push to prod.
Reporter | ||
Comment 5•17 years ago
|
||
I'll take a look at changing download.js to make this work while leaving firefox downloads alone. I'll submit my ideas to rhelmer and reed for review tomorrow to see what they think.
Assignee | ||
Comment 6•17 years ago
|
||
download.js isn't the only thing that needs to be changed. products/download.html will need to be modified, too.
Comment 7•17 years ago
|
||
do you need that we change thunderbird download links on mozilla europe to point to download2.mozilla.org instead of download.mozilla.org ?
Comment 8•17 years ago
|
||
No, for now we will use bouncer1 until we figure out the safest way to redirect tb to bouncer2.
Comment 9•17 years ago
|
||
This particular issue was fixed around 245pm pst. Please reopen if there are still issues. :)
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 10•17 years ago
|
||
Here's my first cut at modifying download.js and download.html to route thunderbird 2.0.0.0 (and higher) downloads through bouncer 2. Everything else (including Firefox) continues to use bouncer 1. This change is on the trunk.stage.mozilla.com so reviewers and testers can see how it behaves. Here are the tests I did. Note you need to test with both firefox and IE7 because we write out different download urls (firefox goes through download.html). You can verify the download url used by download.html by looking at the url linked to in the "use this link" text on that page. Testing Thunderbird downloads using Firefox: https://en.www.trunk.stage.mozilla.com/en/thunderbird/all.html - Each 2.0.0.0 product link should take you to download.html which in turn loads from download2.mozilla.org. The 1.5.0.x links on this page should go through download.html which should load from download.mozilla.org. https://en.www.trunk.stage.mozilla.com/en/thunderbird/all-older.html - every product link on this page should go through download.html which should laod from download.mozilla.org. https://en.www.trunk.stage.mozilla.com/en/thunderbird - The download now button should take you through download.html using download2.mozilla.org Thunderbird using IE 7: https://en.www.trunk.stage.mozilla.com/en/thunderbird/all.html - Each 2.0.0.0 product link should use download2.mozilla.org if you hover over the link on this page. The 1.5.0.x links on this page should use download.mozilla.org https://en.www.trunk.stage.mozilla.com/en/thunderbird/all-older.html - every download link on this page should use download.mozilla.org https://en.www.trunk.stage.mozilla.com/en/thunderbird - The download now button should use download2.mozilla.org Downloading Firefox using Firefox: https://en.www.trunk.stage.mozilla.com/en/firefox/all.html - All download links on this page should take you to download.html which in turn loads from download.mozilla.org. https://en.www.trunk.stage.mozilla.com/en/firefox/all-older.html - every product link on this page should go through download.html which should laod from download.mozilla.org. https://en.www.trunk.stage.mozilla.com/en/firefox - The download now button should take you through download.html using download.mozilla.org Downloading Firefox using IE 7: https://en.www.trunk.stage.mozilla.com/en/firefox/all.html - Every download link should use download.mozilla.org if you hover over the link on this page. https://en.www.trunk.stage.mozilla.com/en/firefox/all-older.html - every download link on this page should use download.mozilla.org https://en.www.trunk.stage.mozilla.com/en/firefox- The download now button should go through download.mozilla.org
Reporter | ||
Comment 11•17 years ago
|
||
Comment on attachment 262176 [details] [diff] [review] download.js and download.html changes to make thunderbird 2 use bouncer2 What do you guys think of this approach?
Attachment #262176 -
Flags: review?(reed)
Reporter | ||
Comment 12•17 years ago
|
||
Comment on attachment 262176 [details] [diff] [review] download.js and download.html changes to make thunderbird 2 use bouncer2 Rob might have some ideas on this too.
Attachment #262176 -
Flags: review?(rhelmer)
Assignee | ||
Updated•17 years ago
|
Severity: blocker → major
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Summary: Unable to download thunderbird 2 from bouncer links on all.html → download.js and products/download.html should be able to use different download URLs
Assignee | ||
Updated•17 years ago
|
Assignee: nobody → reed
Status: REOPENED → NEW
Assignee | ||
Comment 13•17 years ago
|
||
Comment on attachment 262176 [details] [diff] [review] download.js and download.html changes to make thunderbird 2 use bouncer2 I'm rewriting a lot of this. I think I can just make products/download.html pull the info from download.js instead of keeping two copies of the same information.
Attachment #262176 -
Flags: review?(rhelmer)
Attachment #262176 -
Flags: review?(reed)
Attachment #262176 -
Flags: review-
Assignee | ||
Comment 14•17 years ago
|
||
Sending trunk/en-US/products/download.html Sending trunk/js/download.js Transmitting file data .. Committed revision 3487.
Status: NEW → ASSIGNED
Comment 15•17 years ago
|
||
Can we test this a bit and get this up this week? We'd like to get stuff pointing at bouncer2 so we can do a full migration next week or so.
Comment 16•17 years ago
|
||
It's a minor issue but bug 377924 comment #6 is still true in the new logic.
Assignee | ||
Comment 17•17 years ago
|
||
Tagged for production in r3717.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago → 17 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Component: www.mozilla.org/firefox → www.mozilla.org
Updated•11 years ago
|
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
You need to log in
before you can comment on or make changes to this bug.
Description
•