conan icon indicating copy to clipboard operation
conan copied to clipboard

I have a conan package , i want in editable mode , but my repo root having .git , editable package will also .git , how to handle or overcome this issue

Open subbaraokadali opened this issue 1 year ago • 3 comments

What is your question?

I have a conan package , i want in editable mode , but my repo root having .git , editable package will also .git , how to handle or overcome this issue

Have you read the CONTRIBUTING guide?

  • [X] I've read the CONTRIBUTING guide

subbaraokadali avatar Aug 22 '24 10:08 subbaraokadali

Hi @subbaraokadali

I am sorry, I didn't understand your issue. Having a .git in the repo is not an issue, that is the standard thing, editable mode can be perfectly used for git repos. Please try to provide more complete details and instructions about how to replicate your issue.

memsharded avatar Aug 22 '24 10:08 memsharded

@memsharded : in my repo root i have .git , i have a conan package "test_package" , i want to do changes using conan editable and commit the changes

ghost avatar Aug 22 '24 10:08 ghost

Still no idea what is the issue or what is failing. Please provide detailed steps, something like:

  • conan new cmake_lib -d name=mypkg -d version=0.1
  • git init . & git add . && git commit ....
  • conan editable add .
  • conan create .

Then provide the full output logs, and explain what would be the expectation, what happened, etc.

memsharded avatar Aug 22 '24 10:08 memsharded

I am closing this ticket as responded. Please don't hesitate to re-open or create a new ticket with the details above to help reproduce the issue and be able to help. Thanks very much for your feedback.

memsharded avatar Sep 24 '24 22:09 memsharded