← Back to issue list

extractors: support appstream metadata in parts

View original Github issue

Metadata

Project
snapcraft
Number
#1826
Type
pull request
State
merged
Author
kyrofa
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #1826 (commit 9cb05f4c5) added an AppStream metadata extractor for parts, initially extracting summary and description. Credits @elopio; closes feature request #1694. Follow-ups: #1853, #1861, #2430.

Resolution: closed resolved

Reason: The PR was approved and merged into snapcraft as commit 9cb05f4c5 ('extractors: support appstream metadata in parts (#1826)'), implementing the AppStream metadata extractor requested in issue #1694, which was consequently closed.

Evaluated by: mr-cal-bot

No scores available.

Issue body

- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [x] If this is a bugfix. Have you checked that there is a bug report open for the issue you are trying to fix on [bug reports](https://bugs.launchpad.net/snapcraft)? - [x] If this is a new feature. Have you discussed the design on the [forum](https://forum.snapcraft.io)? - [x] Have you successfully run `./runtests.sh static`? - [x] Have you successfully run `./runtests.sh unit`? ----- This PR resolves #1694 by adding an Appstream data extractor. Only supporting the summary and description right now, more to come later. All credit for this PR goes to @elopio. It's his research, code, and tests.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #1826 (commit 9cb05f4c5) added an AppStream metadata extractor for parts, initially extracting summary and description. Credits @elopio; closes feature request #1694. Follow-ups: #1853, #1861, #2430.
stealth/space-bunny-alpha — closed resolved Merged PR canonical/snapcraft#1826 (commit 9cb05f4c5) by kyrofa adds an AppStream metadata extractor for parts (summary/description only), resolving issue #1694. Extractor was later extended in follow-up commits.
stealth/space-bunny-alpha — closed resolved Merged PR snapcraft#1826 (commit 9cb05f4c5) adds an AppStream metadata extractor for parts, supporting summary and description, closing feature issue #1694. Later commits expanded it (launchables, desktop files, <em>, code).
stealth/space-bunny-alpha — closed resolved Merged to snapcraft master in commit 9cb05f4c5, adding an AppStream metadata extractor for parts (summary and description only), authored by elopio and closing issue #1694. Later expanded by #1853 and #1861.
stealth/space-bunny-alpha — closed resolved Merged in snapcraft#1826 (commit 9cb05f4c5), adding an AppStream metadata extractor for parts with summary and description support, resolving #1694.
qwen/qwen3.6-35b-a3b — — Merged. Implemented an Appstream metadata extractor for snapcraft parts, initially supporting summary and description fields. Resolves issue #1694. Code authored by @elopio.
qwen3.6-35b-a3b-mtp-q6 — — Merged. Adds an Appstream metadata extractor to snapcraft parts, initially supporting summary and description fields. Resolves #1694. Implementation credited to @elopio.

Update history

No update history recorded yet.

Related work

  • Duplicate Of: snapcraft#1694 (confidence 98%)

    Feature request 'Develop appstream handler' that this PR explicitly resolves; #1694 is now closed.

  • Related To: snapcraft#1853 (confidence 70%)

    Follow-up commit ce3209468 'extractors: support appstream icon and desktop (#1853)' extending the same extractor.

  • Related To: snapcraft#1861 (confidence 68%)

    Follow-up commit d49c2c202 'extractors: also support appdata.xml appstream files. (#1861)' extending appstream support.

  • Related To: snapcraft#2430 (confidence 60%)

    Later commit 22025f1bb 'extractors: better appstream support for descriptions (#2430)' improving description handling.

Related issues

Issue Project State Summary Similarity
#2430 extractors: better appstream support for descriptions snapcraft merged Merged #2430, improving AppStream description extraction with XSLT normalization, complex-markup support, xml:lang handling, and plain-text output.
79%
#1825 metadata: add infrastructure for extracting metadata from parts snapcraft merged Merged #1825 as eceed0486, adding extensible infrastructure for extracting part metadata and resolving #1693; AppStream extraction was deferred to follow-up work.
79%
#1802 metadata: extract metadata from appstream snapcraft closed Closed unmerged and split into #1825 and #1826, merged as eceed0486 and 9cb05f4c5 to add metadata infrastructure and AppStream extraction.
78%
#1861 extractors: also support appdata.xml appstream files. snapcraft merged Merged PR #1861, adding extractor support for AppStream appdata.xml files, in commit d49c2c202.
78%
#1694 Develop appstream handler snapcraft closed AppStream handler feature request delivered by merged PR canonical/snapcraft#1826 (commit 9cb05f4c5), adding an AppStream metadata extractor for parts covering summary and description. Extended later by #1853 (icon/desktop) and #1861 (appdata.xml).
76%
#2828 Appstream snapcraft merged Merged PR #2828 added AppStream extractor support for <em> emphasis in commit 19d7e3496.
74%
#3695 meta: add appstream metadata extractor snapcraft merged Merged into snapcraft/7.0 via e4d933695, adding an AppStream metadata extractor and tests.
73%
#2831 appstream extractor: add support for code snapcraft merged Merged PR #2831 as commit 009c92b66, adding an AppStream XSLT template that preserves text inside <code> elements during Markdown transformation.
72%
#1853 extractors: support appstream icon and desktop snapcraft merged Merged as commit ce3209468: AppStream extractors now adopt icon and desktop metadata (icon paths, desktop file IDs) from .metainfo.xml. Closes issue #1828.
71%