Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions BUILD_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# formDAM build notes

## v1.32.2 (2026-11-27) · replaces 1.32.1; the build log now says why an AppImage was not built

1.32.1 was published with the deb and without the AppImage it was meant to add, and was then taken back. 1.32.2 replaces it. The AppImage step in `setup/build_linux_app` now runs verbosely and, when it fails, prints the lines that name the problem into the build log; in 1.32.1 the log could not say why. The step is still `try`, so the deb ships either way. Nothing in the app, the engine or the macOS and Windows builds changed from 1.32.0. Detail in `src-tauri/HASHOUT_LOG.md`.

## v1.32.1 (2026-11-26) · Linux gets an AppImage beside the deb

FormDAM's Linux build was a deb only, the one app in the family without an AppImage. `setup/build_linux_app` now builds the deb as before and then an AppImage from the same compiled program and engine. The AppImage step is set to `try`: if it cannot be made, the script says so, the deb is still complete, and the build goes on (`APPIMAGE=required` stops instead; `APPIMAGE=no` skips it). It is `try` because the step has not run anywhere yet; the first release build is its first run. In an AppImage the polkit policy file cannot be installed, so the system's unlock prompt for private items is not offered there, the same as when FormPortal unpacks the deb without installing it. Nothing in the app, the engine or the macOS and Windows builds changed. Detail in `src-tauri/HASHOUT_LOG.md`.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</p>

<p align="center">
<img alt="version 1.32.1" src="https://img.shields.io/badge/version-1.32.1-eef0f4?style=flat-square">
<img alt="version 1.32.2" src="https://img.shields.io/badge/version-1.32.2-eef0f4?style=flat-square">
<img alt="Python FastAPI" src="https://img.shields.io/badge/python%20%C2%B7%20fastapi-engine-3776ab?style=flat-square&logo=python&logoColor=white">
<img alt="macOS, Windows, Linux" src="https://img.shields.io/badge/macOS%20%C2%B7%20Windows%20%C2%B7%20Linux-native-2f7bf5?style=flat-square">
<img alt="License: Apache-2.0" src="https://img.shields.io/badge/license-Apache--2.0-3a3a3a?style=flat-square">
Expand Down
4 changes: 2 additions & 2 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "formdam-frontend",
"private": true,
"version": "1.32.1",
"version": "1.32.2",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
15 changes: 11 additions & 4 deletions setup/build_linux_app
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,19 @@ cd src-tauri
npx --yes @tauri-apps/cli@2.12.3 build --bundles "$BUNDLES" -- --locked
if [ "$APPIMAGE" != no ]; then
say "Building the AppImage (the same program and engine in one file that needs no install)"
if NO_STRIP=true npx --yes @tauri-apps/cli@2.12.3 build --bundles appimage -- --locked; then
step=target/appimage-step.log
if NO_STRIP=true npx --yes @tauri-apps/cli@2.12.3 build --verbose --bundles appimage -- --locked > "$step" 2>&1; then
echo "AppImage: built"
elif [ "$APPIMAGE" = required ]; then
echo "AppImage: NOT BUILT (above is why), and APPIMAGE=required, so the build stops here"
exit 1
else
echo "---- AppImage step: the lines that name a problem ----"
grep -n -iE 'error|could not|cannot|not found|no such|failed|denied' "$step" | tail -n 40 || true
echo "---- AppImage step: its last 60 lines (all of it is in $PWD/$step) ----"
tail -n 60 "$step" || true
echo "---- AppImage step: end ----"
if [ "$APPIMAGE" = required ]; then
echo "AppImage: NOT BUILT (above is why), and APPIMAGE=required, so the build stops here"
exit 1
fi
rm -f target/release/bundle/appimage/*.AppImage
echo "AppImage: NOT BUILT (above is why). The package built before it is complete and unaffected."
fi
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "formdam-desktop"
version = "1.32.1"
version = "1.32.2"
description = "formDAM: local-first digital asset manager for photos & video"
edition = "2021"

Expand Down
13 changes: 13 additions & 0 deletions src-tauri/HASHOUT_LOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
# src-tauri HASHOUT_LOG · formDAM
current: v1.27.2 · 2026-10-22

### ../setup/build_linux_app · when the AppImage is not built, the build log says why
- refers-to: ../setup/build_linux_app (the AppImage step: `--verbose`, `target/appimage-step.log`, the two printed blocks)
- kind: fix
- logged: v1.32.2 · 2026-11-27

The first release build with the AppImage step (1.32.1) made the deb and no AppImage, as `APPIMAGE=try` allows, and the log could not say why: Tauri hides the output of the tool that assembles an AppImage unless it is asked to be verbose. The step now runs with `--verbose`, writes everything to `target/appimage-step.log`, and on failure prints the lines that name a problem (up to 40) and the last 60 lines, between marked lines, before `AppImage: NOT BUILT`. On success it prints `AppImage: built` and nothing else, so a normal log stays short.

The step is still `try`. The cause of the 1.32.1 failure is not known yet, and `required` would cost the release its deb as well. It becomes `required` in the release that fixes the cause.

1.32.1 itself was taken back after it was published without the AppImage; 1.32.2 replaces it.

Seen: the changed lines run with a stand-in for the Tauri command in five cases (succeeds; fails with a named error; fails with no output; fails with `required`; `APPIMAGE=no`). Not built here: the AppImage.

### ../setup/build_linux_app · Linux gets an AppImage beside the deb
- refers-to: ../setup/build_linux_app (APPIMAGE, the second `tauri build --bundles appimage`, NO_STRIP); tauri.conf.json bundle.resources (the engine tree), bundle.linux.deb.files (the polkit policy)
- kind: feature
Expand Down
Loading