pld-ftp-admin: scripts/gen-indexes.py - no preaty xmls -- noone wi...

czarny czarny at pld-linux.org
Wed May 30 08:40:20 CEST 2007


Author: czarny                       Date: Wed May 30 06:40:20 2007 GMT
Module: pld-ftp-admin                 Tag: HEAD
---- Log message:
- no preaty xmls -- noone will read 10000+ line files and  the result files are 0.5MB smaller
- long name parameters

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

---- Diffs:

================================================================
Index: pld-ftp-admin/scripts/gen-indexes.py
diff -u pld-ftp-admin/scripts/gen-indexes.py:1.11 pld-ftp-admin/scripts/gen-indexes.py:1.12
--- pld-ftp-admin/scripts/gen-indexes.py:1.11	Tue May 29 09:53:19 2007
+++ pld-ftp-admin/scripts/gen-indexes.py	Wed May 30 08:40:15 2007
@@ -50,9 +50,7 @@
                 os.system('%s.stat/bin/poldek-new --cachedir=%s/tmp/poldek --conf %s.stat/etc/poldek.conf -s %s%s/%s/RPMS/ --mkidxz --mkidx-type pdir' %
                         (ftp_dir,home,ftp_dir,ftp_dir,tree,arch))
             # Creating indexes for yum and other supporting xml repodata.
-            # -c cache directory; speeds up generation with files once cached
-            # -p; output human readable (indended) xml files; they get gziped after, so no harm done
-            os.system('%s.stat/bin/createrepo -c %s/tmp/createrepo -p %s%s/%s/RPMS' %
+            os.system('%s.stat/bin/createrepo --cache %s/tmp/createrepo %s%s/%s/RPMS' %
                         (ftp_dir,home,ftp_dir,tree,arch))
 
 for tree in trees:
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/pld-ftp-admin/scripts/gen-indexes.py?r1=1.11&r2=1.12&f=u



More information about the pld-cvs-commit mailing list