pld-ftp-admin: scripts/gen-indexes.py - generate sqlite cache

patrys patrys at pld-linux.org
Mon Jun 16 14:33:05 CEST 2008


Author: patrys                       Date: Mon Jun 16 12:33:05 2008 GMT
Module: pld-ftp-admin                 Tag: HEAD
---- Log message:
- generate sqlite cache

---- Files affected:
pld-ftp-admin/scripts:
   gen-indexes.py (1.19 -> 1.20) 

---- Diffs:

================================================================
Index: pld-ftp-admin/scripts/gen-indexes.py
diff -u pld-ftp-admin/scripts/gen-indexes.py:1.19 pld-ftp-admin/scripts/gen-indexes.py:1.20
--- pld-ftp-admin/scripts/gen-indexes.py:1.19	Sun Jan  6 20:32:59 2008
+++ pld-ftp-admin/scripts/gen-indexes.py	Mon Jun 16 14:33:00 2008
@@ -74,7 +74,7 @@
         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 -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/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.19&r2=1.20&f=u



More information about the pld-cvs-commit mailing list