#541 RFE: mapping from package to modules
Closed: Fixed 5 years ago by lucarval. Opened 6 years ago by msuchy.

We need some (command line) tool which will be able map from package to list of module.

I will provide package (e.g. mod_ssl) and I want to get list of modules which has this package in its API.

This will be useful for developer who is creating his own module and is looking which module they should use as dependency. Right now the choice is very limited, but in future there may be lots of modules.


FYI - freshmaker has code to do this:

https://pagure.io/freshmaker/blob/master/f/freshmaker/handlers/git/rpm_spec_change.py#_50-52

It still needs to be extracted/copied into an independent script for humans to use.

Oh, I misread this. It's not quite the same.

The freshmaker code finds modules which have the rpm in their built list.. but it doesn't further limit that to what is in the API.

There's a PR for a script which should be able to determine modules which contain specific package and limit them further to what is in the API.

Here: https://pagure.io/releng/pull-request/6970

Looks like modulepkg.py as @fivaldi mentioned solves this use case. Closing this issue then.

If you disagree with this, please feel free to re-open this issue.

Metadata Update from @lucarval:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

5 years ago

Login to comment on this ticket.

Metadata