app: ship the rich .deb store copy as AppStream metainfo (the surface GNOME Software renders) — #1799 follow-up #1800
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#1800
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
The rich store copy needs a home GNOME Software actually renders
Split out of #1799.
b6e1969dadded a deliberate three-paragraph store description (Ben, 2026-09-23 — "the store copy a person reads before installing") asdeb.description: |inapp/electron-builder.yml. #1799 had to collapse that back to a single line because, in the pinned electron-builder (^25.1.8), app-builder-lib'sLinuxTargetHelper.computeDesktopEntrywrites the desktop entry'sCommentfromdeb.descriptionverbatim (Comment = getDescription(), which overwrites anylinux.desktop.Comment— proven, not configurable in this major), and the Desktop Entry spec allows exactly one line per key. A multi-linedescriptionmadeidss.desktopunparseable and GNOME dropped the app from its grid.So in v25 the desktop
Commentand the deb controlDescriptionare the same field: it cannot be both a rich multi-line paragraph and a valid single-line launcher tooltip. #1799 kept the launcher (ADR 0168's install proof) and re-homed the rich copy to this ticket.The right home
On the ADR 0168 reference target (Ubuntu 24.04, double-click the .deb → GNOME Software), the rich store page is rendered from an AppStream metainfo file (
/usr/share/metainfo/nz.matou.idss.metainfo.xml), NOT the deb controlDescription(which GNOME Software barely surfaces — it reached onlyapt show/synaptic). So the metainfo file both restores b6e1969d's copy AND puts it where the double-click store actually shows it.Proposed
app/build/metainfo/nz.matou.idss.metainfo.xmlcarrying<summary>(= synopsis) and a<description>with b6e1969d's three paragraphs (recover the exact text from that commit), plus<id>nz.matou.idss</id>, launchable, screenshots optional./usr/share/metainfo/(electron-builder deb has no first-class slot for arbitrary system files — verify the mechanism, e.g.deb.fpmsource mapping, at build time since the .deb can't be built in the sandbox).scripts/package-layout-check.shto assert the metainfo ships andappstreamcli validate(orappstream-util validate-relax) passes.^26and usedesktop.entry.Commentto keep the rich paragraphs indeb.description— but that is an unverifiable-in-sandbox major bump of the packaging toolchain; metainfo is the lower-risk, spec-correct path.Found while fixing #1799. Relates to
b6e1969d, ADR 0168, #471, #490.Comment=— the launcher entry is unparseable and the app is absent from GNOME's app grid #1799Ruled by agent under ADR 0174 — veto anytime.
Ruling: category
enhancement, stateready-for-session(notready-for-agent, notready-for-human).Why a two-way door: the change is revertible with a single commit, the rich store copy is recoverable verbatim from
b6e1969d(this ticket only re-homes it), and it touches nothing on the one-way-door list (no credentials, no security widening, no member-facing trust accept, no data destruction, no non-routine spend). Adding a metainfo artifact and its packaging wiring is fully reversible.Why
ready-for-sessionand notready-for-agent: the ticket's central mechanism — placing an arbitrary system file (/usr/share/metainfo/nz.matou.idss.metainfo.xml) into the .deb, for which electron-builder has no first-class slot — is by the ticket's own words "can't be built in the sandbox", and its acceptance runsappstreamcli validate(orappstream-util validate-relax) against a built artifact. A swarm worker would ship the fpm source-mapping blind, with no test/probe able to prove the file actually lands or validates — so under the "provable by an existing test/drive/probe" bar it must not pick it up. An interactive session on a build-capable host can build the .deb, confirm the metainfo ships, and run the validator. #1799's precedent (config-shape tests without a real deb build) does not stretch here, because #1799's risk was provable by readingelectron-builder.yml; this one's risk is only provable by building.Why not
ready-for-human: the one genuinely irreversible, hardware-bound step — GNOME Software rendering the page on the ADR 0168 reference target (real Ubuntu 24.04, double-click the .deb) — already lives asready-for-humanresidue in #471 (real-install proof). This ticket produces and build-verifies the artifact; #471's drive is where a human's eyes confirm the render.Agent Brief
Category: enhancement
Summary: Ship the rich .deb store copy as an AppStream metainfo file — the surface GNOME Software actually renders — recovering b6e1969d's three-paragraph description that #1799 had to collapse.
Current behavior:
b6e1969dadded a deliberate three-paragraph store description asdeb.description: |inapp/electron-builder.yml. #1799 collapsed it back to a single line because, in the pinned electron-builder (^25.1.8), app-builder-lib writes the desktop entry'sCommentfromdeb.descriptionverbatim and overwrites anylinux.desktop.Comment; a multi-line value madeidss.desktopunparseable and GNOME dropped the app from its grid. So today the launcher tooltip is a single line and the rich copy is homeless — the deb controlDescriptionGNOME Software barely surfaces (it reaches onlyapt show/synaptic).Desired behavior:
The rich three-paragraph copy is carried in an AppStream metainfo file that GNOME Software renders on the double-click install path, while the launcher
Commentstays the valid single line #1799 established. The metainfo ships in the .deb at/usr/share/metainfo/and passes AppStream validation.Key interfaces:
app/build/metainfo/nz.matou.idss.metainfo.xmlcarrying<id>nz.matou.idss</id>,<summary>(= the deb synopsis), a<description>with b6e1969d's exact three paragraphs (recover the text from that commit), and alaunchableentry; screenshots optional./usr/share/metainfo/in the built package (electron-builder has no first-class slot — verify the mechanism, e.g. adeb.fpmsource mapping, by actually building the .deb).scripts/package-layout-check.shextended to assert the metainfo ships and passesappstreamcli validate(orappstream-util validate-relax).Acceptance criteria:
nz.matou.idss.metainfo.xmlexists with b6e1969d's exact three-paragraph copy, a summary equal to the synopsis, the app id, and a launchable entry./usr/share/metainfo/nz.matou.idss.metainfo.xml(verified against a real build).appstreamcli validate(or the relax variant) passes on the shipped metainfo, wired intopackage-layout-check.sh.Comment/idss.desktopstays the valid single line from #1799 (no regression of ADR 0168's install proof).Out of scope:
ready-for-humandrive.^26fordesktop.entry.Comment(the ticket's weighed alternative) — an unverifiable-in-sandbox major toolchain bump; the metainfo path is the chosen, lower-risk route unless a session finds the mechanism unworkable.deb.description#1799 established.$BODY