1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-09-21 09:46:19 +02:00
Commit Graph

9 Commits

Author SHA1 Message Date
Marcus Huewe
de84575ab0 - don't read all rpm/deb tags/fields by default 2010-01-14 19:51:09 +01:00
79cada9493 do not die after downloading -debuginfo packages
(can maybe solved in a nicer way)
2009-10-07 15:35:45 +00:00
Marcus Hüwe
5083dfd6d0 - it's lib/rpmvercmp.c instead of rpmio/rpmvercmp.c... 2009-09-21 16:51:38 +00:00
Marcus Hüwe
8c14808dd1 - util/rpmquery.py: implemented RPM's version comparison algorithm as described in rpmio/rpmvercmp.c
- util/packagequery.py: added vercmp(pkgq) method
- util/debquery.py: currently vercmp(degq) is only a dummy method. The real implementation will follow soon.
2009-09-21 16:47:54 +00:00
Marcus Hüwe
cc6d7413fb - fix for older python versions 2009-09-20 17:19:33 +00:00
Marcus Hüwe
62be2245e7 - util/rpmquery.py, util/debquery.py: added "filename_suffix" attribute
- fetch.py: also rewrite the filename for debian packages (this is only useful for older obs instances)
2009-09-13 17:25:48 +00:00
Marcus Hüwe
4bb893a114 - added the following new modules:
* util/packagequery.py: it's used to query a RPM or DEB package. It also contains a
    base class for all package types (PackageQuery())
  * util/debquery.py: query a DEB package (name, version, release, provides, requires etc.)
- adapted util/rpmquery.py to use PackageQuery() as a base class
- minor changes in util/ar.py
2009-09-12 19:02:58 +00:00
Marcus Hüwe
cb16432cd9 - get rid of rpm-python:
* so far it was only used for querying rpms which can be done with the rpmquery module
- core.py:
  * removed data_from_rpm() and tag_to_rpmpy() methods
- util/rpmquery.py:
  * added staticmethod "query()"
- commandline.py, fetch.py:
  * use rpmquery module instead of rpm-python/data_from_rpm()
2009-09-09 15:28:21 +00:00
Marcus Hüwe
221fe84d1a - added rpmquery module:
* this module can be used to retrieve data from the rpmheader
  * Note: for now the signature header is completely ignored
2009-09-09 14:39:53 +00:00