metadata: add infrastructure for extracting metadata from parts
Metadata
Current evaluation
Merged #1825 as eceed0486, adding extensible infrastructure for extracting part metadata and resolving #1693; AppStream extraction was deferred to follow-up work.
Resolution: closed resolved
Reason: PR #1825 was approved and merged as commit eceed0486, providing the metadata-extraction framework requested in #1693. It intentionally added infrastructure only, not concrete AppStream extraction.
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 #1693 by adding the underlying infrastructure necessary to extract metadata from parts. No actual metadata extraction is done here (e.g. Appstream). That will come in follow-up PRs, and will be as simple as adding a new module to `snapcraft.extractors` with an `extract` function.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged #1825 as eceed0486, adding extensible infrastructure for extracting part metadata and resolving #1693; AppStream extraction was deferred to follow-up work. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged #1825 as commit eceed0486, adding infrastructure to extract metadata from parts and resolving #1693; AppStream extraction was deferred to #1826. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged #1825 as commit eceed0486, adding metadata extraction infrastructure and resolving #1693. Actual AppStream extraction was deferred to follow-up work. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged. Added foundational infrastructure for extracting metadata from parts, resolving #1693. Establishes the base framework in snapcraft.extractors, deferring actual extraction logic to future PRs. Approved and passed CI. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged changes establishing foundational infrastructure for extracting metadata from parts, resolving #1693. Sets up the snapcraft.extractors module structure to support future metadata extraction implementations. |
Update history
No update history recorded yet.
Related work
-
Related To:
snapcraft#1693
(confidence 100%)
The merged PR explicitly states that it resolves the metadata-handler proposal in #1693.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #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. | |
| #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. | |
| #7 metadata: add metadata extraction infrastructure | fetch-service | merged | Merged PR #7 added metadata extraction infrastructure and the Inspector interface; resolution landed as commit dc485f4. |