← Back to issue list

Upgrade to v2 the `metadata.yaml` generated by `init`

View original Github issue

Metadata

Project
charmcraft
Number
#258
Type
issue
State
closed
Author
facundobatista
Labels
—
Created
Updated
Closed

Current evaluation

Charmcraft init already generated v2-compliant metadata, so maintainer facundobatista closed #258 as already done without further changes.

Resolution: closed not a bug

Reason: On 2021-09-24, maintainer facundobatista commented "This is done already..." and closed the issue, confirming the requested v2 output was already implemented.

Evaluated by: mr-cal-bot

No scores available.

Issue body

When doing `charmcraft init` the tool leaves a `metadata.yaml` file. We need to upgrade its format to make it compliant with the [v2 specification](https://discourse.charmhub.io/t/charm-metadata-v2/3674).

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed not a bug Charmcraft init already generated v2-compliant metadata, so maintainer facundobatista closed #258 as already done without further changes.
stealth/space-bunny-alpha — closed resolved v2 metadata was already generated by `charmcraft init`; facundobatista confirmed completion and closed canonical/charmcraft#258 on 2021-09-24.
qwen3.6-35b-a3b-mtp-q6 — — The charmcraft init metadata.yaml format was upgraded to the v2 specification. The maintainer closed the issue as already completed.
qwen/qwen3.6-35b-a3b — — Charmcraft init metadata.yaml was already upgraded to v2 specification. Issue closed as implementation was confirmed complete.
qwen/qwen3.6-35b-a3b — — The charmcraft init metadata.yaml format was already updated to comply with the v2 specification. The maintainer closed the issue as the upgrade was completed.
qwen3.6-35b-a3b-mtp-q6 — — The charmcraft init metadata.yaml format was already upgraded to v2 specification, so the issue was closed as completed.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#492 Add linter to verify that the charm's metadata is v2 charmcraft closed Closed as obsolete because Charmcraft now generates charm metadata automatically, making the proposed v2 metadata linter unnecessary.
72%
#1468 replaced metadata.yaml with charmcraft.yaml in integration test templates charmcraft closed #1468 was closed as superseded after CLA/signature blockers; PR #1540 merged the equivalent metadata.yaml-to-charmcraft.yaml integration-template update in commit f3f82031.
70%