VCS code duplication and subordinate
patrick.hetu at gmail.com
Mon Mar 11 18:01:23 UTC 2013
> Sure, but how will it make sure that the service is restarted when new content is found?
In the python-django charm I'm using a timestamp variable (an idea
from someone on IRC) that triggers the reloading of the wsgi server
when configuration change.
> It's also possible to add this to a standard library of charm tools, rather than do it in a subordinate.
I was thinking about one subordinate charm per vcs because I didn't
wanted to install all vcs
when I'm just using one of them. But that's a minor issue.
> This might be a good time to mention there's a VCS Charm Helper
Yeah, extending and using those helpers would the solve the
I'm also copying those helpers too in all my new charms to avoid repetition
and I just realized they are pretty much all in charm-tools. Maybe we
the python version of those helpers in a python-charm-tools package an
make them importable
(first half of the file)
More information about the Juju