[git_dirty_repo] ca en weekly
This commit is contained in:
parent
a21e111a54
commit
03342d4ddc
3 changed files with 16 additions and 1 deletions
|
@ -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">
|
||||
|
|
|
@ -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)
|
||||
|
|
15
Python/etc/cron.weekly/git_dirty_repo
Normal file
15
Python/etc/cron.weekly/git_dirty_repo
Normal 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")
|
Loading…
Add table
Add a link
Reference in a new issue