-
Notifications
You must be signed in to change notification settings - Fork 993
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] Editable libs not removable if deleted #16164
Comments
Hi @Sickeroni Thanks for your question.
If you remove the folder containing the editable, you can still remove that editable by reference: $ conan editable remove -r=mypkg/0.1 Have you tried that? |
Hey But now i have a new question. But I don't think it was never discussed. Can i get some infos about that situation? |
Sounds reasonable, not sure how difficult it is (I think the way it works now is loading the recipe inside the folder, to obtain the reference), lets have a look. |
Happens to be trivial, #16170 planned for next 2.3 |
Closed by #16170, will be in 2.3 |
Describe the bug
Error:
If you remove folders that are in editable mode, there is no easy way to remove them from the editable list anymore.
workaround: (not tested)
create new conanfile.py in the specific location.
then it should work again.
Expected behaviour:
using
conan editable remove [folder]
should remove ALL packages in the editable list from that location.using
conan editable remove [folder]\conanfilefilename.py
should remove that specific packages in the editable list.The second suggestion is only for simplification, even through the location could have more files than the default
conanfile.py
.The big difference is to the current behaviour, that the folder can be already deleted.
How to reproduce it
The text was updated successfully, but these errors were encountered: