Closed Bug 1158652 Opened 9 years ago Closed 9 years ago

RelMan can't start beta's on pulled from m-r

Categories

(Release Engineering :: Release Automation: Other, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: hwine, Assigned: hwine)

References

Details

Attachments

(2 files)

If there are any localization changes, a fresh merge of content from the l10n m-b repos to m-r repos are needed. There's an existing script for this [1], but relman doesn't have the chops to run it.

Further, the script [1] is relies on the no-longer-valid assumption that there are no 'fennec only' locales. If there is a change in such a locale, the script will not correct the problem.

[1] http://hg.mozilla.org/build/braindump/file/default/releases-related/beta2release_l10n.sh
meh - I forgot I had this bug when I hacked on the script - already checked in as 
  https://hg.mozilla.org/build/braindump/rev/f08fe13d36d7

Will get code review on any changes from here.
Assignee: nobody → hwine
Attached file output of sledru's run
Unexpected output from :sledru which failed to merge everything appropriately for 38.0rc1.

Anomalies in output include:
 - multiple references to some locales as "needed merging" (e.g. es-MX)
 - no attempt to pull es-MX
 - some locales worked fine.
Explanation for all oddities in comment 3 is likely that state is not purged between runs. Likely many (failing) runs were done before the last successful one, leading to the repeats.

There was also in the code a silent skip if a prior locale directory existed. This made sense in the original context of the script, but not the new usage by release mangers. Adding a flag to allow cleanup.
Status: NEW → ASSIGNED
Additional changes to make script work better for relman's needs. See diff for details
Attachment #8600727 - Flags: review?(nthomas)
Comment on attachment 8600727 [details] [diff] [review]
Be less silent & add cleanup option

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

::: releases-related/beta2release_l10n.sh
@@ +20,5 @@
>  # if you choose to use your own credentials, you also have to change the
>  # hg push line below.
> +HG_USER="${HG_USER:-ffxbld <release@mozilla.com>}"      # used for commit message
> +HG_SSH_USER="${HG_SSH_USER:-ffxbld}"                    # used to push
> +SSH_KEY="${SSH_KEY:-$PWD/ffxbld_rsa}"

The comment needs updating, I think. All three vars must be set by a non-releng user, but otherwise it should just work.
Attachment #8600727 - Flags: review?(nthomas) → review+
Comment on attachment 8600727 [details] [diff] [review]
Be less silent & add cleanup option

https://hg.mozilla.org/build/braindump/rev/45193776a4b5
Attachment #8600727 - Flags: checked-in+
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: