#9 Split out repositories into separate files
Merged by ngompa. Opened by daandemeyer.
daandemeyer/rpmdistro-repoquery repodirs  into  main

Download 9.patch

This allows using the repository files from other tools using dnf's
reposdir= option.

To keep rpmdistro-query usable from a repository checkout, we calculate
the location of the repository directory in the rpmdistro-repoquery
script based on the path of the given config.

Instead of preprocessing the config files for mageia and sle-bci, we
use dnf's support for setting variables via environment variables to
set the necessary variables directly from the rpmdistro-repoquery script
and get rid of rpmdistro-gendnfconf.

Will this work with @salimma's packaged version?

Will this work with @salimma's packaged version?

I don't see why it wouldn't, you still have to provide the path to the config file right? And the repo files will be located at the same relative location when packaged and when in the source repo, so this approach should work for both scenarios.

Pull-Request has been merged by ngompa

Metadata