← 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 enhancement to AppStream description extraction using XSLT normalization and xml:lang handling. Addressed reviewer feedback to include ordered list support prior to merge.

Suggested action:

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
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.
qwen3.6-35b-a3b-mtp-q6 Merged update enhancing AppStream description extraction via XSLT transformation, text normalization, and language attribute handling. Reviewer feedback regarding missing list tag support was addressed before final merge. Closes LP #1778545.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#2831 appstream extractor: add support for code snapcraft merged Merged a pull request adding XSLT support to preserve code tags during Appstream to Markdown transformation. Approved by a reviewer, passed CI checks, and added 63 lines across two files to prevent code content from being stripped.
73%
#2832 appstream extractor: take xml comments into account snapcraft merged Merged changes to the appstream extractor to properly handle XML comments. Approved by one reviewer with no unresolved comments. Adds 65 lines across two files, resolving Launchpad bug #1852329.
73%
#1826 extractors: support appstream metadata in parts snapcraft merged Merged. Implemented an Appstream metadata extractor for snapcraft parts, initially supporting summary and description fields. Resolves issue #1694. Code authored by @elopio.
72%