Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

1 Answer 1

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
1  
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". bugs.launchpad.net/charms/+source/wordpress/+bugs –  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

 
discard

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.