Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend optimize feature to mirror=True sync policy #631

Open
quba42 opened this issue Aug 31, 2022 · 2 comments
Open

Extend optimize feature to mirror=True sync policy #631

quba42 opened this issue Aug 31, 2022 · 2 comments
Labels
.feature CHANGES/<issue_number>.feature

Comments

@quba42
Copy link
Collaborator

quba42 commented Aug 31, 2022

optimize mode currently does not work in combination with mirror=True sync policy, so we do not use them together: #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.

@quba42 quba42 added Feature Triage-Needed .feature CHANGES/<issue_number>.feature and removed Triage-Needed labels Aug 31, 2022
@quba42
Copy link
Collaborator Author

quba42 commented Aug 31, 2022

This issue should revert 881f198

@quba42
Copy link
Collaborator Author

quba42 commented Feb 29, 2024

We consider the full featured partial optimize mode to be blocked until we have subrepositories in pulp_deb. In the meantime we want to start with the most important special case, which is relatively easy to fix now: #1027

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
.feature CHANGES/<issue_number>.feature
Projects
None yet
Development

No branches or pull requests

1 participant