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 documentation about using --package-query to remove only specific packages #3157

Merged
merged 2 commits into from
Apr 10, 2023

Conversation

AbrilRBS
Copy link
Member

@AbrilRBS AbrilRBS commented Apr 5, 2023

@AbrilRBS AbrilRBS requested a review from memsharded April 5, 2023 12:28
@memsharded memsharded added this to the 2.0.4 milestone Apr 5, 2023
@@ -94,7 +94,15 @@ pattern including the ``:`` separator of the ``package_id``:
# in normal situations


All the above commands, by default operate in the Conan cache.
Note that you can filter which packages will be removed using the ``--package-query`` argument:
Copy link
Contributor

Choose a reason for hiding this comment

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

can we fully document package query syntax somewhere and provide a link here?
like operators (AND, NOT, OR, XOR, =, !=, etc.), patterns (can I use build_type=Rel*?)
also, it's a bit unclear, if it can filter only by settings, but not by options?

Copy link
Member Author

Choose a reason for hiding this comment

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

Good idea! Thanks for the suggestion :)

Copy link
Member Author

Choose a reason for hiding this comment

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

I've clarified that both settings and options work, and will work on adding a syntax reference in another PR

@AbrilRBS AbrilRBS requested a review from SSE4 April 10, 2023 13:10
@czoido czoido merged commit 1b5c46c into conan-io:develop2 Apr 10, 2023
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.

4 participants