Refactor #7777
As a developer I want collections sync machinery easier to maintain
Start date:
Due date:
% Done:
100%
Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 86
Quarter:
Q4-2020
Description
Currently, the sync machinery for collections contains multiple workarounds, which makes it hard to address issues and implement features.
Related issues
Associated revisions
History
#2
Updated by fao89 3 months ago
- Related to Issue #5745: Sync throws error: "filename 'MANIFEST.json' not found" added
#3
Updated by fao89 3 months ago
- Related to Story #7470: As an user I want to sync collections on demand added
#4
Updated by fao89 3 months ago
- Related to Issue #7572: Make MANIFEST.json and DIGEST.json available in the CollectionVersion serializer in the V3 API added
#5
Updated by fao89 3 months ago
- Related to Issue #7739: Requirement.yml code doesn't filter by version added
#6
Updated by fao89 3 months ago
- Related to Issue #7741: Code doesn't handle requirements.yml sources with different api versions added
#7
Updated by fao89 3 months ago
- Related to Issue #7751: As an user I want to sync collections and their dependencies added
#11
Updated by bmbouter about 2 months ago
- Status changed from ASSIGNED to POST
#12
Updated by bmbouter about 2 months ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset pulp_ansible|2ab95bd8a607262c6ec220fd0ab43d6351b10ea9.
#13
Updated by fao89 about 2 months ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Please register to edit this issue
Refactors sync to use asyncio more and many tests
The previous sync machinery design was very complicated due to treating the asynchronous coroutines as synchronous code. This rewrites the sync code to have the coroutines track the work instead.
In doing the rewrite several bugs were fixed also:
It also makes many test improvements:
closes #7739 closes #7741 closes #7777