[csw-devel] [PATCH] pull obsolet info into the package stats datastructure

Ben Walton bwalton at opencsw.org
Mon Mar 28 00:36:52 CEST 2011


Hi Maciej,

Any objections to the following?

Thanks
-Ben

Hi Maciej,

Any objections to the following?

Index: package_stats.py
===================================================================
--- package_stats.py    (revision 13944)
+++ package_stats.py    (working copy)
@@ -22,7 +22,7 @@

 from sqlobject import sqlbuilder

-PACKAGE_STATS_VERSION = 10L
+PACKAGE_STATS_VERSION = 11L
 BAD_CONTENT_REGEXES = (
     # Slightly obfuscating these by using the default concatenation
     of
     # strings.
@@ -191,6 +191,7 @@
         "binaries": dir_pkg.ListBinaries(),
         "binaries_dump_info": self.GetBinaryDumpInfo(),
         "depends": dir_pkg.GetDependencies(),
+        "obsolete_info": dir_pkg.GetObsoletedBy(),
         "isalist": sharedlib_utils.GetIsalist(arch),
         "overrides": override_dicts,
         "pkgchk": self.GetPkgchkData(),
--
Ben Walton
Systems Programmer - CHASS
University of Toronto
C:416.407.5610 | W:416.978.4302



More information about the devel mailing list