Extend optimize feature to mirror=True sync policy
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 30/100
Research direction
Start by reading the linked pull request 630 and the existing pulpcore mirror option. Investigate how sync policies and repository versions currently handle optimize mode, then determine the entry points needed for a dedicated AptMirror stage. Done means mirroring selected distributions or components without deleting content retained by optimize mode.
Written by the indexing model from the issue text.
Description
optimize mode currently does not work in combination with mirror=True sync policy, so we do not use them together: https://github.com/pulp/pulp_deb/pull/630
The reason is that since optimize mode does not add anything, mirror mode then goes ahead and deletes everything from the repo "since it is no longer in the upstream repo".
Our first attempt at using optimize in combination with mirror ended up in a dead end.
The new plan is to replace the pulpcore mirror option with a dedicated AptMirror stage, that is capable of mirroring individual distributions or components instead of just the entire new repository version.
- Dominant language
- Python
- Stars
- 71
- Forks
- 91
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 22
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from pulp/pulp_deb
-
Triage-Needed
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Sync fails for a flat repo whose Release lists only SHA512 checksums (PackageIndex requires sha256) Open
Difficulty 3/5 1-2 days Newbie friendliness 78/100
-
Triage-Needed
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
.bugfix
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
Remote not signed OpenTriage-Needed
Difficulty 3/5 1-2 days Newbie friendliness 58/100
Similar issues
-
area/auth bug comp/agent P3 platform/discord type/security
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
NousResearch/hermes-agent#117848 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
bancolombia/sentinel#23 ·
-
test md OpenCI
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
bug client
Difficulty 2/5 1-3 hours Newbie friendliness 88/100