-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support unified charmcraft.yaml #969
Comments
Thanks for the note @syu-w. If you or one of your team is able to help with a PR here, that would speed things up. Otherwise I'll try to get to this before the next release of ops (likely early August). |
@benhoyt I am going to see if I can create a PR next week. |
I have added a PR. |
I'm reviewing #977 now, but just wondering about the spec for this. ST087 doesn't seem to mention |
@benhoyt the intention is this:
|
Thanks for the PR, @syu-w -- merged! |
Hi,
charmcraft
is now moving to use unifiedcharmcraft.yaml
for allmetadata.yaml
,actions.yaml
, andconfig.yaml
as specs in ST087. While the old style is still supported and we doing backward compatibility for now, the unit tests for the charms are not happy because it try to readmetadata.yaml
but did not found the metadata it needs.So this might be a good time for ops to first try to read
charmcraft.yaml
to getmetadata
.An example of the new unified
charmcraft.yaml
https://github.com/canonical/charmcraft/blob/main/tests/test_metafiles.py#L29
The text was updated successfully, but these errors were encountered: