← Back to issue list

extractors: better appstream support for descriptions

View original Github issue

Metadata

Project
snapcraft
Number
#2430
Type
pull request
State
merged
Author
sergiusens
Labels
—
Created
Updated
Closed

Current evaluation

Merged #2430, improving AppStream description extraction with XSLT normalization, complex-markup support, xml:lang handling, and plain-text output.

Resolution: closed resolved

Reason: PR #2430 was merged after approval. Its implementation transforms AppStream XML before extracting normalized descriptions and addresses LP #1778545.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Take into account more complex descriptions by transforming them using XSLT prior to retrieving their contents by applying normalization into plain text and taking into account language attributes (xml:lang). LP: #1778545 Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com> - [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] 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)? - [ ] If this is a new feature. Have you discussed the design on the [forum](https://forum.snapcraft.io)? - [ ] Have you successfully run `./runtests.sh static`? - [ ] Have you successfully run `./runtests.sh tests/unit`? -----

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged #2430, improving AppStream description extraction with XSLT normalization, complex-markup support, xml:lang handling, and plain-text output.
stealth/space-bunny-alpha — closed resolved Merged #2430 in commit 22025f1bb, using XSLT to normalize complex AppStream descriptions, handle xml:lang, and include ordered lists.
qwen/qwen3.6-35b-a3b — — Merged enhancement to AppStream description extraction using XSLT normalization and xml:lang handling. Addressed reviewer feedback to include ordered list support prior to merge.
qwen3.6-35b-a3b-mtp-q6 — — Merged improvements to AppStream description extraction using XSLT transformations, text normalization, and language attributes. Reviewer feedback regarding missing ol tag support was addressed prior to merge.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1826 extractors: support appstream metadata in parts snapcraft merged 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.
79%
#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.
77%
#1861 extractors: also support appdata.xml appstream files. snapcraft merged Merged PR #1861, adding extractor support for AppStream appdata.xml files, in commit d49c2c202.
76%
#2832 appstream extractor: take xml comments into account snapcraft merged Merged as commit e4dc754f2, fixing AppStream extraction with XML comments and adding regression coverage for Launchpad bug #1852329.
71%
#2828 Appstream snapcraft merged Merged PR #2828 added AppStream extractor support for <em> emphasis in commit 19d7e3496.
70%