Skip to content

Commit

Permalink
Update lockfile bundle docs for 1.34.1 (#2040)
Browse files Browse the repository at this point in the history
* Update lockfile bundle docs for 1.34.1

* Remove erroneous colon

Co-authored-by: Carlos Zoido <mrgalleta@gmail.com>
  • Loading branch information
solvingj and czoido committed Mar 30, 2021
1 parent f250718 commit 71022d6
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions versioning/lockfiles/bundle.rst
Expand Up @@ -61,17 +61,17 @@ Inspecting the resulting lockfile bundle file, we can see it is a json file with
"lock_bundle": {
"app1/1.1@#584778f98ba1d0eb7c80a5ae1fe12fe2": {
"package_id": {
"3bcd6800847f779e0883ee91b411aad9ddd8e83c": {
"packages": [{
"package_id": "3bcd6800847f779e0883ee91b411aad9ddd8e83c" ,
"lockfiles": {
"app1_windows.lock": [
"1"
]
},
"prev": null,
"modified": null
},
"60fbb0a22359b4888f7ecad69bcdfcd6e70e2784": {
}, {
"package_id": "60fbb0a22359b4888f7ecad69bcdfcd6e70e2784",
"lockfiles": {
"app1_linux.lock": [
"1"
Expand All @@ -80,11 +80,12 @@ Inspecting the resulting lockfile bundle file, we can see it is a json file with
"prev": null,
"modified": null
}
},
],
"requires": [
"pkgb/0.1@#cd8f22d6f264f65398d8c534046e8e20"
]
},
}
}
The bundle groups items per "recipe reference", included the recipe revision, like ``app1/1.1@#584778f98ba1d0eb7c80a5ae1fe12fe2``.
For each one, it will list all different binaries, identified by their ``package_id`` that are involved in the different
Expand All @@ -104,8 +105,8 @@ The interesting part is in the ``pkga/0.1`` information in the bundle:
.. code:: json
"pkga/0.1@#f096d7d54098b7ad7012f9435d9c33f3": {
"package_id": {
"3475bd55b91ae904ac96fde0f106a136ab951a5e": {
"packages": [{
"package_id": "3475bd55b91ae904ac96fde0f106a136ab951a5e",
"lockfiles": {
"app1_windows.lock": [
"3"
Expand All @@ -116,7 +117,10 @@ The interesting part is in the ``pkga/0.1`` information in the bundle:
},
"prev": null,
"modified": null
},
}
]
}
Now we can see that for one ``package_id`` there are actually 2 different lockfiles that require it. Both ``app1`` and ``app2``
depend in this case on ``pkga/0.1``.
Expand Down

0 comments on commit 71022d6

Please sign in to comment.