candidate: pin the six migrated stdlib components and activate their entries
M2 candidate for cflmy/marqdo#9: pin std-text/std-system/std-io/std-fs/ std-data/std-collections at the exact receiving-repo candidate commits, activate them in the root catalog with their own scripts/test.sh entry, and extend integration.sh with the root acceptance-stdlib gate. The previous requires arrays were design inputs, not real dependencies: the migrated modules import only CLI language/host builtins and same-repository siblings, so every active stdlib component now requires only cli (the Table pair also declares the coordinated checks_with). core/encoding/net stay planned and do not join the Bundle.
This commit is contained in:
1 parent
7475c79cb2
commit
8fa728b302
8 files changed
+35
-21
No files matched your search
+20
-14
@@ -93,23 +93,25 @@ release = "base"
|
||||
id = "std-collections"
|
||||
path = "stdlib/collections"
|
||||
kind = "stdlib"
|
||||
state = "planned"
|
||||
state = "active"
|
||||
owner = "cflmy"
|
||||
scope = "List、Map 和 Table 值操作"
|
||||
requires = ["cli", "std-core"]
|
||||
checks_with = []
|
||||
requires = ["cli"]
|
||||
checks_with = ["std-data"]
|
||||
release = "base"
|
||||
entry = "scripts/test.sh"
|
||||
|
||||
[[component]]
|
||||
id = "std-text"
|
||||
path = "stdlib/text"
|
||||
kind = "stdlib"
|
||||
state = "planned"
|
||||
state = "active"
|
||||
owner = "cflmy"
|
||||
scope = "Unicode 文本、字节值与 UTF-8"
|
||||
requires = ["cli", "std-core", "std-collections"]
|
||||
requires = ["cli"]
|
||||
checks_with = []
|
||||
release = "base"
|
||||
entry = "scripts/test.sh"
|
||||
|
||||
[[component]]
|
||||
id = "std-encoding"
|
||||
@@ -126,45 +128,49 @@ release = "base"
|
||||
id = "std-data"
|
||||
path = "stdlib/data"
|
||||
kind = "stdlib"
|
||||
state = "planned"
|
||||
state = "active"
|
||||
owner = "cflmy"
|
||||
scope = "JSON、CSV、TOML 与 GFM 数据转换"
|
||||
requires = ["cli", "std-collections", "std-text", "std-encoding"]
|
||||
checks_with = []
|
||||
requires = ["cli"]
|
||||
checks_with = ["std-collections"]
|
||||
release = "base"
|
||||
entry = "scripts/test.sh"
|
||||
|
||||
[[component]]
|
||||
id = "std-io"
|
||||
path = "stdlib/io"
|
||||
kind = "stdlib"
|
||||
state = "planned"
|
||||
state = "active"
|
||||
owner = "cflmy"
|
||||
scope = "Console、Stream、格式化和官方 print 别名"
|
||||
requires = ["cli", "std-core", "std-text"]
|
||||
requires = ["cli"]
|
||||
checks_with = []
|
||||
release = "base"
|
||||
entry = "scripts/test.sh"
|
||||
|
||||
[[component]]
|
||||
id = "std-fs"
|
||||
path = "stdlib/fs"
|
||||
kind = "stdlib"
|
||||
state = "planned"
|
||||
state = "active"
|
||||
owner = "cflmy"
|
||||
scope = "文件、目录与路径"
|
||||
requires = ["cli", "std-io", "std-text"]
|
||||
requires = ["cli"]
|
||||
checks_with = []
|
||||
release = "base"
|
||||
entry = "scripts/test.sh"
|
||||
|
||||
[[component]]
|
||||
id = "std-system"
|
||||
path = "stdlib/system"
|
||||
kind = "stdlib"
|
||||
state = "planned"
|
||||
state = "active"
|
||||
owner = "cflmy"
|
||||
scope = "时钟、UTC、环境、进程与随机"
|
||||
requires = ["cli", "std-text", "std-io"]
|
||||
requires = ["cli"]
|
||||
checks_with = []
|
||||
release = "base"
|
||||
entry = "scripts/test.sh"
|
||||
|
||||
[[component]]
|
||||
id = "std-net"
|
||||
|
||||
@@ -4,7 +4,7 @@ set -euo pipefail
|
||||
cd "$(dirname "$0")/.."
|
||||
root="$PWD"
|
||||
active="$(python3 scripts/check-layout.py --checkouts --active-paths)"
|
||||
expected=$'cli\ntests/conformance\ntools/knowledge\ntools/lint\ntools/prove\ntools/view'
|
||||
expected=$'cli\nstdlib/collections\nstdlib/data\nstdlib/fs\nstdlib/io\nstdlib/system\nstdlib/text\ntests/conformance\ntools/knowledge\ntools/lint\ntools/prove\ntools/view'
|
||||
if [[ "$active" != "$expected" ]]; then
|
||||
echo "UNVERIFIED: update the integration plan for the changed active component set" >&2
|
||||
exit 1
|
||||
@@ -45,6 +45,14 @@ source_sha="$(git -C cli rev-parse HEAD)"
|
||||
test "$(cat "$(dirname "$MARQDO_BIN")/SOURCE_SHA")" = "$source_sha"
|
||||
sha256sum "$archive" "$MARQDO_BIN" "$(dirname "$MARQDO_BIN")/marqdo-provider-worker"
|
||||
|
||||
# Standard-library source relocation candidate: the root producer builds the one
|
||||
# Bundle from the pinned component gitlinks; active component entries, the
|
||||
# cross-repository composition fixtures and the fail-closed negatives all run
|
||||
# against the same verified CLI artifact.
|
||||
python3 scripts/acceptance-stdlib.py \
|
||||
--cli "$MARQDO_BIN" --work "$work/stdlib-acceptance" \
|
||||
--evidence "$work/stdlib-acceptance.json"
|
||||
|
||||
python3 cli/tools/release/smoke.py --archive "$archive"
|
||||
python3 cli/tools/ci/verify_extension_contracts.py \
|
||||
--source-repo cli --tested-sha "$source_sha" --cli "$MARQDO_BIN" \
|
||||
|
||||
+1
-1
Submodule stdlib/collections updated: 0851e1f8a0...4907652268.
+1
-1
Submodule stdlib/data updated: e3c9488dca...848af7a357.
+1
-1
Submodule stdlib/fs updated: 3ef21c7de0...63bceae587.
+1
-1
Submodule stdlib/io updated: 945e76eed8...e18b0b1b40.
+1
-1
Submodule stdlib/system updated: e1c4da4cc5...053ddb0e59.
+1
-1
Submodule stdlib/text updated: 9f1e862953...c2a7d327e5.
Reference in new issue
Block a user