feat: adopt more fields from the appstream metadata file(part 2)
Metadata
Current evaluation
Merged in d23594de6 (#4652), adding AppStream project-link adoption and shared metadata updates for both core22 and core24.
Resolution: closed resolved
Reason: PR #4652 was merged as commit d23594de6. It added project-link extraction from AppStream metadata and refactored metadata updates to support both core22 and core24.
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] Have you successfully run `tox run -m lint`?
- [x] Have you successfully run `tox run -e test-py310`? (supported versions: `py39`, `py310`, `py311`, `py312`)
-----
This is the Part 2 of PR #4613. This adds a new method named `_update_project_links` which is called from the `update_project_metadata` function. It checks if the `project` has that particular metadata and if yes, then it appends the value into it, and else it casts the value onto it from the `extracted_metadata`
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged in d23594de6 (#4652), adding AppStream project-link adoption and shared metadata updates for both core22 and core24. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged in d23594de6 (#4652), adding AppStream project-link adoption and refactoring metadata updates to work for both core22 and core24. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged as d23594de6: added AppStream project-link adoption and adjusted the shared update path so it runs for both core22 and core24. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #4652 as d23594de6, adding AppStream project-link adoption for both core22 and core24. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged. Introduces _update_project_links to adopt additional appstream metadata fields. Core24 support was initially missing but resolved by refactoring the method to execute for both core22 and core24. Tests passed and the feature was integrated. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Introduces _update_project_links to adopt appstream metadata fields. Core24 support was initially missed but resolved by refactoring to call the method for both core22 and core24. Tests passed and the feature is live. |
Update history
No update history recorded yet.
Related work
-
Related To:
canonical/snapcraft#4613
(confidence 100%)
PR #4652 was explicitly described as the second part of #4613.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #4613 feat: adopt more fields from the appstream metadata file | snapcraft | merged | Merged PR #4613 as commit 07af6e99e, adding initial AppStream metadata support for license, contact, source-code, issues, website, and donations. Project-link adoption followed in #4652. | |
| #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. |