public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-arch/createrepo/files: createrepo-0.10.3-pkglist.patch createrepo-0.10.3-ten-changelog-limit.patch
@ 2014-12-25 11:12 Alon Bar-Lev (alonbl)
  0 siblings, 0 replies; only message in thread
From: Alon Bar-Lev (alonbl) @ 2014-12-25 11:12 UTC (permalink / raw
  To: gentoo-commits

alonbl      14/12/25 11:12:05

  Added:                createrepo-0.10.3-pkglist.patch
                        createrepo-0.10.3-ten-changelog-limit.patch
  Log:
  Add some patches
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key BF20DC51)

Revision  Changes    Path
1.1                  app-arch/createrepo/files/createrepo-0.10.3-pkglist.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/createrepo/files/createrepo-0.10.3-pkglist.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/createrepo/files/createrepo-0.10.3-pkglist.patch?rev=1.1&content-type=text/plain

Index: createrepo-0.10.3-pkglist.patch
===================================================================
diff --git a/createrepo/__init__.py b/createrepo/__init__.py
index b1875f6..85f2a3d 100644
--- a/createrepo/__init__.py
+++ b/createrepo/__init__.py
@@ -400,7 +400,9 @@ class MetaDataGenerator:
         if self.conf.update:
             self._setup_old_metadata_lookup()
         # rpms we're going to be dealing with
-        if self.conf.pkglist:
+        if isinstance(self.conf.pkglist, MetaSack):
+            packages = self.conf.pkglist
+        elif self.conf.pkglist:
             packages = []
             for pkg in self.conf.pkglist:
                 if '://' in pkg: # remote



1.1                  app-arch/createrepo/files/createrepo-0.10.3-ten-changelog-limit.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/createrepo/files/createrepo-0.10.3-ten-changelog-limit.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/createrepo/files/createrepo-0.10.3-ten-changelog-limit.patch?rev=1.1&content-type=text/plain

Index: createrepo-0.10.3-ten-changelog-limit.patch
===================================================================
--- createrepo/__init__.py~	2011-01-26 12:14:30.000000000 -0500
+++ createrepo/__init__.py	2011-01-26 12:34:17.291441719 -0500
@@ -96,7 +96,7 @@
         self.mdtimestamp = 0
         self.directory = None
         self.directories = []
-        self.changelog_limit = None # needs to be an int or None
+        self.changelog_limit = 10 # needs to be an int or None
         self.unique_md_filenames = True
         self.additional_metadata = {} # dict of 'type':'filename'
         self.revision = str(int(time.time()))





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-12-25 11:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-25 11:12 [gentoo-commits] gentoo-x86 commit in app-arch/createrepo/files: createrepo-0.10.3-pkglist.patch createrepo-0.10.3-ten-changelog-limit.patch Alon Bar-Lev (alonbl)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox