← Back to issue list

parse-info-all bool

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1778701
Type
issue
State
open
Author
~apachelogger
Labels
19.04 19.04-blue 19.04-external
Created
Updated
Closed
—

Current evaluation

Requests automatic discovery of all AppStream metadata; current Snapcraft still requires explicit parse-info paths, and metadata-selection semantics remain unresolved.

Suggested action: keep open

Reason: Current code and documentation still extract only explicitly listed parse-info paths, and no parse-info-all implementation exists, so this valid feature request should remain open despite its automated expiration label. Maintainer @sergiusens explicitly questioned how multiple AppStream files would select metadata, while the follow-up proposed a different top-level common-id design, leaving discovery scope, precedence, conflicts, and compatibility to define.

Evaluated by: mr-cal-bot

Impact: 38 Quick Win: 7 Complexity: 67 Confidence: 94 Actionability: 52

Issue body

It would be cool if parts had a `parse-info-all` key which enables parsing all data it can find. Currently a developer needs to list all appstream files AND then also set the common-id on the app. This seems excessive. Since appstream files have well known locations it'd be far easier to simply enable extracting all meta data from a part. So ``` name: sampleapp-name adopt-info: sampleapp apps: sampleapp: command: sampleapp common-id: com.example.sampleapp otherapp: command: otherapp common-id: com.example.otherapp thirdapp: command: sampleapp common-id: com.example.thirdapp parts: sampleapp: plugin: dump source: http://github.com/example/sampleapp.git parse-info: [usr/share/appdata/sampleapp.metainfo.xml,usr/share/appdata/otherapp.metainfo.xml,usr/share/appdata/thirdapp.metainfo.xml,usr/share/appdata/fourthapp.metainfo.xml] ``` to ``` name: sampleapp-name adopt-info: sampleapp apps: sampleapp: command: sampleapp common-id: com.example.sampleapp otherapp: command: otherapp common-id: com.example.otherapp thirdapp: command: sampleapp common-id: com.example.thirdapp parts: sampleapp: plugin: dump source: http://github.com/example/sampleapp.git parse-info-all: true ``` If full extraction isn't viable for a given piece of software the developer may still opt to do the explicit list, so nothing is lost. In the event auto extraction will be the desired thing (which to me seems to be case for probably just about all FLOSS desktop application) the explicit listing is entirely superfluous.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 38
Quick Win: 7
Complexity: 67
Confidence: 94
Actionability: 52
keep open Requests automatic discovery of all AppStream metadata; current Snapcraft still requires explicit parse-info paths, and metadata-selection semantics remain unresolved.
stealth/space-bunny-alpha
Impact: 38
Quick Win: 8
Complexity: 58
Confidence: 90
Actionability: 52
keep open Requests automatic discovery of all AppStream metadata in a part; current Snapcraft docs still require explicit parse-info paths, and metadata-selection semantics remain unresolved.
qwen/qwen3.6-35b-a3b
Impact: 30
Quick Win: 14
Complexity: 40
Confidence: 80
Actionability: 80
needs triage Feature request for a `parse-info-all` boolean key in snapcraft parts to automatically discover and parse all appstream metadata files instead of requiring explicit file listing.
qwen/qwen3.8-27b
Impact: 35
Quick Win: 21
Staleness: 92
Complexity: 40
Confidence: 72
Support Request: 25
needs triage Feature request for a parse-info-all boolean key in snapcraft parts to auto-discover all AppStream metainfo files instead of requiring explicit file listing. Open 8+ years, zero comments, no maintainer interaction, only auto-applied 19.04 version labels.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 40
Confidence: 95
Support Request: 5
close stale Feature request for automatic AppStream metadata parsing via a parse-info-all flag. Open for over eight years with zero maintainer interaction or comments.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 40
Confidence: 85
Support Request: 10
close stale Feature request to add 'parse-info-all' boolean for automatic metadata extraction from known locations, replacing manual file listing.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 45
Confidence: 90
Support Request: 10
close stale Feature request to add a parse-info-all boolean flag for automatic metadata extraction in parts configuration. Unaddressed for over 8 years with no maintainer interaction.

Update history

Date Change
created

Related issues

No related issues found above the similarity threshold.