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

Rewrite of the SCM optimization tip box #1307

Merged
merged 3 commits into from
May 31, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions creating_packages/package_repo.rst
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@ be valid too:

.. tip::

While you are in the same computer (the same Conan cache), even when you have exported the recipe and
Conan has captured the absolute url and commit, Conan will store the local folder where your source code lives.
If you build your package locally, it will use the local repository (in the local folder) instead of the remote URL,
even if the local directory contains uncommitted changes.
This allows you to speed up the development of your packages when cloning from a local repository.
When doing a :command:`conan create` of a recipe using ``scm``, Conan will store a local path to the local source repository. Every time
jgsogo marked this conversation as resolved.
Show resolved Hide resolved
you want to create a new package, the sources will not be downloaded from the remote repository but from the local one.
jgsogo marked this conversation as resolved.
Show resolved Hide resolved

This allows to build packages making changes to the source code without the need of committing them and pushing them to the remote
repository. This convenient to speed up the development of your packages when cloning from a local repository.
jgsogo marked this conversation as resolved.
Show resolved Hide resolved