extras-buildsys/utils extras-push-new, 1.59, 1.60 ExtrasMultiLib.py, 1.7, 1.8
Michael Schwendt (mschwendt)
fedora-extras-commits at redhat.com
Tue Sep 19 10:04:02 UTC 2006
Author: mschwendt
Update of /cvs/fedora/extras-buildsys/utils
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6291
Modified Files:
extras-push-new ExtrasMultiLib.py
Log Message:
pass 2 (multilib): update only the specific arch-repos we touched, not all
repos for the dist
TODO: more changes/updates...
Index: extras-push-new
===================================================================
RCS file: /cvs/fedora/extras-buildsys/utils/extras-push-new,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -r1.59 -r1.60
--- extras-push-new 17 Sep 2006 19:45:39 -0000 1.59
+++ extras-push-new 19 Sep 2006 10:03:58 -0000 1.60
@@ -703,12 +703,11 @@
# TODO: multilib resolver hook
for dist in diststopush:
- changedagain = False
for arch in archdict[dist]: # list of repo archs
- changedagain |= ExtrasMultiLib.resolveMissing(dist,arch)
+ changedagain = ExtrasMultiLib.resolveMissing(dist,arch)
+ if changedagain:
+ create_arch_repo(dist,arch)
ExtrasMultiLib.done(dist)
- if changedagain:
- run_and_check('extras-repobuild.py %s' % dist)
if opts.doublesync:
run_and_check('extras-sync')
Index: ExtrasMultiLib.py
===================================================================
RCS file: /cvs/fedora/extras-buildsys/utils/ExtrasMultiLib.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- ExtrasMultiLib.py 18 Sep 2006 10:43:50 -0000 1.7
+++ ExtrasMultiLib.py 19 Sep 2006 10:03:58 -0000 1.8
@@ -348,10 +348,9 @@
for dist in sys.argv[1:]:
evalFromTree(dist)
- changed = False
for arch in archdict[dist]: # list of repo archs
- changed |= resolveMissing(dist,arch)
+ changedagain = resolveMissing(dist,arch)
+ if changedagain:
+ create_repo_arch(dist,arch)
done(dist)
- if changed:
- run_and_check('extras-repobuild.py %s' % dist)
sys.exit(0)
More information about the fedora-extras-commits
mailing list