Repository navigation
build: publish an app only when its inputs change (core ADR-0067) - #10
Merged
Merged
Conversation
bketelsen
approved these changes
Nov 2, 2026
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.
Summary
Publish an app only when its inputs change (frostyard/core#188, ADR-0067).
lib/inputs.sh:app_inputs APPdigestsbuild.sh,lib/deb.sh,download/verified-download.sh,apps/APP.shand the app's own entry indownload/checksums.json.lib/deb.shwrites the digest as the control fieldFrostyard-Inputs: sha256:…(aptly copies it intoPackages; checked locally with aptly 1.6.3).plan.sh --packages FILE [--rebuild APP]compares the field of the newest published version (bydpkg --compare-versions) with the current digest and prints the apps to publish.build.yml: newcheckjob (shellcheck +tests/run.sh), newplanjob that readshttps://repository.frostyard.org/debian/dists/trixie/main/binary-amd64/Packages(a failed fetch fails the run). Onmain, only changed apps are built, released and requested; nothing changed means no release. Pull requests and other branches build every app and publish nothing.workflow_dispatchinputrebuildforces 1 app.Frostyard-Inputsfield.Not inputs: the
debian:trixieimage and apt packages installed during the build; userebuildafter a Debian change that matters.First run after merge
No published version carries the field yet, so the merge publishes both apps once (expected; plan output against today's index: both
changed, newest-inputsnone).Merge order
Verification
bash tests/run.sh: 52 checks pass