feat: Share streaming GNU archive and gzip byte encoding #640

Open
erikinkinen wants to merge 0 commits from feature/archive-byte-codec into feature/owned-native-build-pipeline
Owner

Share literal GNU tar headers and incremental gzip encoding between retained publication producers. Preserve complete long UTF-8 regular and symlink identities, explicit numeric fields, and deterministic gzip framing without accepting owners, file descriptors, paths to open or callbacks. Callers retain all original input, work, output and retirement duties.

  • Check regular/symlink and long-name round trips with an independent decoder.
  • Check deterministic chunked gzip, trailer completion and literal-field refusals.
  • Preserve GNU tar timestamps independently from the gzip wire field.

This byte codec does not itself produce or authenticate a source bundle, image or release.

Share literal GNU tar headers and incremental gzip encoding between retained publication producers. Preserve complete long UTF-8 regular and symlink identities, explicit numeric fields, and deterministic gzip framing without accepting owners, file descriptors, paths to open or callbacks. Callers retain all original input, work, output and retirement duties. - [x] Check regular/symlink and long-name round trips with an independent decoder. - [x] Check deterministic chunked gzip, trailer completion and literal-field refusals. - [x] Preserve GNU tar timestamps independently from the gzip wire field. This byte codec does not itself produce or authenticate a source bundle, image or release.
erikinkinen added this to the Alpha 1 milestone 2026-11-10 01:58:44 +01:00
Share a pure literal-byte codec between retained publication producers without accepting source owners, callbacks or descriptors. Preserve long UTF-8 regular and symlink identities and deterministic numeric fields, while leaving all input, work, output and retirement authority with each actual producer.
fix: Preserve the independent GNU tar epoch extent
Some checks failed
Markdown / markdown (push) Successful in 23s
CI / rust (pull_request) Has been skipped
CI / native_sources (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / host_two (pull_request) Has been skipped
CI / host_three (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
CI / rust (push) Failing after 2m20s
CI / native_sources (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_two (push) Has been skipped
CI / host_three (push) Has been skipped
CI / integration (push) Has been skipped
Coreutils provider graph / coreutils (push) Successful in 6m2s
d6ccc01d22
GNU numeric headers represent larger timestamps than the gzip header field. Keep their literal values intact instead of applying the gzip-only 32-bit constraint to tar records.
ci: Execute the standalone archive byte controls
Some checks failed
CI / rust (pull_request) Has been skipped
CI / native_sources (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / host_two (pull_request) Has been skipped
CI / host_three (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
Markdown / markdown (push) Successful in 27s
Coreutils provider graph / coreutils (push) Failing after 1m54s
CI / rust (push) Failing after 2m46s
CI / native_sources (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / host_three (push) Has been skipped
CI / host_two (push) Has been skipped
CI / integration (push) Has been skipped
8b579d6037
Run the literal archive codec tests in the host CI job so its independent decoding and refusal checks execute alongside syntax validation.
Some checks failed
CI / rust (pull_request) Has been skipped
CI / native_sources (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / host_two (pull_request) Has been skipped
CI / host_three (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
Markdown / markdown (push) Successful in 27s
Coreutils provider graph / coreutils (push) Failing after 1m54s
CI / rust (push) Failing after 2m46s
CI / native_sources (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / host_three (push) Has been skipped
CI / host_two (push) Has been skipped
CI / integration (push) Has been skipped
This branch is already included in the target branch. There is nothing to merge.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'feature/archive-byte-codec:feature/archive-byte-codec'
git switch 'feature/archive-byte-codec'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'feature/owned-native-build-pipeline'
git merge --no-ff 'feature/archive-byte-codec'
git switch 'feature/archive-byte-codec'
git rebase 'feature/owned-native-build-pipeline'
git switch 'feature/owned-native-build-pipeline'
git merge --ff-only 'feature/archive-byte-codec'
git switch 'feature/archive-byte-codec'
git rebase 'feature/owned-native-build-pipeline'
git switch 'feature/owned-native-build-pipeline'
git merge --no-ff 'feature/archive-byte-codec'
git switch 'feature/owned-native-build-pipeline'
git merge --squash 'feature/archive-byte-codec'
git switch 'feature/owned-native-build-pipeline'
git merge --ff-only 'feature/archive-byte-codec'
git switch 'feature/owned-native-build-pipeline'
git merge 'feature/archive-byte-codec'
git push origin 'feature/owned-native-build-pipeline'
Sign in to join this conversation.
No description provided.