`charm proof` throws an error on the new "docs" field in metadata.yaml


As the subject suggests charm proof throws an error on the new docs field in metadata.yaml:

proof: E: Unknown root metadata field (docs)

This is with latest/stable. I’m not quite sure where to file a bug about that, and snap info suggested posting here for issues.

Thanks, Tom

That validation lives here in charm-tools. In preparation for metadata v2, we should probably just make it ignore any unknown fields; that’s also how Juju behaves.

Thanks, have proposed https://github.com/juju/charm-tools/pull/591/ to address this.