Skip to content

Commit 7f8b078

Browse files
dandarnellshtrom
authored andcommitted
Bug 2030140 - Add try-comm-central support r=shtrom,zeid
With Thunderbird's transition over to git, we'd like to add support for using mach try on Thunderbird patches. Pull request: #1019
1 parent 48a762d commit 7f8b078

2 files changed

Lines changed: 14 additions & 1 deletion

File tree

src/lando/main/models/commit_map.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@ class CommitMap(BaseModel):
2323

2424
# The TRY_REPO_MAPPING is used to determine which repository to use for
2525
# inspecting relevant CommitMap for a Try repository.
26-
TRY_REPO_MAPPING = {"try": "firefox"}
26+
TRY_REPO_MAPPING = {
27+
"try": "firefox",
28+
"try-comm-central": "thunderbird-desktop",
29+
}
2730

2831
git_hash = models.CharField(default="", max_length=40)
2932
hg_hash = models.CharField(default="", max_length=40)

src/lando/utils/management/commands/create_environment_repos.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,16 @@
193193
"is_phabricator_repo": False,
194194
"force_push": True,
195195
},
196+
{
197+
"name": "try-comm-central",
198+
"url": "https://hg.mozilla.org/try-comm-central",
199+
"push_path": "ssh://hg.mozilla.org/try-comm-central",
200+
"pull_path": "https://hg.mozilla.org/comm-unified",
201+
"required_permission": SCM_LEVEL_1,
202+
"short_name": "try-cc",
203+
"is_phabricator_repo": False,
204+
"force_push": True,
205+
},
196206
],
197207
Environment.production: [],
198208
}

0 commit comments

Comments
 (0)