← Back to issue list

feat: adopt more fields from the appstream metadata file(part 2)

View original Github issue

Metadata

Project
snapcraft
Number
#4652
Type
pull request
State
merged
Author
soumyaDghosh
Labels
Created
Updated
Closed

Current evaluation

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.

Suggested action:

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
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 issues

Issue Project State Summary Similarity
#4613 feat: adopt more fields from the appstream metadata file snapcraft merged Merged to add initial support for six appstream metadata fields including license, contact, and source-code. Approved by three reviewers with passing tests. Remaining update_project_metadata changes will be addressed in a follow-up PR.
81%
#231 feat(app): add lists of adoptable and mandatory project fields craft-application merged Merged after three approvals and passing CI. Introduces adoptable and mandatory project field lists to application metadata for craftctl configuration. Resolved validation errors by rebasing and stacking on related PRs, maintaining full test coverage.
70%