pulp / pulp_ansible

A Pulp plugin that manages Ansible content, i.e. roles, collections
https://docs.pulpproject.org/pulp_ansible/
GNU General Public License v2.0
58 stars 54 forks source link

[PR #1837/4cf073bb backport][0.21] Fix import collection marks and signatures #1954

Closed patchback[bot] closed 1 month ago

patchback[bot] commented 1 month ago

This is a backport of PR #1837 as merged into main (4cf073bbecb219f2543c14a2bed2bf3e4d6156c8).

The import code was unable to link up a collection version with its metadata because using multiple fields as a foreign key is not supported by django-import-export. The only viable fallback given existing export files is to use the upstream_id.

fixes #1836