summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Keating <jkeating@redhat.com>2008-10-06 15:13:55 -0700
committerJesse Keating <jkeating@redhat.com>2008-10-06 15:13:55 -0700
commit2c09ae0acb45101dba78bbb41070b689aa108f8a (patch)
tree7f4976432ed87c7f229a2d1a79854122b011775e
parent757f62e83209dc6b9cdf92200161959945739200 (diff)
downloadreleng-2c09ae0acb45101dba78bbb41070b689aa108f8a.tar.gz
releng-2c09ae0acb45101dba78bbb41070b689aa108f8a.tar.xz
releng-2c09ae0acb45101dba78bbb41070b689aa108f8a.zip
Add a timestamp to the start of the rawhide report.
-rwxr-xr-xscripts/buildrawhide4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/buildrawhide b/scripts/buildrawhide
index 492abbd..77fa214 100755
--- a/scripts/buildrawhide
+++ b/scripts/buildrawhide
@@ -15,6 +15,8 @@ MOCKCONFIG=fedora-rawhide-compose-i386
TMPDIR=`mktemp -d /tmp/rawhide.$DATE.XXXX`
mkdir -p /mnt/koji/mash/rawhide-$DATE/logs
+echo "Compose started at `date --utc`" > /mnt/koji/mash/rawhide-$DATE/logs/start
+echo >> /mnt/koji/mash/rawhide-$DATE/logs/start
pushd $TMPDIR
cvs -d :pserver:anonymous@cvs.fedora.redhat.com:/cvs/pkgs -z3 -q co comps && {
pushd comps
@@ -51,6 +53,6 @@ sudo -u ftpsync /usr/bin/rsync $RSYNC_OPTS --exclude repodata/ /mnt/koji/mash/ra
# repodata & cleanup
sudo -u ftpsync /usr/bin/rsync $RSYNC_OPTS --delete --delete-after /mnt/koji/mash/rawhide-$DATE/development/ $DESTPATH
if [ "$?" = "0" ]; then
- cat /mnt/koji/mash/rawhide-$DATE/logs/repodiff /mnt/koji/mash/rawhide-$DATE/logs/depcheck | mail -s 'rawhide report: '$DATE' changes' fedora-devel-list@redhat.com,fedora-test-list@redhat.com -- -f rawhide@fedoraproject.org -F "Rawhide Report"
+ cat /mnt/koji/mash/rawhide-$DATE/logs/start /mnt/koji/mash/rawhide-$DATE/logs/repodiff /mnt/koji/mash/rawhide-$DATE/logs/depcheck | mail -s 'rawhide report: '$DATE' changes' fedora-devel-list@redhat.com,fedora-test-list@redhat.com -- -f rawhide@fedoraproject.org -F "Rawhide Report"
fi
exit 0