fix(packaging): install file for appimagetool in the Linux release job (#1227) #1277
No reviewers
Labels
No labels
accepted
bug
declined
docs
duplicate
enhancement
good first issue
in-progress
needs-info
privacy
security
triage
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
LibreKAT/Ocideck!1277
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/1227-linux-release-file"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
De v0.3.3-release publiceerde niets. De job Linux bouwen faalde op
make package-linux: appimagetool heeft hetfile-commando nodig, dat in het kaleubuntu:24.04-CI-image ontbreekt (file command is missing but required, please install it). Omdatpublicerenneeds: [linux, ...]heeft, viel de héle publicatieketen weg — er kwam geen forge-release, en daardoor gaf Fase 3 vanrelease_auto.sheen 404 bij het ophalen vanSHA256SUMS.Fix
.forgejo/workflows/release.yml:filetoegevoegd aan de apt-get van de Linux-job (release-only builddep, zelfde patroon alsrpm/liblzma-dev/libsecret-1-dev).scripts/package_linux.sh:require fileinbuild_appimage, zodat een ontbrekendfilemet een duidelijke melding faalt in plaats van diep in appimagetool.test/linux_packaging_test.dart: twee regressietoetsen — de job installeertfile, en de packager eist het voor de AppImage.Verificatie
ubuntu:24.04-container:.deben.rpmbouwen schoon met alleenfile+rpmerbij; deb-metadata en rpm gecontroleerd.fileeisend — dus native x86_64 draait het, enfilestaat er nu.linux_packaging_test.dart16/16 groen; shellcheck schoon.De tag
v0.3.3staat vast en wordt niet verplaatst; na deze merge snijdt de volgenderelease_auto.sh-run v0.3.4 met de fix erin.🤖 Generated with Claude Code
filefor appimagetool in the Linux release job (#1227)The v0.3.3 release published nothing. The Linux job failed at `make package-linux`: appimagetool needs the `file` command, which the minimal ubuntu:24.04 CI image lacks ("file command is missing but required"). Because `publiceren` needs `linux`, the whole release chain skipped — no forge release was created, so Fase 3's SHA256SUMS fetch 404'd. - release.yml: add `file` to the Linux job's apt-get (release-only build dep, same pattern as `rpm`/liblzma-dev/libsecret-1-dev). - package_linux.sh: `require file` in build_appimage, so a missing tool fails with a clear message instead of deep inside appimagetool. - linux_packaging_test.dart: guard both — the job installs `file`, and the packager requires it for the AppImage. Verified in a faithful amd64 ubuntu:24.04 container: .deb and .rpm build cleanly with only `file`+`rpm` added; the real CI log already showed appimagetool executing and only demanding `file`. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>