extras-buildsys/server BuildMaster.py,1.31,1.32
Daniel Williams (dcbw)
fedora-extras-commits at redhat.com
Mon Aug 15 19:42:29 UTC 2005
- Previous message: extras-buildsys ChangeLog,1.100,1.101 plague.spec,1.24,1.25
- Next message: rpms/abicheck/devel abicheck-1.2-fortify-source-fc5.patch, NONE, 1.1 abicheck-1.2-libgcc.patch, NONE, 1.1 abicheck.spec, 1.13, 1.14 abicheck.dbfile.FORTIFY_SOURCE, 1.2, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: dcbw
Update of /cvs/fedora/extras-buildsys/server
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29049/server
Modified Files:
BuildMaster.py
Log Message:
2005-08-15 Dan Williams <dcbw at redhat.com>
* server/BuildMaster.py
- Clear out old job info when requeueing a job
Index: BuildMaster.py
===================================================================
RCS file: /cvs/fedora/extras-buildsys/server/BuildMaster.py,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- BuildMaster.py 15 Aug 2005 03:18:20 -0000 1.31
+++ BuildMaster.py 15 Aug 2005 19:42:26 -0000 1.32
@@ -189,6 +189,11 @@
self.curs.execute('DELETE FROM archjobs WHERE parent_uid=%d' % uid)
self.dbcx.commit()
+ # Clear out old time/result information
+ self.curs.execute('UPDATE jobs SET starttime=%d, endtime=0, ' \
+ 'result_msg="" WHERE uid=%d' % (time.time(), uid))
+ self.dbcx.commit()
+
# Now requeue the job
try:
repo = self._repos[row['target']]
- Previous message: extras-buildsys ChangeLog,1.100,1.101 plague.spec,1.24,1.25
- Next message: rpms/abicheck/devel abicheck-1.2-fortify-source-fc5.patch, NONE, 1.1 abicheck-1.2-libgcc.patch, NONE, 1.1 abicheck.spec, 1.13, 1.14 abicheck.dbfile.FORTIFY_SOURCE, 1.2, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list