Re: State of the Best Practices Guide

2015-03-04 Thread Thierry fa...@linux.vnet.ibm.com
Hi, May I add two tips that can help 1. When you use the python template, the charmhelpers package download and use is done for you, but it then prevents your script to be run with as a simple python script since usually /usr/local/lib/python2.7/dist-packages is not a default. *

Re: State of the Best Practices Guide

2015-03-04 Thread Marco Ceppi
Developers using Windows can't download and hack on charms. There's really not need to create symlinks in hooks directories, you can achieve the same affect by stubbing hooks which import your hooks.py file and invoke the methods that are wrapped with the Hook decorator. Again, best practice, not

State of the Best Practices Guide

2015-03-02 Thread Jorge O. Castro
Hi everyone, We have a best practices guide in the docs, initially it was a brain dump of what Canonical IS was doing with Juju: https://jujucharms.com/docs/authors-charm-best-practice However if you look at the history of the page it hasn't been touched in a long time, and there are tons of