Story #5165
closedAs a user, I can mirror collection content
100%
Description
Currently pulp_ansible calls out to Mazer to perform the sync of Collection content from the Galaxy V2 API. This was done initially to get something working, but it's inefficient since the Stages API could provide asyncio based downloading and Artifact creation.
Solution¶
Switch pulp_ansible sync to use the Stages API instead. This will require several calls to be made to implement the client side of the Collection downloading workflow.
The calls that will need to be made by the downloaders will need to probably call the V2 collection URLs pulp_ansible implements here: https://github.com/pulp/pulp_ansible/blob/master/pulp_ansible/app/urls.py#L24-L38 Also the /api/
call.
Updated by daviddavis over 5 years ago
- Groomed changed from No to Yes
- Sprint set to Sprint 56
Updated by bmbouter over 5 years ago
- Subject changed from As a user, Sync is faster by switching sync to use Stages API to As a user, I can mirror collection content
It's not really about performance as much as being able to mirror all collection content instead of what we have now which is whitelist only. Currently the user would have to name all content to download it all.
Updated by fao89 over 5 years ago
- Status changed from NEW to POST
- Assignee set to fao89
Added by Fabricio Aguiar over 5 years ago
Updated by Anonymous over 5 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset pulp_ansible|49bc50e0d13b19d6493efc6c7f16b92b6bfd825f.
Updated by bmbouter about 4 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Sync collections with stages API
Sync all collections (a full mirror) from Galaxy. Removing whitelist from CollectionRemote, now you can sync collections utilizing just the url:
closes #5165 https://pulp.plan.io/issues/5165