extras-buildsys/utils extras-push-new,1.13,1.14
Michael Schwendt (mschwendt)
fedora-extras-commits at redhat.com
Sat May 20 14:34:30 UTC 2006
- Previous message (by thread): fedora-security/audit fc4,1.255,1.256 fc5,1.169,1.170
- Next message (by thread): rpms/yakuake/devel .cvsignore, 1.2, 1.3 sources, 1.2, 1.3 yakuake.spec, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mschwendt
Update of /cvs/fedora/extras-buildsys/utils
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19326
Modified Files:
extras-push-new
Log Message:
only rename list "dists" to "diststopush" as the initial naming was unfortunate
Index: extras-push-new
===================================================================
RCS file: /cvs/fedora/extras-buildsys/utils/extras-push-new,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- extras-push-new 19 May 2006 11:23:01 -0000 1.13
+++ extras-push-new 20 May 2006 14:34:28 -0000 1.14
@@ -503,17 +503,17 @@
print 'SYNTAX: %s <dist|all> [dist]...' % sys.argv[0]
sys.exit(errno.EINVAL)
- dists = [] # the list of distribution release we want to push
+ diststopush = []
for d in sys.argv[1:]:
if d == 'all':
- dists = alldists
+ diststopush = alldists
continue
if d not in alldists:
print "ERROR: No Distribution named '%s' found" % d
sys.exit(1)
- if d not in dists:
- dists.append(d)
- debugprint(dists)
+ if d not in diststopush:
+ diststopush.append(d)
+ debugprint(diststopush)
if not os.path.exists(rundir):
os.makedirs(rundir)
@@ -522,14 +522,14 @@
lock = LockFile(lockfile)
lock.lock()
- for dist in dists:
+ for dist in diststopush:
result = sign_move(dist)
if result and result != 4: # 4 = no packages to sign
sys.exit(result)
# Option -f re-runs repobuild/repoview for all dists, even if
# no new packages have been pushed for a dist.
- changed = dists
+ changed = diststopush
if opts.force:
changed = alldists
@@ -551,7 +551,7 @@
run_and_check('extras-sync')
if opts.mail:
- for dist in dists:
+ for dist in diststopush:
email_list( getlinesfromrunfile(dist), dist )
emptyrunfile(dist)
- Previous message (by thread): fedora-security/audit fc4,1.255,1.256 fc5,1.169,1.170
- Next message (by thread): rpms/yakuake/devel .cvsignore, 1.2, 1.3 sources, 1.2, 1.3 yakuake.spec, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list