Skip to content

Commit ee6a743

Browse files
Bugi 1987708 - nimbus-cli: Use mozilla-firefox/firefox instead of mozilla/gecko-dev
1 parent 9f180e7 commit ee6a743

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@
1616

1717
[Full Changelog](In progress)
1818

19+
## Nimbus CLI
20+
- Support for Firefox for Android and Focus via the new
21+
[mozilla-firefox](https://github.com/mozilla-firefox/firefox) repository.
22+
1923
# v143.0 (_2025-08-18_)
2024

2125
## 🦊 What's Changed 🦊

components/support/nimbus-cli/src/config.rs

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -150,11 +150,6 @@ impl NimbusApp {
150150
.ok_or_else(|| anyhow::anyhow!("Either an --app or a --manifest must be specified"))?;
151151

152152
if version.is_none() {
153-
// gecko-dev uses master, not main
154-
if (app_name == "fenix" || app_name == "focus_android") && ref_ == "main" {
155-
return Ok("master".into());
156-
}
157-
158153
return Ok(ref_.to_string());
159154
}
160155

@@ -166,7 +161,7 @@ impl NimbusApp {
166161
} else if is_before(version, 126) {
167162
pad_major(v)
168163
} else {
169-
bail!("gecko-dev does not have tagged versions, use --ref instead")
164+
bail!("mozilla-firefox does not have tagged versions, use --ref instead")
170165
}
171166
}
172167
"focus_android" => {
@@ -175,7 +170,7 @@ impl NimbusApp {
175170
} else if is_before(version, 126) {
176171
pad_major(v)
177172
} else {
178-
bail!("gecko-dev does not have tagged versions, use --ref instead")
173+
bail!("mozilla-firefox does not have tagged versions, use --ref instead")
179174
}
180175
}
181176
"firefox_ios" => {
@@ -217,7 +212,7 @@ impl NimbusApp {
217212
} else if is_before(version, 126) {
218213
"mozilla-mobile/firefox-android"
219214
} else {
220-
"mozilla/gecko-dev"
215+
"mozilla-firefox/firefox"
221216
}
222217
}
223218
"focus_android" => {
@@ -226,7 +221,7 @@ impl NimbusApp {
226221
} else if is_before(version, 126) {
227222
"mozilla-mobile/firefox-android"
228223
} else {
229-
"mozilla/gecko-dev"
224+
"mozilla-firefox/firefox"
230225
}
231226
}
232227
"firefox_ios" => "mozilla-mobile/firefox-ios",

components/support/nimbus-cli/src/main.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -716,9 +716,10 @@ mod unit_tests {
716716

717717
fn fenix_manifest_with_ref(ref_: &str) -> ManifestSource {
718718
ManifestSource::FromGithub {
719-
github_repo: "mozilla/gecko-dev".to_string(),
719+
github_repo: "mozilla-firefox/firefox".to_string(),
720720
ref_: ref_.to_string(),
721-
manifest_file: "@mozilla/gecko-dev/mobile/android/fenix/app/nimbus.fml.yaml".into(),
721+
manifest_file: "@mozilla-firefox/firefox/mobile/android/fenix/app/nimbus.fml.yaml"
722+
.into(),
722723
channel: "developer".to_string(),
723724
}
724725
}

0 commit comments

Comments
 (0)