The build process should error out if the package has intrinsic problems
Metadata
Current evaluation
Metadata and YAML checks were added; the remaining opslib check was dropped as obsolete after charm libraries superseded it.
Resolution: closed resolved
Reason: Metadata validation landed in commit cd187c30 and actions/config linters in PR #556. Maintainer facundobatista closed the issue as done after confirming the only unchecked opslib requirement was no longer relevant.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Collecting here all the checks we should do:
- [x] check if metadata.yaml is present and a valid YAML
- [x] check that the metadata.yaml has at least the following fields: `name`, `summary`, `description` (needed by Juju) and `series` (needed by the Store)
- [x] ensure no symlink points outside of the project
- [ ] if `opslib` metadata is present, it should verify it's internal structure is ok (like the mail looks like a mail, etc, see [verifications here](https://github.com/canonical/operator/blob/master/ops/lib/__init__.py#L40) for reference)
- [x] Both `actions.yaml` and `config.yaml`, if present, need to be valid YAMLs.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Metadata and YAML checks were added; the remaining opslib check was dropped as obsolete after charm libraries superseded it. | |
| stealth/space-bunny-alpha | — | closed resolved | Metadata, symlink, and YAML validation was completed; the remaining opslib check was dropped when opslib was superseded by charm libraries. Maintainer closed the work as done. | |
| qwen/qwen3.6-35b-a3b | — | — | Implemented build validation checks for metadata and YAML files. The maintainer closed the issue as done after the final unchecked item, opslib metadata validation, was deprecated and replaced by charm libraries. | |
| qwen/qwen3.6-35b-a3b | — | — | Implemented build-time validation for metadata, required fields, symlinks, and YAML files. Closed as complete since the remaining opslib metadata check was deprecated and replaced by charm libraries. | |
| qwen/qwen3.6-35b-a3b | — | — | Implemented build validation checks for metadata and YAML files. The final opslib metadata check was abandoned as the feature was deprecated and replaced by charm libraries. The issue was closed as done. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Implemented validation checks for metadata and YAML files during build. Closed as done since the remaining opslib metadata check was deprecated and replaced by charm libraries. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
canonical/charmcraft#556
(confidence 98%)
Added linters for actions.yaml and config.yaml, resolving the remaining YAML-validation checklist item.
Related issues
No related issues found above the similarity threshold.