skvidal | 7 Oct 2010 22:43
Favicon

2 commits - createrepo/__init__.py modifyrepo.py

 createrepo/__init__.py |  185 +++++++++++++++++++------------------------------
 modifyrepo.py          |    3 
 2 files changed, 75 insertions(+), 113 deletions(-)

New commits:
commit 02f4ceccb35e9457fd74776270925b155c7739ce
Author: Seth Vidal <skvidal <at> fedoraproject.org>
Date:   Thu Oct 7 16:42:37 2010 -0400

    make createrepo use the repomd/repodata mechanism from yum for making a repomd.xml which
    simplifies the code dramatically since we don't have to mess with xml in here.

diff --git a/createrepo/__init__.py b/createrepo/__init__.py
index a2ae8b0..13dc115 100644
--- a/createrepo/__init__.py
+++ b/createrepo/__init__.py
 <at>  <at>  -29,6 +29,7  <at>  <at>  import fcntl
 import subprocess

 from yum import misc, Errors, to_unicode
+from yum.repoMDObject import RepoMD, RepoMDError, RepoData
 from yum.sqlutils import executeSQL
 from yum.packageSack import MetaSack
 from yum.packages import YumAvailablePackage, YumLocalPackage
 <at>  <at>  -831,13 +832,11  <at>  <at>  class MetaDataGenerator:

         return ' '.join(results)

-    def addArbitraryMetadata(self, mdfile, mdtype, xml_node, compress=True,
-                                             compress_type='gzip', attribs={}):
(Continue reading)

skvidal | 7 Oct 2010 22:44
Favicon

createrepo/__init__.py

 createrepo/__init__.py |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 3d798747d7f5e9544762ef7a95ab1489d210c36c
Author: Seth Vidal <skvidal <at> fedoraproject.org>
Date:   Thu Oct 7 16:43:48 2010 -0400

    remove libxml2 import from __init__.py :)

diff --git a/createrepo/__init__.py b/createrepo/__init__.py
index 13dc115..5920ca1 100644
--- a/createrepo/__init__.py
+++ b/createrepo/__init__.py
 <at>  <at>  -16,7 +16,6  <at>  <at> 

 import os
 import sys
-import libxml2
 import fnmatch
 import time
 import yumbased
skvidal | 8 Oct 2010 19:26
Favicon

createrepo/__init__.py createrepo.spec

 createrepo.spec        |    2 +-
 createrepo/__init__.py |    5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)

New commits:
commit 3116c3480396b4cbe2bac8c60dbe94297e214a78
Author: Seth Vidal <skvidal <at> fedoraproject.org>
Date:   Fri Oct 8 13:25:57 2010 -0400

    - add yum 3.2.29 requirement b/c of the small change I needed to repoMDObject.py
    -  set it to use /usr/share/createrepo/worker.py

diff --git a/createrepo.spec b/createrepo.spec
index a0292cb..00f9d2b 100644
--- a/createrepo.spec
+++ b/createrepo.spec
 <at>  <at>  -11,7 +11,7  <at>  <at>  URL: http://createrepo.baseurl.org/
 BuildRoot: %{_tmppath}/%{name}-%{version}root
 BuildArchitectures: noarch
 Requires: python >= 2.1, rpm-python, rpm >= 0:4.1.1, libxml2-python
-Requires: yum-metadata-parser, yum >= 3.2.28, python-deltarpm
+Requires: yum-metadata-parser, yum >= 3.2.29, python-deltarpm

 %description
 This utility will generate a common metadata repository from a directory of
diff --git a/createrepo/__init__.py b/createrepo/__init__.py
index 5920ca1..6ea674e 100644
--- a/createrepo/__init__.py
+++ b/createrepo/__init__.py
 <at>  <at>  -107,8 +107,9  <at>  <at>  class MetaDataConfig(object):
(Continue reading)

Msquared | 12 Oct 2010 09:07
Picon
Favicon

createrepo doesn't properly escape the version number when generating "provides" lists in primary.xml

Hi!

I've created a ticket for this here:

  http://createrepo.baseurl.org/ticket/9

However, the man page says to report bugs to this email address, so I
thought I'd just let you know about the ticket.

Let me know if you need more information!

Regards, Msquared...
James Antill | 13 Oct 2010 05:13
Favicon

Re: createrepo doesn't properly escape the version number when generating "provides" lists in primary.xml

On Tue, 2010-10-12 at 15:07 +0800, Msquared wrote:
> Hi!
> 
> I've created a ticket for this here:
> 
>   http://createrepo.baseurl.org/ticket/9
> 
> However, the man page says to report bugs to this email address, so I
> thought I'd just let you know about the ticket.

 What versions of yum and createrepo? I was pretty sure that was fixed
in F13's versions.

Gmane