File tree 2 files changed +15
-2
lines changed
2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -322,6 +322,19 @@ sudo sbuild-update \
322
322
}
323
323
}
324
324
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
+
325
338
#[ derive( Default ) ]
326
339
struct Build {
327
340
branches : BTreeSet < GitBranch > ,
@@ -954,7 +967,7 @@ sbuild \
954
967
pool_rebuilt = true ;
955
968
}
956
969
957
- if pocket. id ( ) == "master " && launchpad {
970
+ if pocket. id ( ) == "main " && launchpad {
958
971
for ( changes_name, changes_path) in package. changes . iter ( ) {
959
972
let dput = match repo_info. dput {
960
973
Some ( some) => some,
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ impl RepoInfo {
98
98
_ => Self {
99
99
key : fs:: canonicalize ( "scripts/.iso.asc" ) . expect ( "failed to find ISO key" ) ,
100
100
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 " ,
102
102
dput : None ,
103
103
archs : ARCHS ,
104
104
} ,
You can’t perform that action at this time.
0 commit comments