Skip to content

Commit e01b431

Browse files
dslotterdanimtb
authored andcommitted
Update revisions.rst (conan-io#1166)
* Update revisions.rst Fix capitalization. Fix tense of "requests". Fix awkward sentence. Modify phrasing. Add missing comma. Fix tense of "belong". Fix run-on sentence. * Add last paragraph
1 parent 0bada32 commit e01b431

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

mastering/revisions.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ The goal of the revisions feature is to achieve package immutability, the packag
1111

1212
.. note::
1313

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
1616
of our project, we can install the same dependencies just by using the graph lock.
1717

1818
**IMPORTANT:** The reproducibility is in the Conan roadmap and currently under development.
@@ -35,11 +35,11 @@ How it works
3535
The same package ID (for example for Linux/GCC5/Debug), can have multiple revisions (PREVs) that belong
3636
to a concrete RREV.
3737

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**.
4040

4141
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 dont specify a revision, the server will retrieve the latest revision.
4343

4444
You can specify the references in the following formats:
4545

@@ -69,13 +69,13 @@ You have to explicitly activate the feature by:
6969

7070
Take into account that it changes the default Conan behavior. e.g:
7171

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.
7373
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.
7676

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.
7979

8080
Server support
8181
--------------

0 commit comments

Comments
 (0)