Every platform-independent stdlib/extension release now ships the same reviewed
file set as both a deterministic tar.gz (Linux/POSIX convention) and a
deterministic zip (Windows convention) with per-format sha256 sidecars. The zip
uses fixed DOS timestamps, create_system=3, regular-file 0644 attributes, UTF-8
name flags and deterministic deflate; both archives are double-built, verified
as identical on disk to the exact commit blobs, and cross-checked against each
other. Existing releases stay immutable; the rule applies to new versions.
Tests updated for the dual-format artifact contract. The website projection is
extended in a follow-up commit to classify .zip as an archive.
- Build the archive from exact Git objects (git ls-tree / git cat-file) with
fixed tar and gzip metadata instead of git archive + gzip, so export-ignore,
export-subst and local attribute files cannot silently drop or rewrite
released bytes; verify every member and byte against the commit blobs.
- Select the same-SHA CI pipeline deterministically (lowest successful number)
so re-running the transaction reproduces already published evidence.
- Preflight the remote tag identity, require channel consistency on idempotent
re-runs, add --reset-draft recovery for interrupted drafts, and stop
forwarding the publish token across redirects.
- Reject case/NFC collisions, backslash/control-character members, wildcard
allow entries, unknown/duplicate dependency fields; honor --source-sha and
--out-dir in check; clean temporary directories.
- Fix the documented/template dependency syntax and add regression tests for
determinism, export attributes, collisions, deterministic CI selection and
remote tag identity.
Add one shared, self-contained component release implementation for stdlib and
extension repositories (marqdo#96 M1): deterministic allowlisted packaging of
the exact tagged commit, release-evidence.json with same-SHA Woodpecker CI
discovery, and an immutable Gitea draft->publish transaction with byte readback.
The kit is pinned by root commit + sha256 in each component repository's
protected tag workflow; ordinary push/PR lanes only run the deterministic
package self-check and never receive the publish token. No stdlib/ext specific
manifest or second release service is introduced.
Adds contract tests for packaging determinism, archive path safety, evidence
shape, dependency identity, CI discovery and publish ordering.