Actions
Refactor #7777
closedAs 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
Updated by fao89 about 4 years ago
- Subject changed from [EPIC] As a developer I want collections sync machinery easier to maintain to As a developer I want collections sync machinery easier to maintain
Updated by fao89 about 4 years ago
- Related to Issue #5745: Sync throws error: "filename 'MANIFEST.json' not found" added
Updated by fao89 about 4 years ago
- Related to Story #7470: As an user I want to sync collections on demand added
Updated by fao89 about 4 years ago
- Related to Issue #7572: Make MANIFEST.json and FILES.json available in the CollectionVersion serializer in the V3 API added
Updated by fao89 about 4 years ago
- Related to Issue #7739: Requirement.yml code doesn't filter by version added
Updated by fao89 about 4 years ago
- Related to Issue #7741: Code doesn't handle requirements.yml sources with different api versions added
Updated by fao89 about 4 years ago
- Related to Story #7751: As an user I want to sync collections and their dependencies added
Updated by bmbouter about 4 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to bmbouter
Updated by bmbouter about 4 years ago
- Status changed from ASSIGNED to POST
Added by bmbouter about 4 years ago
Updated by bmbouter about 4 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset pulp_ansible|2ab95bd8a607262c6ec220fd0ab43d6351b10ea9.
Updated by fao89 about 4 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions
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