]> git.decadent.org.uk Git - dak.git/commitdiff
sync
authorJames Troup <james@nocrew.org>
Fri, 15 Feb 2002 02:53:48 +0000 (02:53 +0000)
committerJames Troup <james@nocrew.org>
Fri, 15 Feb 2002 02:53:48 +0000 (02:53 +0000)
cron.unchecked-non-US [new file with mode: 0644]
vars-non-US

diff --git a/cron.unchecked-non-US b/cron.unchecked-non-US
new file mode 100644 (file)
index 0000000..117b814
--- /dev/null
@@ -0,0 +1,19 @@
+#! /bin/sh
+
+set -e
+export SCRIPTVARS=/org/non-us.debian.org/katie/vars-non-US
+. $SCRIPTVARS
+
+cd $unchecked
+
+changes=$(find . -maxdepth 1 -mindepth 1 -type f -name \*.changes | sed -e "s,./,," | xargs)
+report=$queuedir/REPORT
+timestamp=$(date "+%Y-%m-%d %H:%M")
+
+if [ ! -z "$changes" ]; then
+  echo "$timestamp": "$changes"  >> $report
+  jennifer -a $changes >> $report
+  echo "--" >> $report
+else
+  echo "$timestamp": Nothing to do >> $report
+fi;
index d8310c97ba6e613713c202c67851db56c63e68f2..951a36b91c01702a0dfd6409360968b3820c030a 100644 (file)
@@ -8,7 +8,9 @@ archs="alpha arm hppa hurd-i386 i386 m68k powerpc sparc mips mipsel sh"
 masterdir=$nonushome/katie
 overridedir=$nonushome/scripts/override
 dbdir=$nonushome/database/
-incoming=$nonushome/incoming
+queuedir=$nonushome/queue/
+unchecked=$queuedir/unchecked/
+incoming=$nonushome/incoming/
 
 packagesfiles=packagesfiles-non-US
 sourcesfiles=sourcesfiles-non-US