Confirmed users
1,567
edits
(→Updating the UA override list: Process for updating the UA override list with hg) |
|||
Line 69: | Line 69: | ||
==Updating the UA override list== | ==Updating the UA override list== | ||
Once a bug has been resolved it is necessary to update the [https:// | |||
Since the end of 2013, the UA override list is managed dynamically on the server side. @@Insert here the relevant bugs and documentation@@ | |||
Once a bug has been resolved it is necessary to update the [https://hg.mozilla.org/mozilla-central/file/tip/b2g/app/ua-update.json.in ua-override list] on the Mozilla Central. It is possible to make one pull request for a few ua strings override at the same time. | |||
For the following instructions, you are expected to have | For the following instructions, you are expected to have | ||
# A working knowledge of hg | |||
# A working knowledge of | |||
# A [https://bugzilla.mozilla.org/ Mozilla bugzilla] account | # A [https://bugzilla.mozilla.org/ Mozilla bugzilla] account | ||
=== Preparation === | |||
# | # [https://developer.mozilla.org/en-US/docs/Installing_Mercurial Install Mercurial] (10 minutes) | ||
# | # [https://developer.mozilla.org/en-US/docs/Developer_Guide/Source_Code/Mercurial Get Mozilla Source Code Using Mercurial] with <code>hg clone https://hg.mozilla.org/mozilla-central/ mozilla-central</code> (A lot of times: 2.3 Go to transfer) | ||
# If it's your first time with Mercurial: <code>./mach mercurial-setup</code> will save you a lot of time for configuration and be ready to work with Mozilla environment. | |||
# | |||
=== Updating the UA override list === | |||
# | # <code>cd /your/path/mozilla-central</code> | ||
# | # <code>hg status</code> | ||
# | # <code>hg qpop -a</code> | ||
# | # <code>hg pull -u</code> | ||
# | # <code>cd b2g/app</code> | ||
# | # Check the Remove UA override bug, you are working with to find the list of domains to remove. | ||
# Edit the UA override <code>ua-update.json.in</code> | |||
# Be sure that all the domains you are removing are actually closed bugs on the bug dependency list. | |||
# Create a | # Create a new patch. For example: <code>hg qnew ua-override-bug965060.patch</code> | ||
# Add | # Add as an attachment the patch to the bug (for example Bug 965060) | ||
# Ask for review | # Ask for review of your code <code>r? lmandel</code> | ||
# | # Once the patch got a <code>r+</code>, add the keyword <code>checkin-needed</code> | ||
# | # Once it is in. The committer will close the bug. | ||
==References== | ==References== |