Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have set the wp-config string to my git repo. It gets everything fine but the charm is not picking up changes.

I make changes to my local copy of the wp-content then push it to my git remote repo expecting the charm to detect the changes and pull it but nothing happens.

Do I have to manually tell juju to check for a new revision?

Also is there any way to have juju pull a certain branch? This way I can have another juju charm for the development branch rather than separating the development to a different repo.

share|improve this question
up vote 4 down vote accepted

This is because the charm isn't polling github for changes, it's simply pulling down the version on github on config-changed. So in order for it to pull down the new code you will need to trigger a change in this config field.

edit: You may want to file a bug for the charm requesting that a configuration field for git revision or-the-like be added.

share|improve this answer
Thanks removing the string and adding it again pulled the new version. It's not ideal but at least I can update it now. I still would like to know if there is a way to pull a certain branch though rather than the default branch. – user2291975 Oct 31 '13 at 18:13
Hello, maintainer of the charm here, please open a bug for this and I'll investigate a configuration option for branch as well as indicating a "sync_interval". – Marco Ceppi Nov 1 '13 at 2:18
Thanks I will mark this as answered since it is a good workaround for now. – user2291975 Nov 1 '13 at 3:09

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.