Skip to content

feat(build): update index and checksum by default, provide opt out for index#382

Open
andrius-puksta-sensmetry wants to merge 1 commit into
sensmetry:mainfrom
andrius-puksta-sensmetry:pr/update-index-checksum
Open

feat(build): update index and checksum by default, provide opt out for index#382
andrius-puksta-sensmetry wants to merge 1 commit into
sensmetry:mainfrom
andrius-puksta-sensmetry:pr/update-index-checksum

Conversation

@andrius-puksta-sensmetry
Copy link
Copy Markdown
Collaborator

@andrius-puksta-sensmetry andrius-puksta-sensmetry commented Jun 4, 2026

This reverts the default flip done by #298. Index-only opt-out is provided, since it doesn't make sense to not update checksums to match actual file contents. Java bindings (and only these) will not update index, as the user can supply custom project metadata, including index, and updating the index silently on build would override the supplied one.

Now the behaviour matches user expectations in almost all cases, and requires less friction to build KPARs publishable to the index.

In bindings, also allow path usages in the KPARs being built, since this is not yet configurable by the caller.

Fixes #378

@andrius-puksta-sensmetry andrius-puksta-sensmetry force-pushed the pr/update-index-checksum branch 2 times, most recently from 2820b5f to c08b6cf Compare June 4, 2026 09:08
…r index

This reverts the default flip done by sensmetry#298. Index-only opt-out is
provided, since it doesn't make sense to not update checksums to match
actual file contents.

Signed-off-by: Andrius Pukšta <andrius.puksta@sensmetry.com>
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.

Dealing with outdated checksums

1 participant