@@ -11,8 +11,8 @@ The goal of the revisions feature is to achieve package immutability, the packag
11
11
12
12
.. note ::
13
13
14
- This is the first piece to achieve reproducibility: Recreate the exact dependency graph by using some
15
- mechanism like a " graph lock" file. For example, if we store a " graph lock" file for the different releases
14
+ This is the first piece to achieve reproducibility: recreate the exact dependency graph by using some
15
+ mechanism like a `` graph lock `` file. For example, if we store a `` graph lock `` file for the different releases
16
16
of our project, we can install the same dependencies just by using the graph lock.
17
17
18
18
**IMPORTANT: ** The reproducibility is in the Conan roadmap and currently under development.
@@ -35,11 +35,11 @@ How it works
35
35
The same package ID (for example for Linux/GCC5/Debug), can have multiple revisions (PREVs) that belong
36
36
to a concrete RREV.
37
37
38
- If a client requests a reference like ``lib/1.0@conan/stable ``, Conan will retrieve automatically the latest revision.
39
- In the client cache there will be **only one revision installed at the same time **.
38
+ If a client requests a reference like ``lib/1.0@conan/stable ``, Conan will automatically retrieve the latest revision.
39
+ In the client cache there is **only one revision installed simultaneously **.
40
40
41
41
The revisions can be pinned when you write a reference (in the recipe requires, or in a reference in a
42
- :command: `conan install ` command... ) but if you don' t specify a revision the server will retrieve the latest one .
42
+ :command: `conan install ` command… ) but if you don’ t specify a revision, the server will retrieve the latest revision .
43
43
44
44
You can specify the references in the following formats:
45
45
@@ -69,13 +69,13 @@ You have to explicitly activate the feature by:
69
69
70
70
Take into account that it changes the default Conan behavior. e.g:
71
71
72
- - A client with revisions enabled will only find binary packages that belongs to the installed recipe revision.
72
+ - A client with revisions enabled will only find binary packages that belong to the installed recipe revision.
73
73
For example, If you create a recipe and run :command: `conan create . user/channel ` and then you modify the recipe and
74
- export it :command: `conan export . user/channel `, the binary package generated in the :command: `conan create ` command doesn't
75
- belong to the new exported recipe, so it won't be located unless the previous recipe is recovered.
74
+ export it ( :command: `conan export . user/channel `) , the binary package generated in the :command: `conan create ` command
75
+ doesn't belong to the new exported recipe. So it won't be located unless the previous recipe is recovered.
76
76
77
- - If you generate and upload N binary packages for a recipe revision, if you upload the revision you need to
78
- generate and upload again the N binaries if you want them to be used with the new recipe.
77
+ - If you generate and upload N binary packages for a recipe with a given revision, then if you modify the recipe, and thus the recipe
78
+ revision, you need to build and upload N new binaries matching that new recipe revision .
79
79
80
80
Server support
81
81
--------------
0 commit comments