stdlib: add one pinned Bundle resolver and explicit pack input
Add tools/stdlib/bundle.py + bundle-pin.json as the single source-side Bundle identity (name, version, source commit, tree/alias digests) and require tools/pack-stdlib.py --stdlib-dir instead of reading the checkout implicitly. Missing input, missing manifest, digest/alias mismatch, pin mismatch and symlinks fail closed; two packs are byte-identical. Tests: tools/ci/test_stdlib_bundle_tools.py.
This commit is contained in:
1 parent
b9c72e1d2a
commit
1b9d9c4c26
4 files changed
+700
-64
No files matched your search
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"schema": "marqdo.stdlib-bundle-pin",
|
||||
"schema_version": 1,
|
||||
"name": "marqdo-stdlib",
|
||||
"version": "0.1.0",
|
||||
"source": {
|
||||
"kind": "in-repo",
|
||||
"repository": "cflmy/marqdo-cli",
|
||||
"commit": "2cbde54602c07f62a62f341400bc9cb4764a93f8",
|
||||
"path": "stdlib",
|
||||
"note": "Phase A (ADR-0070): the pinned Bundle is the checkout tree at this commit. Phase B replaces this record with the accepted ecosystem Bundle commit and digest; do not change it in the same commit as test fixtures."
|
||||
},
|
||||
"tree_digest": "sha256:5407d3665ba2fe105820d0f1af5efaafa10c277a69eb819c3225719813c8c713",
|
||||
"aliases_digest": "sha256:5f513c0fdbb3c1e9829be3c9fa23a2d1e89cb8510073fb5eb1e8e2f5265a83bb"
|
||||
}
|
||||
Reference in new issue
Block a user