-
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] How to develop conan 2.0 packages skipping steps (like source) #13584
Comments
Conan 2.0 with the Writing the correct |
Btw, to optimize the download of the sources Conan 2.0.3 will include a backup and caching sources mechanism, so the sources will only be downloaded from server once (and they can be backuped in your own private server too) |
@memsharded this sounds very interesting, can you provide some reference of how to use this feature? |
Not yet. We have decided to not publicly document it yet, because we are going to deploy it first ourselves in ConanCenter, test it, etc, and we will document it after. If you want to check the main PR was this one: #13461 |
Thanks for the quick reply. This looks like the exact feature we were looking for. |
I think this ticket was responded and there were no further questions, so it can be closed. The "backup-sources" feature is being now tested, so hopefully can be publicly documented soon, keep tuned to our blog, we will announce it there. |
What is your question?
It seems that with conan 2.0, developing packages differs from conan 1.0. With conan 1.0, you can run
conan create
and skip steps like the source step, build step, etc. and you get reproducible results from running the conan create command with and without skipping steps.Conan 2.0 seems to have removed the feature to allow you to skip steps with
conan create
and now you have to use the stepsconan source
,conan install
,conan build
, etc. However, those do not do the same thing asconan create
. Specifically,conan create
will put the exported sources in the same location as the sources for building whereas it seemsconan source
does nothing?How do I develop a recipe targeted for
conan create
? I want to skip the source step because that step takes a very long time and I don't want to run the separate steps forconan source
,conan build
,conan install
, etc, only to find thatconan create
behaves differently and stages the files differently.Have you read the CONTRIBUTING guide?
The text was updated successfully, but these errors were encountered: