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

[bug] conan remove does not find recipe #5297

Closed
Johnnyxy opened this issue Jun 5, 2019 · 0 comments · Fixed by #5346
Closed

[bug] conan remove does not find recipe #5297

Johnnyxy opened this issue Jun 5, 2019 · 0 comments · Fixed by #5346

Comments

@Johnnyxy
Copy link

Johnnyxy commented Jun 5, 2019

Hi there,
I tried to delete every version of a recipe in a certain user/channel but Conan stopped working with the error that it could not find the recipe:

conan remove cygwin_installer/*@user/channel
ERROR: Recipe not found: 'cygwin_installer/*@user/channel'

But when I modify the recipe name and append an asterix it works:

conan remove cygwin_installer*/*@user/channel
Are you sure you want to delete from 'cygwin_installer/2.9.0@user/channel' (yes/no):

Is this intentional?

uilianries added a commit to uilianries/conan that referenced this issue Jun 12, 2019
Signed-off-by: Uilian Ries <uilianries@gmail.com>
uilianries added a commit to uilianries/conan that referenced this issue Jun 12, 2019
Signed-off-by: Uilian Ries <uilianries@gmail.com>
uilianries added a commit to uilianries/conan that referenced this issue Jun 12, 2019
- Not only version, but also channel and user can
  contain asterisk

Signed-off-by: Uilian Ries <uilianries@gmail.com>
uilianries added a commit to uilianries/conan that referenced this issue Jun 12, 2019
Signed-off-by: Uilian Ries <uilianries@gmail.com>
uilianries added a commit to uilianries/conan that referenced this issue Jun 12, 2019
Signed-off-by: Uilian Ries <uilianries@gmail.com>
danimtb pushed a commit that referenced this issue Jun 17, 2019
* #5297 Add test that reproduces the error

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* #5297 Remove all when version is asterisk

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* #5297 Fix remove rule when using asterisk

- Not only version, but also channel and user can
  contain asterisk

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* #5297 Validate channel when removing

Signed-off-by: Uilian Ries <uilianries@gmail.com>

* #5297 Check valid reference

Signed-off-by: Uilian Ries <uilianries@gmail.com>
@memsharded memsharded added this to the 1.17 milestone Jun 24, 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.

5 participants