skvidal | 3 Jan 2012 23:19
Favicon

createrepo/__init__.py genpkgmetadata.py

 createrepo/__init__.py |   22 ++++++++++++++++------
 genpkgmetadata.py      |    2 +-
 2 files changed, 17 insertions(+), 7 deletions(-)

New commits:
commit 25a2dea093a3d449ab1a031e42226a7a5af0c6ec
Author: Seth Vidal <skvidal <at> fedoraproject.org>
Date:   Tue Jan 3 17:17:58 2012 -0500

    make compress_type default to 'compat' which makes it use gz for the xml files
    and bzip2 for the sqlite files - so that rhel5 yum doesn't get pissy

diff --git a/createrepo/__init__.py b/createrepo/__init__.py
index 2d3514e..3f55700 100644
--- a/createrepo/__init__.py
+++ b/createrepo/__init__.py
 <at>  <at>  -111,7 +111,7  <at>  <at>  class MetaDataConfig(object):
         self.worker_cmd = '/usr/share/createrepo/worker.py'
         #self.worker_cmd = './worker.py' # helpful when testing
         self.retain_old_md = 0
-        self.compress_type = 'gz'
+        self.compress_type = 'compat'

         
 class SimpleMDCallBack(object):
 <at>  <at>  -144,10 +144,15  <at>  <at>  class MetaDataGenerator:
         self.files = []
         self.rpmlib_reqs = {}
         self.read_pkgs = []
+        self.compat_compress = False
(Continue reading)


Gmane