Skip to content

fedora: Update versions in packages dict provided as loader argument

In a similar way to the debian lister, use the following versions in the packages dictionary provided to the generic rpm loader:

  • dict keys are package versions prefixed by the fedora release and edition they have been found (fedora{release}/{edition}/{version}), they will be used as branch names targeting releases in the snapshot created by the rpm loader

  • version fields in dict values are the package intrinsic versions parsed from package repository metadata excluding any ".fcXY" suffixes to avoid the loader to create multiple releases targeting the same directory, they will be used as release names in the snapshot created by the rpm loader

Related to #4448 (moved)

This is what we obtain in the webapp in docker after swh-web!960 (closed) got landed, rpm loader slightly adapted (will add comments in swh-loader-core!344 (closed) for the changes) and some fedora packages loaded:

image image image image


Migrated from D8848 (view on Phabricator)

Merge request reports