Skip to content

Enable AppImageUpdate metadata and .zsync artifacts - #774

Merged
nuttyartist merged 1 commit into
masterfrom
codex/appimage-update-metadata
Nov 8, 2026
Merged

nuttyartist merged 1 commit into
masterfrom
codex/appimage-update-metadata

Conversation

@nuttyartist

Copy link
Copy Markdown
Owner

AppImages currently lack embedded update information and a .zsync companion file, so AppImageUpdate cannot discover and apply updates. Embed a stable GitHub Releases locator for nuttyartist/notes, selecting the matching Qt major version and architecture, and include the generated .AppImage and .AppImage.zsync files in the same Actions artifact.

Add the required packaging tools, verify the embedded locator, and fail packaging when either output is missing. Remove stale outputs before packaging so an earlier build cannot hide a missing file. Document custom update destinations and publishing both files together in a future release; release publication remains manual.

Validation:

  • Built Notes and generated the AppImage/.zsync pair in an Ubuntu 22.04 x86_64 container.
  • Independently checked the embedded locator and .zsync filename, URL, size, SHA-1, and block-checksum data against the generated AppImage; verified both GitHub Actions output paths.
  • Used the official AppImageUpdate CLI against a private local HTTP server to update a copy of the previous v2.3.1 release. The resulting binary matched the new build byte-for-byte, and a subsequent check reported no update remaining.
  • Six packaging guard tests passed: default metadata, legacy override, prefixed override precedence, missing .zsync, missing AppImage, and mismatched metadata. Missing-output cases included stale files to verify that those cannot mask a failure.
  • Bash syntax, ShellCheck, actionlint, and git diff --check passed.

Local testing used Qt's primary download mirror and extracted packaging-tool payloads to accommodate Apple Silicon Docker emulation. Public GitHub release discovery was not exercised because no release or assets were published; the actual transfer and reconstruction were tested over local HTTP.

Copilot AI balanced review requested due to automatic review settings November 3, 2026 08:54

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues remain for the AppImage update-metadata and paired-artifact changes.

No open issues 🎉

What changed in this PR

Enables external AppImageUpdate support for Notes by embedding update metadata and including matching .zsync files in build artifacts. Release publication remains manual.

Changes:

  • Configures stable GitHub Releases update channels by Qt major version and architecture, with environment-variable overrides.
  • Adds packaging dependencies and checks for missing outputs or mismatched metadata, removing stale files first.
  • Uploads both generated files together and documents custom destinations and release publishing requirements.
File Description
Dockerfiles/​README.md Documents update channels, overrides, and publishing the artifact pair.
Dockerfiles/​appimage-qt6 Adds binutils and zsync for metadata verification and control-file generation.
Dockerfiles/​appimage_entrypoint.sh Configures update metadata, removes stale outputs, validates packaging, and exposes both output paths.
.github/​workflows/​linux.yml Includes the AppImage and .zsync file in the same Actions artifact.

Review effort: Balanced

@nuttyartist
nuttyartist requested review from guihkx and zjeffer November 3, 2026 09:05
@nuttyartist nuttyartist self-assigned this Nov 3, 2026
@nuttyartist
nuttyartist merged commit 7f21f79 into master Nov 8, 2026
12 of 13 checks passed
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.

4 participants