Closed
Bug 540007
Opened 15 years ago
Closed 2 years ago
AUS should use GUIDs instead of product names
Categories
(AUS Graveyard :: API, defect)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: morgamic, Unassigned)
References
Details
Right now the top-level identifier for any AUS product is the %PRODUCT% var in app.update.url. This causes problems between Firefox and Fennec, since they essentially have the same %PRODUCT% name. Blocklist, extension updates and other services key off of GUIDs since they are guaranteed to be unique. AUS should follow suit, but this requires some changes for the web service and the build system: 1) URL schema should be incremented 2) Storage directory should be incremented (adding a "4") 3) Future updates (.mars, etc.) should be placed in 4/* with the first directory being the GUID instead of the product name 4) Throttling and throttle exceptions would have to use GUIDs (which sounds like a huge pain in the ass, but it'd be bad to have conflicting rules across desktop & mobile)
Reporter | ||
Comment 1•15 years ago
|
||
Note - we could avoid a lot of trouble if we just added the Fennec GUID as a new product name instead. If we were to do that, though, I'd prefer that we move other products to using GUIDs at some point to be consistent -- although it isn't entirely necessary, it'd feel better to do things the same way across the board.
Reporter | ||
Comment 3•15 years ago
|
||
If we go with the option in comment #1, it could be done pretty quickly on the build side without any code changes.
Comment 6•15 years ago
|
||
(In reply to comment #4) > great - coop, will that unblock winmo nightly updates? It would unblock this particular part of WinMo nightly updates. There are still 2 other blockers outstanding in bug 507024.
Comment 7•15 years ago
|
||
(In reply to comment #3) > If we go with the option in comment #1, it could be done pretty quickly on the > build side without any code changes. Mike: did you see https://bugzilla.mozilla.org/show_bug.cgi?id=537314#c3 ? Does that influence our options here, given that Fennec still makes no version distinction between branches?
Comment 8•15 years ago
|
||
Fennec provides the product version number and the gre milestone in the update url.
Reporter | ||
Comment 9•15 years ago
|
||
Product name and platform are both directory names in the AUS2 data store -- instead of Firefox you'd use GUID and instead of a platform like WINNT_x86-msvc you'd use whatever represents WinMo. Right?
Reporter | ||
Comment 10•15 years ago
|
||
For example, this path: /3/Firefox/3.6/WINCE_arm-msvc For mobile it'd be (I think): /3/%APP_ID%/1.0/%OS_VERSION%
Comment 11•15 years ago
|
||
Can we close this as DUP/WONTFIX - it looks like this bug has been superseded by work in bug#546695?
Comment 12•15 years ago
|
||
my understanding is that this is still a good thing to do, it is no longer blocking fennec doing updates though
Comment 13•15 years ago
|
||
(In reply to comment #12) > my understanding is that this is still a good thing to do, it is no longer > blocking fennec doing updates though Bug dependency fixed.
Comment 15•2 years ago
|
||
This bug lies at rest in the graveyard.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•