1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-02 13:06:14 +01:00
github.com_openSUSE_osc/osc/util
Luke Imhoff 96210b6dac Allow --prefer-pkgs to parse repodata
Any directory passed to --prefer-pkgs will be searched for a repodata
directory.  If the directory does not contain a repodata directory, then
each ancestor directory is checked.  This allows for the user error of
specifying an individual architecture directory (e.g. x86_64) instead of the
parent repository directory that contains the repodata:

repository/
  x86_64/
    *.rpm
  repodata/
    *.xml.gz

The use case for this feature is it allows snapshots of the OBS repositories
to be offloaded to an network-attached filesystem.  repodata directories are
used as the xml.gz files are faster to read than the 100s of rpms in a given
snapshot.  These snapshots are used to track older rpm sets that may be
deployed for testing.
2010-01-18 09:12:10 -06:00
..
__init__.py - added the following new modules: 2009-09-12 19:02:58 +00:00
ar.py - yet another fix for python24... 2009-11-06 21:38:29 +00:00
cpio.py - yet another fix for python24... 2009-11-06 21:38:29 +00:00
debquery.py Allow --prefer-pkgs to parse repodata 2010-01-18 09:12:10 -06:00
packagequery.py Allow --prefer-pkgs to parse repodata 2010-01-18 09:12:10 -06:00
repodata.py Allow --prefer-pkgs to parse repodata 2010-01-18 09:12:10 -06:00
rpmquery.py Allow --prefer-pkgs to parse repodata 2010-01-18 09:12:10 -06:00