Skip to content

Commit 9e76951

Browse files
committed
Transition to main staging repo
1 parent fce7165 commit 9e76951

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

scripts/pop-ci/src/main.rs

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,19 @@ sudo sbuild-update \
322322
}
323323
}
324324

325+
// Transition master pockets to main pockets, if main pocket does not exist
326+
{
327+
for suite in Suite::ALL.iter() {
328+
let main_key = (Pocket::new("main"), suite.clone());
329+
if ! pockets.contains_key(&main_key) {
330+
let master_key = (Pocket::new("master"), suite.clone());
331+
if let Some(entry) = pockets.remove(&master_key) {
332+
pockets.insert(main_key, entry);
333+
}
334+
}
335+
}
336+
}
337+
325338
#[derive(Default)]
326339
struct Build {
327340
branches: BTreeSet<GitBranch>,
@@ -954,7 +967,7 @@ sbuild \
954967
pool_rebuilt = true;
955968
}
956969

957-
if pocket.id() == "master" && launchpad {
970+
if pocket.id() == "main" && launchpad {
958971
for (changes_name, changes_path) in package.changes.iter() {
959972
let dput = match repo_info.dput {
960973
Some(some) => some,

scripts/pop-ci/src/repo.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ impl RepoInfo {
9898
_ => Self {
9999
key: fs::canonicalize("scripts/.iso.asc").expect("failed to find ISO key"),
100100
release: "http://apt.pop-os.org/release",
101-
staging: "http://apt.pop-os.org/staging/master",
101+
staging: "http://apt.pop-os.org/staging/main",
102102
dput: None,
103103
archs: ARCHS,
104104
},

0 commit comments

Comments
 (0)