Hi Saurabh, Hooks are rather fundamental to how charms work. If you have defined a relation but have no hooks for it at all then it isn't going to achieve anything. I imagine you would want at least a website-relation-joined hook to pass the host/port details of your website, but I'm not exactly sure what your charm is for. I would recommend taking a look at the walkthrough in the docs (at https://juju.ubuntu.com/docs/authors-charm-writing.html) as this seems like it may be a similar charm.
Nick On Wed, Jan 22, 2014 at 2:06 PM, saurabh <[email protected]> wrote: > Hi all, > > I have created a charm and am planning to publish it to the charm store. The > problem I am facing is when I do a charm-proof of my charm it says: > > I: relation website has no hooks > I: missing recommended hook config-changed > > I have no idea how to write these hooks. Please guide me through this. > > > Thanks, > Saurabh > > > > -- > Juju mailing list > [email protected] > Modify settings or unsubscribe at: > https://lists.ubuntu.com/mailman/listinfo/juju -- Juju mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
