juju charm proof error

Marco Ceppi marco.ceppi at canonical.com
Mon Oct 5 20:24:05 UTC 2015


I agree completely and now understand the confusion in the output Fred.
However the ERROR line is coming from Juju and not from charm-tools
directly.

marco at galago:/tmp/foo⟫ juju charm proof
I: No icon.svg file.
W: no copyright file
W: no README file
ERROR subprocess encountered error code 100

marco at galago:/tmp/foo⟫ charm proof
I: No icon.svg file.
W: no copyright file
W: no README file

This is something juju is providing as part of the plugin infrastructure.
I've filed this bug against core to have it resolved:
https://bugs.launchpad.net/juju-core/+bug/1503029

Thanks,
Marco Ceppi

On Mon, Oct 5, 2015 at 4:12 PM Mark Shuttleworth <mark at ubuntu.com> wrote:

> On 02/10/15 09:29, Marco Ceppi wrote:
> > charm proof provides three levels of output:
> >
> > E: Error, this charm will not deploy in it's current state
> > W: Warning, this charm violates the "recommended" charm store policy
> > I: Information, things to consider, but no inherently wrong
> >
> > Based on the output, you seem to be missing a copyright file and
> README.md
> > file which are required for uploading to the charm store but not
> > necessarily for deploying the charm.
>
> Marco, can we drop the ERROR if in fact it's non-fatal, and modify the
> warnings to be something like this:
>
> W: no copyright file, needed for store publication
> W: no README file, needed for store publication
>
>
> Thanks!
> Mark
>
> --
> Juju mailing list
> Juju at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20151005/7c69a4dc/attachment.html>


More information about the Juju mailing list