Skip to content

Feat: Let the bundle tool skip targets and write only Central's required checksums - #73

Merged
b-re-w merged 1 commit into
extendedfrom
feat/publish-slim
Nov 21, 2026
Merged

b-re-w merged 1 commit into
extendedfrom
feat/publish-slim

Conversation

@b-re-w

@b-re-w b-re-w commented Nov 21, 2026

Copy link
Copy Markdown
Member

This applies change (1) of thisisthepy/compose-multiplatform-core-extended#258 to this repository's copy of extended/publish/central_bundle.py, at the fork owner's request (2026-11-21).

  • stage --skip-target <target> (repeatable) leaves out every component that is a target of a root and prunes the root's variant for it. wasm-js is never matched as js.
  • sign writes only .md5 and .sha1, the checksums Central requires. --all-checksums also writes .sha256 and .sha512. validate requires md5 and sha1, and checks the other two when they are present.

The workflow is unchanged. The plugin's artifacts have no target to skip, so the only effect here is the checksum change.

Tests: extended/publish/tests/central-bundle.test.sh passes locally, with the new cases for sha1, the two-checksum default, --all-checksums and --skip-target.

…red checksums

The same change as compose-multiplatform-core-extended#258 to the shared
central_bundle.py: stage --skip-target leaves a target's components out and
prunes the roots' variants for it, and sign writes .md5 and .sha1 only
(--all-checksums writes .sha256 and .sha512 too). validate checks the
optional checksums when they are there. Sonatype counts every uploaded file
against the namespace's monthly limit.
@b-re-w

b-re-w commented Nov 21, 2026

Copy link
Copy Markdown
Member Author

Merging: the one failed check (One executable, GraalVM linux-x64, job 136851564145) failed while configuring :buildSrc because Maven Central did not return kotlin-stdlib 2.0.21 / kotlin-gradle-plugins-bom 2.0.21 (a resolution outage, unrelated to this PR, which only changes extended/publish/central_bundle.py and its test). linux-arm64 and macos-arm64 builds of the same job passed. Owner decision 2026-11-21: skip tvOS/watchOS/JS uploads and md5/sha1 only; keep sources jars and mingwX64; no per-group versions.

@b-re-w
b-re-w merged commit a9fece8 into extended Nov 21, 2026
23 of 24 checks passed
@b-re-w
b-re-w deleted the feat/publish-slim branch November 21, 2026 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant