Closed
Bug 1038801
Opened 12 years ago
Closed 12 years ago
Release to ESR merge day automation
Categories
(Release Engineering :: Applications: MozharnessCore, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: rail, Assigned: rail)
Details
Attachments
(1 file, 1 obsolete file)
|
5.43 KB,
patch
|
mozilla
:
review+
rail
:
checked-in+
|
Details | Diff | Splinter Review |
It turns out that releng has not done this prior to ESR31 and we had no docs explaining what should be changed as a part of merge.
Attached is a not tested draft.
Attachment #8456270 -
Flags: feedback?(aki)
Comment 1•12 years ago
|
||
Comment on attachment 8456270 [details] [diff] [review]
esr_merge-mozharness.diff
>diff --git a/configs/merge_day/release_to_esr.py b/configs/merge_day/release_to_esr.py
>+config = {
>+ "log_name": "relese_to_esr",
>+ # Disallow sharing, since we want pristine .hg directories.
>+ # "vcs_share_base": None,
>+ # "hg_share_base": None,
>+ "tools_repo_url": "https://hg.mozilla.org/build/tools",
>+ "tools_repo_revision": "default",
>+ "from_repo_url": "ssh://hg.mozilla.org/releases/mozilla-release",
>+ "to_repo_url": "ssh://hg.mozilla.org/releases/mozilla-esr38",
>+
>+ "base_tag": "FIREFOX_ESR_%(major_version)s_BASE",
>+ "end_tag": "FIREFOX_ESR_%(major_version)s_END",
>+
>+ "migration_behavior": "release_to_esr",
>+ "require_remove_locales": False,
>+ "transplant_patches": [
>+ {"repo": "https://hg.mozilla.org/releases/mozilla-esr31",
>+ "changeset": "450086c0ded0"},
>+ ]
>+}
Maybe at the top we can have
OLD_ESR_REPO = "https://hg.mozilla.org/releases/mozilla-esr31"
OLD_ESR_CHANGESET = "450086c0ded0"
NEW_ESR_REPO = "ssh://hg.mozilla.org/releases/mozilla-esr38"
to make it easier to find the lines that need to change next time?
I'm fine with being clear in wiki documentation as well.
>+ def transplant(self, repo, changeset, cwd):
>+ hg = self.query_exe("hg", return_type="list")
Docstring is probably not needed since it's mostly intuitive, but it's good to have.
Attachment #8456270 -
Flags: feedback?(aki) → feedback+
| Assignee | ||
Comment 2•12 years ago
|
||
ESR merges don't require hg debugsetparent because there is no non-fastforward commit (we create the repo as a fresh clone).
Attachment #8456270 -
Attachment is obsolete: true
Attachment #8456876 -
Flags: review?(aki)
Comment 3•12 years ago
|
||
Comment on attachment 8456876 [details] [diff] [review]
esr_merge-mozharness-1.diff
Awesome. The requires_head_merge that defaults to True is the way I'd solve that too. Thanks Rail!
Attachment #8456876 -
Flags: review?(aki) → review+
| Assignee | ||
Comment 4•12 years ago
|
||
Comment on attachment 8456876 [details] [diff] [review]
esr_merge-mozharness-1.diff
https://hg.mozilla.org/build/mozharness/rev/a8daccee2f5e
Attachment #8456876 -
Flags: checked-in+
| Assignee | ||
Comment 5•12 years ago
|
||
Docs added https://wiki.mozilla.org/ReleaseEngineering/How_To/Create_new_ESR_branch#Pull_form_mozilla-release
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 6•12 years ago
|
||
In production.
You need to log in
before you can comment on or make changes to this bug.
Description
•