← Back to issue list

feat(app): add lists of adoptable and mandatory project fields

View original Github issue

Metadata

Project
craft-application
Number
#231
Type
pull request
State
merged
Author
cmatsuoka
Labels
Created
Updated
Closed

Current evaluation

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.

Suggested action:

No scores available.

Issue body

Project variables are defined in the application metadata and correspond to fields in the project model that can be set using craftctl. Mandatory adoptable fields are project fields that can be adopted from external sources, including craftctl and metadata files. Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com> - [x] Have you followed the guidelines for contributing? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you successfully run `tox`? -----

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b 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.
qwen3.6-35b-a3b-mtp-q6 Merged after rebasing and restacking on related PRs to fix validation errors. Adds adoptable and mandatory project field lists for external adoption via craftctl and metadata files. Maintains full test coverage.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#217 feat: implement adoptable project variables craft-application merged Merged implementation of adoptable project variables, enabling metadata fields to be set via craftctl. Approved by two reviewers, passed CI, and includes integration tests. Changes span 17 files with 216 additions and 24 deletions.
77%
#3693 projects: adoptable fields are optional if adopt-info used snapcraft merged Merged into snapcraft/7.0. Allows project fields version, summary, description, and grade to be optional when adopt-info is used, with values adopted from metadata. Approved by reviewer, passed CI, and increased coverage by 0.24%.
76%
#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.
71%
#4652 feat: adopt more fields from the appstream metadata file(part 2) snapcraft merged 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.
70%