diff options
| author | makefu <github@syntax-fehler.de> | 2017-08-16 12:11:24 +0200 | 
|---|---|---|
| committer | makefu <github@syntax-fehler.de> | 2017-08-16 12:31:57 +0200 | 
| commit | efa73b9e9a557ce711b8ef32d034d69972a4758a (patch) | |
| tree | ab5d7fd11d7de918427ee83d65638425199fd11c | |
| parent | 94f7791024b658556e950603846035eacc3e3337 (diff) | |
ma urlwatch: github-rss
| -rw-r--r-- | makefu/2configs/urlwatch/default.nix | 25 | 
1 files changed, 16 insertions, 9 deletions
diff --git a/makefu/2configs/urlwatch/default.nix b/makefu/2configs/urlwatch/default.nix index f17bcdc3a..47b5d7fc3 100644 --- a/makefu/2configs/urlwatch/default.nix +++ b/makefu/2configs/urlwatch/default.nix @@ -1,6 +1,11 @@  { config, lib, ... }: -{ +let +  grss = name: { #github rss feed +    url = "https://github.com/${name}/releases.atom"; +    filter = "grepi:(<updated|<media.thumbnail)"; +  }; +in {    krebs.urlwatch = {      enable = true;      mailto = config.krebs.users.makefu.mail; @@ -10,14 +15,7 @@        ## nixpkgs maintenance        # github         ## No rate limit -      https://github.com/amadvance/snapraid/releases.atom -      https://github.com/radare/radare2/releases.atom -      https://github.com/ovh/python-ovh/releases.atom -      https://github.com/embray/d2to1/releases.atom -      https://github.com/Mic92/vicious/releases.atom -      https://github.com/embray/d2to1/releases.atom -      https://github.com/dorimanx/exfat-nofuse/releases.atom -      https://github.com/rapid7/metasploit-framework/releases.atom +        ## rate limited        # https://api.github.com/repos/dorimanx/exfat-nofuse/commits        # https://api.github.com/repos/mcepl/gen-oath-safe/commits @@ -39,6 +37,15 @@          filter = "grep:Software/Linux/dymo-cups-drivers";        }        # TODO: dymo cups +    ] ++ map grss [ +      "amadvance/snapraid" +      "radare/radare2" +      "ovh/python-ovh" +      "embray/d2to1" +      "Mic92/vicious" +      "embray/d2to1" +      "dorimanx/exfat-nofuse" +      "rapid7/metasploit-framework"      ];    };  }  | 
