feat(packaging): Fase 4 — Flatpak packaging + SPDX fix + metainfo (Charter-01)#48
Merged
Merged
Conversation
…arter-01) Rewrite the Flatpak manifest from a broken skeleton (non-existent split git repos, EOL runtime 45, command pointing at a stub) into a working one: builds lnxdrived + lnxdrive (cargo) and lnxdrive-preferences (meson, host-side Nautilus/Shell/GOA modules excluded) from monorepo dir sources, targets org.gnome.Platform 49, and replaces the unrestricted session bus with scoped bus names per the RISK-002 posture. Fix lnxdrive.spdx (described StrayMark under MIT; now describes LNXDrive under GPL-3.0-or-later). Complete the Preferences metainfo (full description, monorepo URLs, screenshots, 0.1.0-alpha.1 development release). Verified: bundle builds and installs cleanly via org.flatpak.Builder; 3 binaries + desktop/schema/icon/metainfo exported in the sandbox. Drift R8 (runtime 47→49, metainfo path) documented in AILOG-2026-06-04-001 + AIDEC-2026-06-04-001 with atomic Charter update. Follow-ups registry extended in the same commit (3 entries). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Charter-01 Fase 4 (scope item 5): Flatpak packaging +
lnxdrive.spdxfix + metainfo completion.Manifiesto Flatpak (
lnxdrive-packaging/flatpak/com.strangedaystech.LNXDrive.yaml)Reescritura completa — el esqueleto heredado no era completable incrementalmente:
v0.1.0que no existen (esto es un monorepo sin tags) → ✅ sourcestype: dirrelativos al manifiesto, conskip: [target]command: lnxdrive-gnomeejecutaba un stub ("Not yet implemented") → ✅command: lnxdrive-preferences(la GUI real); el daemon víaflatpak run --command=lnxdrivedorg.gnome.Platform 49— el "47" declarado en el Charter también estaba EOL (desde 2025, antes de la firma del Charter): drift R8, ver AIDEC-2026-06-04-001 + atomic update de la tabla Files-to-modify-Denable_nautilus=false -Denable_shell=false): instala panel, iconos,.desktop, metainfo y schema GSettings con el build system existente. Nautilus/Shell/GOA son host-side y quedan fuera del sandbox (limitación a documentar en Fase 5)--socket=session-bus(bus sin restricción) →--own-name+--talk-namescoped, coherente con la postura RISK-002lnxdrive.spdxDescribía StrayMark bajo MIT con versión 1.0.0. Ahora describe LNXDrive bajo GPL-3.0-or-later (la licencia real de
LICENSEy todos los crates), versión 0.1.0 (la unificación a0.1.0-alpha.1es Fase 5).Metainfo (
…/preferences/data/com.strangedaystech.LNXDrive.Preferences.metainfo.xml.in)Descripción completa (3 párrafos + features por página), URLs del monorepo, 3 screenshots con nombres canónicos que Fase 5 debe producir, release
0.1.0-alpha.1type="development". Nota: la tabla del Charter ubicaba este archivo bajolnxdrive-packaging/flatpak/— ruta corregida (drift R8).Verification
flatpak run org.flatpak.Builder --user --install --force-clean build-dir lnxdrive-packaging/flatpak/com.strangedaystech.LNXDrive.yaml— construye e instala limpio (33.9 MB, runtime org.gnome.Platform//49)/app/bin/{lnxdrived,lnxdrive,lnxdrive-preferences}presentes;lnxdrive --version→lnxdrive 0.1.0;.desktop,gschemas.compiled, icono y metainfo exportadosappstreamcli validate --no-net: pass (warnings con red = screenshots 404, esperado hasta Fase 5)desktop-file-validate: limpiostraymark validate: 0 errorescheck-charter-drift.sh: flags esperados/falsos positivos, documentados en el AILOG §RiskGovernanza
agent-logs/packaging/, primer uso del subdirectorio,risk_level: mediumsegún Charter)🤖 Generated with Claude Code