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

Remove outdated package after to upload #282

Open
uilianries opened this issue Oct 16, 2018 · 1 comment · May be fixed by #353
Open

Remove outdated package after to upload #282

uilianries opened this issue Oct 16, 2018 · 1 comment · May be fixed by #353

Comments

@uilianries
Copy link
Member

Hi!

As a maintainer we know how much effort we need to keep updated all our packages. But sometimes we have outdated packages, after uploading a new recipe/package.

Would be nice removing all outdated packages by CPT, avoiding any manual work.

My idea is include some new flag, CONAN_REMOVE_OUTDATED.
When true, CPT runs conan remove -r upload_repo <reference> --outdated --force

Regards!

@lasote
Copy link
Contributor

lasote commented Oct 18, 2018

agree! As far as it is an opt-in variable I'm ok with it.

@lasote lasote added this to the 0.21.0 milestone Oct 18, 2018
@uilianries uilianries self-assigned this Mar 15, 2019
@uilianries uilianries modified the milestones: 0.21.0, 0.25.0 Mar 15, 2019
uilianries added a commit to uilianries/conan-package-tools that referenced this issue Mar 15, 2019
- The new option will run conan remove <ref> -r <remote> -f --outdated
  after to upload a package

Signed-off-by: Uilian Ries <[email protected]>
@uilianries uilianries linked a pull request Mar 15, 2019 that will close this issue
4 tasks
uilianries added a commit to uilianries/conan-package-tools that referenced this issue Mar 15, 2019
Signed-off-by: Uilian Ries <[email protected]>
@uilianries uilianries removed this from the 0.25.0 milestone Mar 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants