repo-sync: remove staging branches, style

This commit is contained in:
lassulus 2018-08-25 12:04:22 +02:00
parent 362c700848
commit 413e0689ac

View File

@ -29,10 +29,10 @@ let
{ {
user = with config.krebs.users; [ user = with config.krebs.users; [
config.krebs.users."${config.networking.hostName}-repo-sync" config.krebs.users."${config.networking.hostName}-repo-sync"
lass
tv
makefu
jeschli jeschli
lass
makefu
tv
]; ];
repo = [ repo ]; repo = [ repo ];
perm = push ''refs/*'' [ non-fast-forward create delete merge ]; perm = push ''refs/*'' [ non-fast-forward create delete merge ];
@ -54,35 +54,20 @@ let
{ {
krebs.repo-sync.repos.${name} = { krebs.repo-sync.repos.${name} = {
branches = { branches = {
makefu = { lassulus = {
origin.url = "http://cgit.gum/${name}"; origin.url = "http://cgit.lassul.us/${name}";
mirror.url = "${mirror}${name}"; mirror.url = "${mirror}${name}";
}; };
tv = { makefu = {
origin.url = "http://cgit.ni.r/${name}"; origin.url = "http://cgit.gum/${name}";
mirror.url = "${mirror}${name}"; mirror.url = "${mirror}${name}";
}; };
nin = { nin = {
origin.url = "http://cgit.onondaga.r/${name}"; origin.url = "http://cgit.onondaga.r/${name}";
mirror.url = "${mirror}${name}"; mirror.url = "${mirror}${name}";
}; };
lassulus = { tv = {
origin.url = "http://cgit.lassul.us/${name}";
mirror.url = "${mirror}${name}";
};
makefu-staging = {
origin.url = "http://cgit.gum/${name}";
origin.ref = "heads/staging";
mirror.url = "${mirror}${name}";
};
tv-staging = {
origin.url = "http://cgit.ni.r/${name}"; origin.url = "http://cgit.ni.r/${name}";
origin.ref = "heads/staging";
mirror.url = "${mirror}${name}";
};
nin-staging = {
origin.url = "http://cgit.onondaga.r/${name}";
origin.ref = "heads/staging";
mirror.url = "${mirror}${name}"; mirror.url = "${mirror}${name}";
}; };
}; };