← Back to issue list

Metainfo (Appstream) data is not used (adopt-info, parse-info)

View original Github issue

Metadata

Project
snapcraft
Number
#5278
Type
issue
State
closed
Author
knipknap
Labels
Status: Triaged Type: Question
Created
Updated
Closed

Current evaluation

Closed as a question. Snapcraft parses summary, description, license, and links from AppStream, but screenshots and categories require Snap Store support first. Implementation is blocked until the Store adds this capability. Internal ticket SNAPCRAFT-1059 created.

Suggested action:

No scores available.

Issue body

### Bug Description Given the following snapcraft.yaml: ``` name: rayforge version: git adopt-info: rayforge confinement: strict base: core24 apps: rayforge: extensions: [gnome] common-id: com.barebaric.rayforge desktop: share/applications/com.barebaric.rayforge.desktop ... parts: rayforge: plugin: python source: . python-requirements: - requirements.txt build-packages: - python3-pip - python3-setuptools - git # Required for git describe parse-info: [share/metainfo/com.barebaric.rayforge.metainfo.xml] ``` Full file: https://github.com/barebaric/rayforge/blob/main/snap/snapcraft.yaml I am seeing that **some** attributes from the metadata appear to be adopted, while others are not. **What works**: Summary and description. **What doesn't work**: Website, license, screenshots, categories, ... I am puzzled. Running snapcraft with `--verbosity debug` does not reveal anything containing "appstream" or "metainfo". Here is the full metainfo: ``` <?xml version="1.0" encoding="UTF-8"?> <component type="desktop-application"> <id>com.barebaric.rayforge</id> <developer id="com.barebaric"> <name translate="no">Samuel Abels</name> </developer> <content_rating type="oars-1.1" /> <url type="homepage">https://github.com/barebaric/rayforge</url> <url type="bugtracker">https://github.com/barebaric/rayforge/issues</url> <name>Rayforge</name> <summary>A desktop application for laser cutting and engraving</summary> <categories> <category>Utility</category> <category>Engineering</category> </categories> <metadata_license>MIT</metadata_license> <project_license>MIT</project_license> <description> <p> Rayforge is a desktop application for laser cutting and engraving. It provides an intuitive interface to create and manage laser cutting projects. Rayforge supports importing SVG, DXF, PDF, and PNGs, and provides advanced features such as multi step jobs, automatic path optimization, interpolation based on laser dot size, and much more. </p> </description> <launchable type="desktop-id">com.barebaric.rayforge.desktop</launchable> <recommends> <control>keyboard</control> <control>pointing</control> <display_length compare="ge">768</display_length> </recommends> <icon type="local">share/icons/hicolor/scalable/apps/com.barebaric.rayforge.svg</icon> <branding> <color type="primary" scheme_preference="light">#efb0a1</color> <color type="primary" scheme_preference="dark">#373f43</color> </branding> <screenshots> <screenshot type="default"> <caption>The main window of Rayforge.</caption> <image type="source" width="1462" height="1209">https://raw.githubusercontent.com/barebaric/rayforge/main/docs/ss-main.png</image> </screenshot> </screenshots> <releases> <release version="0.1" date="2025-02-08"> <description> <p>This is the initial release.</p> </description> </release> </releases> </component> ``` ### To Reproduce ``` git clone git@github.com:barebaric/rayforge.git cd rayforge snapcraft --verbosity debug ``` Note that it builds successfully, but after `snapcraft upload` the info is incomplete. ![Image](https://github.com/user-attachments/assets/98e020fd-a669-41c5-bb78-d4b0d47c4f4e) ### Environment Ubuntu, or Github pipeline, too. Example build: https://github.com/barebaric/rayforge/actions/runs/13482604479/job/37669702127 ### Relevant log output ```shell No relevant logs as far as I can see. Example build see here: https://github.com/barebaric/rayforge/actions/runs/13482604479/job/37669702127 ``` ### Additional context _No response_

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Closed as a question. Snapcraft parses summary, description, license, and links from AppStream, but screenshots and categories require Snap Store support first. Implementation is blocked until the Store adds this capability. Internal ticket SNAPCRAFT-1059 created.
qwen/qwen3.6-35b-a3b Closed as blocked. Snapcraft parses basic metainfo into snap.yaml, but full support for screenshots, categories, and links requires Snap Store backend changes. An internal ticket was created, implementation deferred pending store support.
qwen3.6-35b-a3b-mtp-q6 Closed as a question. Snapcraft already parses summary, description, license, and links. Screenshots and categories require Snap Store support first. Developer advised to request store changes or file a feature request. No code changes made.
qwen3.6-35b-a3b-mtp-q6 Closed as a limitation. Snapcraft already injects license and links. Screenshots and categories require Snap Store support first. Maintainers directed the reporter to request store-side changes before Snapcraft can parse these fields.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.