[git_dirty_repo] ca en weekly

This commit is contained in:
Pierre-Elliott Bécue 2014-03-27 17:09:53 +01:00
parent a21e111a54
commit 03342d4ddc
3 changed files with 16 additions and 1 deletions

View file

@ -14,6 +14,7 @@
<!-- mail de notification de fichiers non synchronises -->
<Path name="/etc/cron.daily/mailWarn_dirtyDarcsRepo"/>
<Python name="/etc/cron.daily/git_dirty_repo"/>
<Python name="/etc/cron.weekly/git_dirty_repo"/>
<!-- Gestion des secrets -->
<Group name="secrets">

View file

@ -18,7 +18,6 @@ if has("crans-nfs"):
print '%s --untracked-weekly --repository=/usr/scripts/wifi_new --from="%s" --to="%s"' % (notifier_path, default_from, default_to)
print '%s --untracked-weekly --repository=/usr/scripts/src/mac_ip --from="%s" --to="%s"' % (notifier_path, default_from, default_to)
print '%s --untracked-weekly --repository=/home/respbats/www/config --from="%s" --to="%s"' % (notifier_path, default_from, default_to)
print '%s --untracked-weekly --repository=/home/ca --from="%s" --to="%s"' % (notifier_path, default_from, "bureau@lists.crans.org")
if has("bcfg2"):
print '%s --untracked-weekly --repository=/var/lib/bcfg2 --from="%s" --to="%s"' % (notifier_path, default_from, default_to)

View file

@ -0,0 +1,15 @@
# -*- encoding: utf-8 -*-
info["owner"] = "root"
info["group"] = "root"
info["perms"] = 0755
@#!/bin/bash
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=/home/ca --from="%s" --to="%s"' % (notifier_path, default_from, "bureau@lists.crans.org")