#17 Add the ability to query for containers using PDC in fedcontainer_rc.py
Merged by maxamillion. Opened by mprahl.
Unknown source master

Download 17.patch

This is part of the work described in the Arbitrary Branching Change.

This PR simplifies get_cntr_list and makes it return a list of container names which was the only value that was used throughout the module. It also adds the ability to specify PDC as the source to query for container information.

Please note that the production instance of PDC does not have data in it and the staging instance of PDC is not up to date, so it will not produce a 1x1 mapping with the PkgDB query yet. This should happen by the end of the week.

@maxamillion may you please review this when you have time?

Please note that the production instance of PDC does not have data in it and the staging instance of PDC is not up to date, so it will not produce a 1x1 mapping with the PkgDB query yet. This should happen by the end of the week.

The preliminary export of pkgdb into PDC is done now in prod:

https://pdc.fedoraproject.org/rest_api/v1/component-branches/?type=container&active=True

I'll do another run of the export script before we shut down pkgdb, to make sure we have the latest data ther.

:thumbsup: LGTM

Thanks for the patch!

Pull-Request has been merged by maxamillion

Metadata