-
Notifications
You must be signed in to change notification settings - Fork 358
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [develop2] versioning * Update tutorial/versioning.rst Co-authored-by: Carlos Zoido <mrgalleta@gmail.com> * Update tutorial/versioning.rst Co-authored-by: Carlos Zoido <mrgalleta@gmail.com> * Update tutorial/versioning/version_ranges.rst Co-authored-by: Carlos Zoido <mrgalleta@gmail.com> * Update tutorial/versioning/version_ranges.rst Co-authored-by: Rubén Rincón Blanco <git@rinconblanco.es> * Update tutorial/versioning/version_ranges.rst Co-authored-by: Rubén Rincón Blanco <git@rinconblanco.es> * Update tutorial/versioning/versions.rst Co-authored-by: Rubén Rincón Blanco <git@rinconblanco.es> * Update reference/conanfile/attributes.rst Co-authored-by: SSE4 <tomskside@gmail.com> * Update tutorial/versioning/version_ranges.rst Co-authored-by: SSE4 <tomskside@gmail.com> * wip * review * wip * wip * wip * wip * wip * done! * Update tutorial/versioning/conflicts.rst Co-authored-by: SSE4 <tomskside@gmail.com> * wip * new graphviz diagrams --------- Co-authored-by: Carlos Zoido <mrgalleta@gmail.com> Co-authored-by: Rubén Rincón Blanco <git@rinconblanco.es> Co-authored-by: SSE4 <tomskside@gmail.com>
- Loading branch information
1 parent
b2c08c8
commit 65acd2d
Showing
16 changed files
with
1,362 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
.. _tutorial_versioning: | ||
|
||
|
||
Versioning | ||
========== | ||
|
||
This section of the tutorial introduces several concepts about versioning of packages. | ||
|
||
First, explicit version updates and how to define versions of packages is explained. | ||
|
||
Then, it will be introduced how ``requires`` with version ranges can | ||
help to automate updating to the latest versions. | ||
|
||
There are some situations when recipes or source code are changed, but the version of the | ||
package is not increased. For those situations, Conan uses automatic ``revisions`` to | ||
be able to provide traceability and reproducibility of those changes. | ||
|
||
Lockfiles are a common mechanism in package managers to be able to reproduce the same | ||
dependency graph later in time, even when new versions or revisions of dependencies are uploaded. | ||
Conan also provides lockfiles to be able to guarantee this reproducibility. | ||
|
||
Finally, when different branches of a dependency graph ``requires`` different versions of the | ||
same package, that is called a "version conflict". The tutorial will also introduce these | ||
errors and how to address them. | ||
|
||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
:caption: Table of contents | ||
|
||
versioning/versions | ||
versioning/version_ranges | ||
versioning/revisions | ||
versioning/lockfiles | ||
versioning/conflicts |
Oops, something went wrong.