[Feature]: Desktop app: release packaging (tarball, AppImage)
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 24/100
Rechercherichtung
Read the epic #80 first, then the dependencies #81 and #85 and the existing release workflow in release.yml. Check licenses/collect.sh and the desktop workspace packaging inputs described here. Done means a test tag publishes both Linux artifacts, the AppImage runs on the listed distributions, URL handling works, and a branch build is available to the NVIDIA tester.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
[!NOTE]
This issue was written by Claude (Claude Opus 5.5) from a planning session with @PhrolovaMoe. Part of #80, builds on #81 and #85. Read the epic first.
Area
Desktop app
Problem
People need to install the app, and NVIDIA testers need binaries well before the first release, because David's machine is AMD.
Proposed solution
Release artifacts
A desktop job in release.yml (x86_64-unknown-linux-gnu, ubuntu-24.04, GitHub-hosted, glibc), built from the same tag as the server, with --locked:
- Tarball
tinystream-desktop-<version>-x86_64-linux.tar.gz:tinystream-desktop(the binary);dev.tinystream.app.desktop(withMimeType=x-scheme-handler/tinystream;);- hicolor icons from
assets/logos, at the usual sizes plus scalable; - an AppStream
dev.tinystream.app.metainfo.xml; LICENSE,README.md,THIRD_PARTY_LICENSES;- an
install.shthat copies all of that into~/.local(or a prefix) and runsupdate-desktop-database.
- AppImage
tinystream-desktop-<version>-x86_64.AppImage, from the same files. The packaging tool (appimagetoolor similar) is downloaded at a pinned version and checked against a pinned SHA-256 in the workflow. No unpinned downloads. THIRD_PARTY_LICENSEScomes fromlicenses/collect.sh, extended to take the desktop workspace: its crates (cargo-about overdesktop/Cargo.lock), the native stack including mpv/libplacebo/nv-codec-headers (#85), Geist and Lucide.- The publish job attaches both to the release, next to the server archives and the APK.
- aarch64 Linux is left out until there's hardware to test it on.
Dynamic dependencies
Check the final binary with ldd/readelf -d in CI, against an allowlist of libraries every desktop Linux has (glibc, libm, libstdc++, libEGL/libGL, libvulkan, wayland-client/egl/cursor, libxkbcommon, libX11 family, libasound, D-Bus if not pure Rust). Things loaded at runtime (libcuda, libva drivers, PipeWire/Pulse where mpv loads them) aren't in the list. Fail the job on anything else.
Test builds
A workflow_dispatch (and push to feat/desktop) build that uploads the tarball and AppImage as workflow artifacts, so testers can try a branch without a release. It needs no secrets.
Done when
A release from a test tag has both artifacts. The AppImage runs on a clean Ubuntu 24.04, Fedora and Arch (and David's Void). install.sh registers the URL scheme, so xdg-open tinystream://… opens the app. The NVIDIA tester runs a branch build.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 4
- Forks
- 1
- Ø Merge
- 4 Std. 49 Min.
- Gemergte PRs (30 T.)
- 5
Entwicklungsumgebung
- Enthält ein Dockerfile oder eine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Kein Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus tinystream-dev/tinystream
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
tinystream-dev/tinystream#132 ·
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
tinystream-dev/tinystream#131 ·
-
bug
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
tinystream-dev/tinystream#129 ·
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
tinystream-dev/tinystream#128 ·
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
tinystream-dev/tinystream#124 ·
Alle Issues in tinystream-dev/tinystream
Ähnliche Issues
-
Console writes URL credentials to the local log, though AGENTS.md says secrets never reach diskOffen
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 86/100
sandbox-quantum/switch#2163 ·
Maintainer antworten meist innerhalb von 1 Tag
-
automated issue report
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag
-
area/dashboard kind/bug QA/dev-automation
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 75/100
Maintainer antworten meist innerhalb von 1 Tag
-
bug pydanty:is-working
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
pydantic/pydantic-ai#13939 ·
Maintainer antworten meist innerhalb von 1 Tag
-
self-host
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
funmusicplace/mirlo#2625 ·
Maintainer antworten meist innerhalb von 1 Tag