Skip to content
This repository was archived by the owner on Mar 13, 2026. It is now read-only.

#282 Add CONAN_REMOVE_OUTDATE_PACKAGES option#353

Open
uilianries wants to merge 11 commits into
conan-io:developfrom
uilianries:feature/remove-outdated
Open

#282 Add CONAN_REMOVE_OUTDATE_PACKAGES option#353
uilianries wants to merge 11 commits into
conan-io:developfrom
uilianries:feature/remove-outdated

Conversation

@uilianries
Copy link
Copy Markdown
Member

@uilianries uilianries commented Mar 15, 2019

The new option will run conan remove <ref> -r <remote> -f --outdated after to upload a package.

Changelog: Feature: Remove outdated package after to upload (#282)

closes #282

  • Refer to the issue that supports this Pull Request.
  • If the issue has missing info, explain the purpose/use case/pain/need that covers this Pull Request.
  • I've read the Contributing guide.
  • I've followed the PEP8 style guides for Python code.

- The new option will run conan remove <ref> -r <remote> -f --outdated
  after to upload a package

Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
@uilianries
Copy link
Copy Markdown
Member Author

All conflicts have been solved!

@uilianries uilianries added this to the 0.25.0 milestone Mar 19, 2019
@lasote lasote removed this from the 0.25.0 milestone Mar 20, 2019
Comment thread cpt/test/test_client/erase_checks_test.py Outdated
- nose_parametrized is deprecated and has been replaced by parametrized

Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
Signed-off-by: Uilian Ries <uilianries@gmail.com>
@uilianries
Copy link
Copy Markdown
Member Author

Ops! It's incompatible with Conan-dev branch:

AttributeError: 'ConanFileLoader' object has no attribute 'load_class'

Signed-off-by: Uilian Ries <uilianries@gmail.com>
@uilianries
Copy link
Copy Markdown
Member Author

@lasote I've mixed this PR with a fix to support Conan 1.20.0-dev. The load_class method was removed from Conan API.

@lasote
Copy link
Copy Markdown
Contributor

lasote commented Oct 30, 2019

Please, extract the fix for the Conan 1.20 to another branch, I'm not sure about this feature, to be honest.

@uilianries
Copy link
Copy Markdown
Member Author

Please, extract the fix for the Conan 1.20 to another branch, I'm not sure about this feature, to be honest.

Done: #419

@Croydon
Copy link
Copy Markdown
Contributor

Croydon commented Nov 22, 2020

I think this is still a feature worth considering, what do you all think?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove outdated package after to upload

3 participants