@balena/contrato
Advanced tools
Comparing version 0.12.1-build-readme-c97dc168252a52cd22127adfe55b6ec962956b4d-1 to 0.12.2-build-remove-docs-5c322c87d9a263c7580621a8592f0d9ee5b4e023-1
{ | ||
"name": "@balena/contrato", | ||
"version": "0.12.1-build-readme-c97dc168252a52cd22127adfe55b6ec962956b4d-1", | ||
"version": "0.12.2-build-remove-docs-5c322c87d9a263c7580621a8592f0d9ee5b4e023-1", | ||
"description": "The official contract implementation", | ||
@@ -74,4 +74,4 @@ "homepage": "https://github.com/product-os/contrato", | ||
"versionist": { | ||
"publishedAt": "2025-01-18T15:16:56.710Z" | ||
"publishedAt": "2025-01-22T22:00:49.795Z" | ||
} | ||
} |
@@ -359,7 +359,7 @@ # Contrato | ||
Thea slug combination instantiation section defines a subtree for a specific set of contracts that match the combination type. If the combination is `sw.os+arch.sw`, a valid combination instantiation can be `debian+amd64`, which is the subtree that will be selected when matching the Debian GNU/Linux contract with the amd64 architecture contract. | ||
The slug combination section defines a subtree for a specific set of contracts that match the combination type. If the type combination is `sw.os+arch.sw`, a valid slug combination can be `debian+amd64`, which is the subtree that will be selected when matching the Debian GNU/Linux contract with the amd64 architecture contract. | ||
Note that a combination instantiation may use `@` symbols to define subtrees for a specific version of one or more contracts in the combination. For example, `debian@wheezy+amd64` will be the subtree containing partials for the combination of Debian Wheezy and amd64. | ||
Note that a slug combination may use `@` symbols to define subtrees for a specific version of one or more contracts in the combination. For example, `debian@wheezy+amd64` will be the subtree containing partials for the combination of Debian Wheezy and amd64. | ||
You can also omit trailing portions of the combination instantiation to implement wildcards. If the combination is `sw.os+arch.sw` and the instantiation is `debian`, it means that such subtree will apply to the combination of Debian GNU/Linux with any architecture. | ||
You can also omit trailing portions of the slug combination to implement wildcards. If the type combination is `sw.os+arch.sw` and the slug combination is `debian`, it means that such subtree will apply to the combination of Debian GNU/Linux with any architecture. | ||
@@ -366,0 +366,0 @@ The partial tree is then traversed from specific to general, until a match is found. This is the path that the contract system will follow when searching for the `download` template on the `sw.os+arch.sw` combination: |
142496