Closed Bug 1199202 Opened 9 years ago Closed 9 years ago

Fix handling of CLI options for firefox-ui-updates.py script

Categories

(Release Engineering :: Applications: MozharnessCore, defect)

defect
Not set
normal

Tracking

(firefox43 fixed)

RESOLVED FIXED
Tracking Status
firefox43 --- fixed

People

(Reporter: whimboo, Assigned: whimboo)

References

Details

Attachments

(1 file)

As already mentioned over on bug 1197358 we should tweak the command line options to allow the following:

* If no update_verify_config has been specified we do not need to checkout the tools repository. Because of that we should not force the usage of --tools-tag if this config option has not been specified.

* If no absolute path for the install-path has been given, we have to enforce it. Otherwise we are passing an invalid path to mozinstall because of the changed CWD.

* --limit-locales causes an exception if not specified. It should define a default (0) and should be of type int.

Patch is upcoming shortly.
Attached patch CLI options fixSplinter Review
Armen, if your review is not enough please suggest whom I also have to ask for.
Attachment #8653473 - Flags: review?(armenzg)
Comment on attachment 8653473 [details] [diff] [review]
CLI options fix

Review of attachment 8653473 [details] [diff] [review]:
-----------------------------------------------------------------

Excellent! Feel free to land with DONTBUILD.
Attachment #8653473 - Flags: review?(armenzg) → review+
or NPOTB (I think :D)
https://hg.mozilla.org/mozilla-central/rev/00fce13db0ea
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Armen, with this patch I broke the script for handling release tests due to the default value of -1 for limit locales. Right now no tests are getting run at all. Sorry! I'm going to fix that along with my patch on bug 1200368.
Blocks: 1209209
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: