summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/git
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2018-03-18 22:28:59 +0100
committerlassulus <lassulus@lassul.us>2018-03-18 22:28:59 +0100
commit3b8f52f4f0ae93a5e9818e784e7f4507f72aa11e (patch)
treeda6fa3e2d60ab2025cb3480f3b1621154bbed076 /makefu/2configs/git
parentce32c7b6d4352ac193d60100d632615c25c0198e (diff)
parent28324a02d902b0ca31a383f162c585fb8f9b2972 (diff)
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'makefu/2configs/git')
-rw-r--r--makefu/2configs/git/cgit-retiolum.nix13
1 files changed, 10 insertions, 3 deletions
diff --git a/makefu/2configs/git/cgit-retiolum.nix b/makefu/2configs/git/cgit-retiolum.nix
index 1109e2519..30d90f9e3 100644
--- a/makefu/2configs/git/cgit-retiolum.nix
+++ b/makefu/2configs/git/cgit-retiolum.nix
@@ -3,10 +3,15 @@
with import <stockholm/lib>;
let
- repos = priv-repos // krebs-repos // connector-repos ;
+ repos = priv-repos // krebs-repos // connector-repos // krebsroot-repos;
rules = concatMap krebs-rules (attrValues krebs-repos)
++ concatMap priv-rules (attrValues priv-repos)
- ++ concatMap connector-rules (attrValues connector-repos);
+ ++ concatMap connector-rules (attrValues connector-repos)
+ ++ concatMap krebsroot-rules (attrValues krebsroot-repos);
+
+ krebsroot-repos = mapAttrs make-krebs-repo {
+ hydra-stockholm = { };
+ };
krebs-repos = mapAttrs make-krebs-repo {
stockholm = {
@@ -28,7 +33,6 @@ let
init-stockholm = {
cgit.desc = "Init stuff for stockholm";
};
- hydra-stockholm = { };
};
priv-repos = mapAttrs make-priv-repo {
@@ -70,6 +74,9 @@ let
krebs-rules = repo:
set-owners repo all-makefu ++ set-ro-access repo krebsminister;
+ krebsroot-rules = repo:
+ set-owners repo (all-makefu ++ krebsminister);
+
set-ro-access = with git; repo: user:
optional repo.public {
inherit user;