mbruzek / docs

Juju documentation, found at http://juju.ubuntu.com/docs
1 stars 1 forks source link

Review comments on creating charms with layers #19

Open ktsakalozos opened 8 years ago

ktsakalozos commented 8 years ago

In http://localhost:8000/en/getting-started.html the video is not correctly aligned

The following are for page: http://localhost:8000/en/authors-charm-building.html

@when('apache.available', 'database.available') def setup_vanilla(mysql): pass

Why is mysql param passed here? It has to do with the reactive layers. Can we make sure this is crystal clear and give appropriate links? eg http://pythonhosted.org/charms.reactive/

On my local environment I was thrown to the vanilla admin page where I had to put (among other) database username/passowrd. Rather unexpected since I never set the credentials of the db anywhere.

lazypower commented 8 years ago

Thanks for the feedback @ktsakalozos.

I notice you reference the authors-* document(s) above. These are the docs we are looking to depreciate with the newer developer-* docs. The layer's bits were added on monday and perchance may have not been ready when you were doing the review.

If you get a chance, can you contrast/compare the reimplementation of the building/layers docs and see if we have committed potential ambiguity in our re-telling of the narrative?

Thanks!

lazypower commented 8 years ago

To clarify, this wont resolve the vanilla demo issue, as the example needs to be updated to ensure we're properly templating the MySQL relationship vars in the vanilla config files. We discovered this directly after the pastebin of the above feedback