question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Subdirectories matching package name mess up 'conan remove mypkg/*'

See original GitHub issue

create the following structure:

zazz/
|
---conanfile.py
---zazz/
    |
    --- matazz.txt

where conanfile.py contains:

from conans import ConanFile

class zazz(ConanFile):
   name="zazz"
   version="1.0"
   exports = "*"

   def package(self):
      self.copy("*",dst="",src="")

then do:

conan export myname/channel

then:

conan remove zazz/*

You get: WARN: No package recipe reference matches with zazz/matazz.txt pattern

and the zazz package is not removed.

I ran into this with boost.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
memshardedcommented, Jan 3, 2017

Depending on the OS, the command line or shell might try differently the user input, not just for conan, but for other commands too. Please try adding quotes to your command:

$ conan remove "zazz/*"
0reactions
rconde01commented, Jan 6, 2017

weird…I can install through pip - no problem

Read more comments on GitHub >

github_iconTop Results From Across the Web

Methods — conan 1.53.0 documentation
Method used to retrieve the source code from any other external origin like github using $ git clone or just a regular download....
Read more >
Conan Documentation - Conan Docs
Conan is a software package manager which is intended for C and C++ developers. Conan is universal and portable. It works in all...
Read more >
Methods — conan 1.15.1 documentation
source()¶. Method used to retrieve the source code from any other external origin like github using $ git clone or just a regular...
Read more >
conan Documentation - Conan Docs
Conan is a decentralized package manager with a client-server architecture. This means that clients can fetch packages.
Read more >
Profiles — conan 1.56.0 documentation
Also, as a experimental feature, & can be specified as the package name. ... "PATH" for all the packages matching the pattern "mypkg*"...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found