VCS code duplication and subordinate
Marius Kotsbak
marius at kotsbak.com
Sun Mar 10 21:37:43 UTC 2013
Sure, but how will it make sure that the service is restarted when new
content is found? Hmm, since they are on the same machine, it could
negotiate command(s) to be runned when the relation is added.
An advantage of this would be to be able to write this in something other
than bash, maybe Python, which probably have git helper libs.
On 10 Mar 2013 21:51, "Patrick Hetu" <patrick.hetu at gmail.com> wrote:
> I guess the VCS subordinates will have a polling_schedule variable and
> will be responsible to configure the cron job.
>
> > Good idea. Also see my branch with more SCM for node.js. How do you
> think it
> > should be done? We need some relation to somehow tell the app charm that
> new
> > content is available. The problem is that relations only work inside
> hooks,
> > so my cron based polling won't be able to signal new content through the
> > relation.
>
> --
> 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/20130310/186be34d/attachment.html>
More information about the Juju
mailing list