Issue #8047
Updated by pulpbot about 3 years ago
**Ticket moved to GitHub**: "pulp/pulp_ansible/717":https://github.com/pulp/pulp_ansible/issues/717 ---- I'll share a pulp_ansible edge case, We have rh-certified and community collections, both with the same identity (namespace, name, version), the content ideally would be the same, but in some cases the sha256s are different. API: https://galaxy.ansible.com/api/v2/collections/vmware/vmware_rest/versions/1.0.1/ Download URL: https://cloud.redhat.com/api/automation-hub/v3/artifacts/collections/published/vmware-vmware_rest-1.0.1.tar.gz ~~~ text "sha256": "297358d05551bd104eb94be40edaa14dd55ea9f9a2f3953f58f0197689536c7d", "size": 153850 ~~~ API: https://cloud.redhat.com/api/automation-hub/v3/collections/vmware/vmware_rest/versions/1.0.1/ Download URL: https://galaxy.ansible.com/download/vmware-vmware_rest-1.0.1.tar.gz ~~~ text "size": 153853, "sha256": "d3f47947d6a0ac81f5fc8d65ef38abe0ec953765504c9421640d81f0f39462c7" ~~~ So when you sync from one source and re-sync from another source, the existent content is used, but it downloads a new artifact since the sha256 is different. So in the end, we have: * Content (Source A) * ContentArtifact (Source A) * Artifact (Source A) * Artifact (Source B)