...
What are the “Fetch RPM” flow differences between Base OS (prune_packages
) & External (yumdownloader
) packages?
Jira Legacy
How can we know the URL/path to an RPM’s source repo’s repomd.xml file?
...
source repo’s repomd.xml file?
https://simp-project.atlassian.net/browse/SIMP-9644
This is simple enough to do by hand for an individual package, but I’m not sure how to automate it yet. Here are some ideas:
Option 1: see ifyumdownloader
can be convinced to display the repo root’s URL, like--urls
does with the RPM(I haven’t found an option that does this)
Option 2: walk up the dir tree until we find metadata(hacky, expensive)
Option 3: (somehow) find/define the DNF cache that was used to download the RPM and (somehow) fish out the modulemd data that was used for that specific package
Option 4: Do it everything the other way around:Status colour Green title Current favorite Before getting packages, get a each representative repo’s repomd.xml file first, then use it to find the xxx-packages.yaml.gz
read the modulemd data from the packages.yaml file
filter the modulemd data down to just the streams and packages you need
then run
yumdownloader
to acquire those exact packages
...