From 443d7878b6b57413e81ad89039afbebdeb6a3807 Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 20 Aug 2015 10:18:09 +0200 Subject: tv urlwatch: +exim --- tv/2configs/urlwatch.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tv/2configs') diff --git a/tv/2configs/urlwatch.nix b/tv/2configs/urlwatch.nix index a69b1519..26e56e09 100644 --- a/tv/2configs/urlwatch.nix +++ b/tv/2configs/urlwatch.nix @@ -11,6 +11,8 @@ # 2014-07-29 when one of the following urls change # then we have to update the package + http://www.exim.org/ + # ref src/nixpkgs/pkgs/tools/admin/sec/default.nix https://api.github.com/repos/simple-evcorr/sec/tags -- cgit v1.2.3 From c73b2f6c175625f08d5898320ea8fcb336f393aa Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 24 Aug 2015 11:22:05 +0200 Subject: tv git: allow secret collaborateurs --- tv/2configs/git.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tv/2configs') diff --git a/tv/2configs/git.nix b/tv/2configs/git.nix index 8d662494..264cb4a1 100644 --- a/tv/2configs/git.nix +++ b/tv/2configs/git.nix @@ -8,14 +8,14 @@ let enable = true; root-title = "public repositories at ${config.krebs.build.host.name}"; root-desc = "keep calm and engage"; - inherit repos rules; + repos = mapAttrs (_: s: removeAttrs s ["collaborators"]) repos; + rules = rules; }; }; - repos = mapAttrs (_: s: removeAttrs s ["collaborators"]) ( + repos = public-repos // - optionalAttrs config.krebs.build.host.secure restricted-repos - ); + optionalAttrs config.krebs.build.host.secure restricted-repos; rules = concatMap make-rules (attrValues repos); @@ -66,8 +66,8 @@ let }; }; - make-restricted-repo = name: { desc ? null, ... }: { - inherit name desc; + make-restricted-repo = name: { collaborators ? [], desc ? null, ... }: { + inherit name collaborators desc; public = false; }; -- cgit v1.2.3