extras-buildsys/utils/pushscript BuildSys.py,1.1,1.2
Michael Schwendt (mschwendt)
fedora-extras-commits at redhat.com
Tue Feb 27 23:19:27 UTC 2007
- Previous message: extras-buildsys/utils/pushscript BuildSys.py, NONE, 1.1 BlackList.py, 1.2, 1.3 List.py, 1.2, 1.3 Utils.py, 1.11, 1.12 Push.py, 1.33, 1.34
- Next message: rpms/bash-completion/FC-6 bash-completion-20060301-debian.patch, NONE, 1.1 bash-completion-20060301-scp-apos-217178.patch, NONE, 1.1 bash-completion.spec, 1.17, 1.18
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mschwendt
Update of /cvs/fedora/extras-buildsys/utils/pushscript
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31767
Modified Files:
BuildSys.py
Log Message:
Index: BuildSys.py
===================================================================
RCS file: /cvs/fedora/extras-buildsys/utils/pushscript/BuildSys.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- BuildSys.py 27 Feb 2007 23:11:02 -0000 1.1
+++ BuildSys.py 27 Feb 2007 23:19:24 -0000 1.2
@@ -102,7 +102,8 @@
break
if changed:
print 'New packages in PUSHED %s, clearing flag' % pkgrelroot
- Utils.unmark_pkg_pushed(pkgrelroot)
+ br = BuildResults(name,pkgrelroot)
+ br.UnmarkPushed()
continue
if ( time.time()-mtime > 3600*48 ):
print 'Removing old %s' % pkgrelroot
@@ -149,10 +150,12 @@
# 1 means: e,v,r is higher than nexte,nextv,nextr
if Utils.compareEVR((e,v,r),(nexte,nextv,nextr)) == 1:
Utils.debugprint('Ignoring: %s' % nextrelroot)
- Utils.mark_pkg_pushed(nextrelroot)
+ br = BuildResults(name,nextrelroot)
+ br.MarkPushed()
else:
Utils.debugprint('Ignoring: %s' % relroot)
- Utils.mark_pkg_pushed(relroot)
+ br = BuildResults(name,relroot)
+ br.MarkPushed()
# Make this the next newest package for ongoing comparison.
relroot = nextrelroot
(n,a,e,v,r) = (nextn,nexta,nexte,nextv,nextr)
@@ -189,6 +192,10 @@
Utils.mark_pkg(self.origin,'PUSHED')
Utils.unmark_pkg(self.origin,'EXCLUDED')
+ def UnmarkPushed(self):
+ if self.origin:
+ Utils.unmark_pkg(self.origin,'PUSHED')
+
def MarkExcluded(self):
if self.origin:
Utils.mark_pkg(self.origin,'EXCLUDED')
- Previous message: extras-buildsys/utils/pushscript BuildSys.py, NONE, 1.1 BlackList.py, 1.2, 1.3 List.py, 1.2, 1.3 Utils.py, 1.11, 1.12 Push.py, 1.33, 1.34
- Next message: rpms/bash-completion/FC-6 bash-completion-20060301-debian.patch, NONE, 1.1 bash-completion-20060301-scp-apos-217178.patch, NONE, 1.1 bash-completion.spec, 1.17, 1.18
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list