summaryrefslogtreecommitdiffstats
path: root/tools/rpmlisting.py
Commit message (Collapse)AuthorAgeFilesLines
* tools: Fixes from a second 2to3 runSol Jerome2011-04-061-1/+1
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* tools: PY3K + PEP8 fixesSol Jerome2011-04-061-29/+65
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Update dictionary accesses to work with Python 3.0Sol Jerome2008-12-221-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4999 ce84e21b-d406-0410-9b95-82705330c041
* rpmlisting.py patch from soljNarayan Desai2007-08-281-4/+5
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3652 ce84e21b-d406-0410-9b95-82705330c041
* Bug fixes, code cleanups, and more user-friendly error handling for poorly ↵Jason Pepas2006-09-011-56/+48
| | | | | | named rpms. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2165 ce84e21b-d406-0410-9b95-82705330c041
* Updated version of rpmlisting.py.Jason Pepas2006-08-311-24/+84
| | | | | | | | | This newer version is backwards compatible with the previous version, but includes new functionality which allows for creating sepparate PackageLists based on the mtimes of the rpms. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2161 ce84e21b-d406-0410-9b95-82705330c041
* Added 'get_pkgs2()' to rpmlisting.py, which parses rpm filenames instead of ↵Jason Pepas2006-08-251-1/+24
| | | | | | using the rpm command to read rpm meta data. On my machine, this resulted in a runtime reduction from half an hour to 3 seconds. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2110 ce84e21b-d406-0410-9b95-82705330c041
* Updated rpmlisting.py to sort package listings.Jason Pepas2006-08-251-1/+9
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2109 ce84e21b-d406-0410-9b95-82705330c041
* Updated rpmlisting.py to remove verify="nomtime" option for multiarch ↵Jason Pepas2006-07-211-2/+1
| | | | | | packages. the redhat client no longer verifies *any* multiarch packages, so setting verify=nomtime is no longer needed. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1988 ce84e21b-d406-0410-9b95-82705330c041
* Updated rpmlisting.py to disable mtime verification for all multiarch packages.Jason Pepas2006-07-191-2/+5
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1972 ce84e21b-d406-0410-9b95-82705330c041
* updated tools/rpmlisting.py to conform to new multiarch implementation.Jason Pepas2006-07-181-25/+61
| | | | | | | | | also, this fixes the subarch bug (ie, if packages were found for i386, i586, and i686, *all* of them were previously included. now only the 'latest' arch is included). git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1968 ce84e21b-d406-0410-9b95-82705330c041
* Another minor patch from JasonNarayan Desai2006-07-141-4/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1938 ce84e21b-d406-0410-9b95-82705330c041
* handle prereleases and rc releases properly (From Jason Pepas)Narayan Desai2006-07-141-5/+16
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1937 ce84e21b-d406-0410-9b95-82705330c041
* More fixes based on suggestions from JasonNarayan Desai2006-07-121-8/+12
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1934 ce84e21b-d406-0410-9b95-82705330c041
* cleanups suggested by pylintNarayan Desai2006-07-121-19/+21
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1932 ce84e21b-d406-0410-9b95-82705330c041
* Initial version of rpm index generator from Jason PepasNarayan Desai2006-07-121-0/+186
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1931 ce84e21b-d406-0410-9b95-82705330c041