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

Add backup source removal from conan cache clean - defaults of OFF #15845

Merged
merged 2 commits into from
Mar 11, 2024

Conversation

AbrilRBS
Copy link
Member

@AbrilRBS AbrilRBS commented Mar 11, 2024

Changelog: Feature: Add --backup-sources flag to conan cache clean.
Changelog: Bugfix: Move get_backup_sources() method to expected CacheAPI from UploadAPI.
Docs: Omit

The flag is not on by default, meaning that simply running conan cache clean won't clear the backups, you need to explicitly enable it

Closes #14707

Copy link
Member

@memsharded memsharded left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

conan/api/subapi/upload.py Outdated Show resolved Hide resolved
@AbrilRBS AbrilRBS added this to the 2.2.0 milestone Mar 11, 2024
@AbrilRBS AbrilRBS marked this pull request as ready for review March 11, 2024 12:19
@memsharded memsharded merged commit fc2830a into conan-io:develop2 Mar 11, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Should conan cache clean <ref> remove the local backup files for that reference?
2 participants