Tracking: nixpkgs GUI apps whose metadata we cannot harvest from either source #6
Loading…
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?
Tracking: nixpkgs GUI apps whose metadata we cannot harvest from either source
Context: the catalog generator (
pk-catalog.nix) is now a Flathub-primary + nixpkgs-build-output-harvest hybrid (committedb764672, wired intopk-managed.nix, nixos-config lock bumped77628c0). Flathub'sappstream.xml.gzis the richer primary source; the nixpkgs harvest (metainfo found in each package's build output, run throughappstreamcli compose) fills what Flathub lacks. Join is gated on the nixpkgs candidate universe, so Flathub-only apps (flatpak-only ghosts) are dropped silently. One component perPackage:(Flathub wins). This issue tracks the residual gap: nixpkgs GUI apps that have neither usable build-output metainfo nor a Flathub counterpart.Drop / log rule (final)
gap.tsv+ this issue.Measured (this nixpkgs rev, GUI-candidate universe)
Confirmed no-metainfo flagship cases (Flathub saves them)
Firefox, Google Chrome, VS Code, and many Electron apps ship no
*.appdata.xml/*.metainfo.xmlin their build output (Firefox's wrappedshare/has onlyapplications+icons).appstreamcli composeis driven by metainfo, not.desktop, so these contribute ZERO components from the nixpkgs harvest. They are NOT gaps because Flathub covers them richly (icon + screenshots + keywords) via the curated bridge map (pk-catalog-curated.tsv).Real gap population
A candidate is a gap only if it is BOTH (a) in the 12,988 no-Flathub set AND (b) its own build output has no usable metainfo.
gap.tsvis the exact, build-time artifact listing these (emitted by the catalog derivation).Open refinement: candidate universe is over-inclusive
The current universe keys on
meta.mainProgram, which pulls in pure CLI tools (dialog, ltrace, scponly, gcrane, kubectl-graph, ruby) that are NOT GUI apps and contradict the GUI-only scope, and massively bloats the harvest (16k closures) and disk. Toolkit-name signal among the 12,988 no-Flathub set is almost nil (gtk 25, qt 79, kde 5), confirming most are CLI. The correct GUI detector is "build output contains share/applications/*.desktop" (only knowable at build time) OR narrowing viaplatforms/category heuristics. Proposed follow-up: restrict the harvest universe to apps with a.desktopentry to cut cost and match scope.Operational note (disk)
The unrestricted harvest pulls ~16k candidate output closures as build inputs (hundreds of GB) -> must run in CI with ample disk and publish to cache; laptops fetch only the final
nixpkgs.yml+ icon tree. A dev box here (23 GB free) cannot hold it.See also #4 (fork backend NULL asserts), #5 (system-sources-refresh auth popup).