-
Notifications
You must be signed in to change notification settings - Fork 991
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
conan remove
pkg-lists support
#14082
conan remove
pkg-lists support
#14082
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we be testing the new argument in small tests too? I know there's one describing a use case for download + upload, but then this one would seem to be missing
if args.list: | ||
listfile = make_abs_path(args.list) | ||
multi_package_list = MultiPackagesList.load(listfile) | ||
package_list = multi_package_list["Local Cache" if not remote else remote.name] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe time to move "Local Cache" to some kind of constant? (Not on this PR) It's in the codebase a few times by now
Yes, definitely. I will add tests. I was trying to make sure things didn't break and interface looked good, and I forgot to finally add them. |
Changelog: Feature: Allow
conan remove --list=pkglist
to remove package-lists.Changelog: Feature: Output for
conan remove --format
both text (summary of deleted things) and json.Docs: conan-io/docs#3270
Need it as pre-condition for LRU functionality in #14054