Repository navigation
Feat: Let the bundle tool skip targets and write only Central's required checksums - #73
Merged
Merged
Conversation
…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.
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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-jsis never matched asjs.signwrites only.md5and.sha1, the checksums Central requires.--all-checksumsalso writes.sha256and.sha512.validaterequires 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.shpasses locally, with the new cases for sha1, the two-checksum default,--all-checksumsand--skip-target.