Closed Bug 1373367 Opened 7 years ago Closed 7 years ago

prefix values in SYSTEM_CAPABILITIES field

Categories

(Toolkit :: Application Update, enhancement, P5)

enhancement

Tracking

()

RESOLVED FIXED
mozilla56
Tracking Status
firefox56 --- fixed

People

(Reporter: bhearsum, Assigned: bhearsum)

References

Details

Attachments

(1 file, 1 obsolete file)

We added memory to the SYSTEM_CAPABILITIES field of the update URL in bug 1366917 by making it a simple comma separated field. This is OK, but it makes parsing it on the server a bit more dangerous (especially if we ever make the mistake of having a different field order depending on Firefox version, which could happen if we ever remove something from that field). To make this easier, it would be good to prefix values with a name.

This patch should do that, and produces URLs such as:
https://aus5.mozilla.org/update/6/Firefox/56.0a1/20170615175447/Linux_x86-gcc3/en-US/default/Linux%204.8.0-51-generic%20(GTK%203.20.9%2Clibpulse%209.0.0)/ISET:NA,MEM:15914/default/default/update.xml?force=1
Attachment #8878142 - Flags: review?(robert.strong.bugs)
I'll need to update Balrog to support both styles before this can be landed safely. I'll do that as part of bug 1367054.
Attachment #8878142 - Attachment is obsolete: true
Attachment #8878526 - Flags: review?(robert.strong.bugs)
Comment on attachment 8878526 [details] [diff] [review]
add prefix + fix tests

Would be good to run the tests first or push it to try... just in case.

I'll also need to let Avast know about this change.
Attachment #8878526 - Flags: review?(robert.strong.bugs) → review+
Priority: -- → P5
No longer blocks: 1367054
Depends on: 1367054
Pushed by bhearsum@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/57164b113286
prefix values in SYSTEM_CAPABILITIES field. r=rstrong
https://hg.mozilla.org/mozilla-central/rev/57164b113286
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: