pld-ftp-admin: scripts/gen-indexes.py - move comps.xml to subdir and cvs up...
glen
glen at pld-linux.org
Thu Aug 28 16:28:07 CEST 2008
Author: glen Date: Thu Aug 28 14:28:07 2008 GMT
Module: pld-ftp-admin Tag: HEAD
---- Log message:
- move comps.xml to subdir and cvs up it prior each run
---- Files affected:
pld-ftp-admin/scripts:
gen-indexes.py (1.20 -> 1.21)
---- Diffs:
================================================================
Index: pld-ftp-admin/scripts/gen-indexes.py
diff -u pld-ftp-admin/scripts/gen-indexes.py:1.20 pld-ftp-admin/scripts/gen-indexes.py:1.21
--- pld-ftp-admin/scripts/gen-indexes.py:1.20 Mon Jun 16 14:33:00 2008
+++ pld-ftp-admin/scripts/gen-indexes.py Thu Aug 28 16:28:02 2008
@@ -69,12 +69,13 @@
(ftp_dir,home,ftp_dir,ftp_dir,tree,arch))
if do_yum:
+ os.system('set -x; cd %s.stat/repodata && cvs up comps.xml' % ftp_dir)
for tree in trees:
print '-------------------------- %s --------------------------' % tree
for arch in all_ftp_archs:
print 'ARCHITECTURE: %s' % arch
# Creating indexes for yum and other supporting xml repodata.
- os.system('%s.stat/bin/createrepo -d -g %s.stat/comps.xml --cache %s/tmp/createrepo/%s-%s %s%s/%s/RPMS' %
+ os.system('%s.stat/bin/createrepo -d -g %s.stat/repodata/comps.xml --cache %s/tmp/createrepo/%s-%s %s%s/%s/RPMS' %
(ftp_dir,ftp_dir,home,tree,arch,ftp_dir,tree,arch))
for tree in trees:
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/pld-ftp-admin/scripts/gen-indexes.py?r1=1.20&r2=1.21&f=u
More information about the pld-cvs-commit
mailing list