diff --git a/Base/needed.xml b/Base/needed.xml index 427bd8e..0c6bdc9 100644 --- a/Base/needed.xml +++ b/Base/needed.xml @@ -17,6 +17,7 @@ + diff --git a/Metadata/groups.xml b/Metadata/groups.xml index 63a0cdd..6e90b97 100644 --- a/Metadata/groups.xml +++ b/Metadata/groups.xml @@ -523,6 +523,7 @@ + diff --git a/Python/etc/cron.daily/git_dirty_repo b/Python/etc/cron.daily/git_dirty_repo new file mode 100644 index 0000000..5b6b213 --- /dev/null +++ b/Python/etc/cron.daily/git_dirty_repo @@ -0,0 +1,17 @@ +# -*- encoding: utf-8 -*- + +info["owner"] = "root" +info["group"] = "root" +info["perms"] = 0644 + +header() + +notifier_path = "/usr/scripts/utils/git-whatsnew" +default_from = "roots@crans.org" +default_to = "roots@crans.org" + +if has("crans-nfs"): + print '%s --repository=/usr/scripts --from="%s" --to="%s"' % (notifier_path, default_from, default_to) + +if has("bcfg2"): + print '%s --repository=/var/lib/bcfg2 --from="%s" --to="%s"' % (notifier_path, default_from, default_to)