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

[question] conan remove pattern format #16165

Closed
1 task done
db4 opened this issue Apr 27, 2024 · 1 comment
Closed
1 task done

[question] conan remove pattern format #16165

db4 opened this issue Apr 27, 2024 · 1 comment
Assignees

Comments

@db4
Copy link
Contributor

db4 commented Apr 27, 2024

What is your question?

From conan remove --help output:

positional arguments:
  pattern               A pattern in the form 'pkg/version#revision:package_id#revision', e.g: zlib/1.2.13:* means all binaries for zlib/1.2.13. If revision is not specified, it is assumed latest one.

What does the second revision in the pattern mean? I could assume it's PREV, but they have been removed from Conan 2. Can you clarify?

Have you read the CONTRIBUTING guide?

  • I've read the CONTRIBUTING guide
@memsharded
Copy link
Member

Hi @db4

Thanks for your question.

What does the second revision in the pattern mean? I could assume it's PREV, but they have been removed from Conan 2. Can you clarify?

The package-revisions have not been removed, they already exist and they can be listed with conan list as the pattern help describes.

What has been removed in Conan 2 is the influence of package-revisions into the consumers package_id, or the ability to lock a specific package revisions, because they are assumed to be unnecessary and mostly a result of a process or model error. But they are still stored and visible, so it is possible to be aware of such process or model error (or for extreme cases of environment malfunctions that is necessary to force the rebuild of binaries without a model change).

@db4 db4 closed this as completed May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants