Repository navigation
Backlog
Description
These defects came out of a review of the packaging scripts at fc1ac55. Each one was reproduced, or read from the source with a concrete trigger. They are not fixed yet. Fixed separately: #1572 (bump-submodules EOF), #1573 (deb pre-release version and stale staging dir) and #1574 (ABI gate scanned nothing).
aw.specmacOS app version can come from the research tag or from git's error text (aw.spec:67-71, used at 261/268).- Cause: it uses a bare
git describe --tags --abbrev=0, with no--exclude '*-research'and withstderr=STDOUT, instead ofscripts/package/getversion.sh. - Repro (scratch repo):
- A research tag on an earlier commit gives
0.14.0b5-research, whilegetversion.shgivesv0.14.0b5.dev-<hash>. v0.14.1andv0.14.1-researchon the same commit give0.14.1-research.- With no tags it gives
fatal: No names found, cannot describe anything.
- A research tag on an earlier commit gives
- Cause: it uses a bare
CFBundleVersionis not numeric (build_app_tauri.sh:10,122,aw.spec:268). It receives0.14.0b5,0.14.0b5.dev-<hash>or0.14.0b4-research, but Apple defines it as 1-3 dot-separated integers.windows-version-info.pyalready has anumeric_version()that could be reused.scripts/notarize.shdiscards notarization failures.- There is no
set -e, and the return codes ofrun_notarytool(lines 38/40) are ignored at 96/104. - If no tool is found it exits 0.
- A stub
xcrunreturningstatus: Invalidwith a succeedingstaplerexits 0. - Today only the real
staplerfailing turns CI red. - Separately, the
.appis stapled after the DMG has been packed, so the app-level ticket never reaches users. Not verified.
- There is no
- The Tauri installer adds a second autostart that the app cannot turn off (
scripts/package/aw-tauri.iss:45,54).- The
StartMenuEntrytask is checked by default and adds a{userstartup}shortcut. aw-tauri also registersHKCU\…\Runitself on first run. - Disabling autostart in the tray removes only the Run value.
- Read from the source only, not run on Windows. Related to build(windows): during installation remove autostart entry before updating/reinstalling, to prevent duplicates #1061.
- The
- Signing step 1 parses raw
fileoutput (build_app_tauri.sh:180-184,254).- For universal binaries, macOS
fileprintspath (for architecture x86_64):lines, whichcutturns into non-existent paths. - A filename containing a quote makes
xargsstop, so nothing is signed and no error is raised. - Whether today's bundle contains such files is unknown.
- For universal binaries, macOS
scripts/symlink-systemd.shis broken in four ways.- It links
aw-watcher-x11, which doesn't exist, so the link dangles. $(pwd)is unquoted.- It never runs
mkdir -p ~/.config/systemd/user. - A second run fails with
File exists. - Not used by CI.
- It links
Lower priority:
package-appimage.shhas noset -eand downloads an unpinned linuxdeploycontinuousbuild with no checksum.checkout-latest-tag.shsortsv0.14.0b3-researchabovev0.14.0and isn't referenced anywhere.
Metadata
Metadata
Assignees
Labels
No labels
Activity