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

Update develop with master #2058

Merged
merged 1 commit into from
Mar 30, 2021
Merged
Changes from all commits
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
22 changes: 13 additions & 9 deletions versioning/lockfiles/bundle.rst
Original file line number Diff line number Diff line change
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