No direct way to update theme in wordpress-theme charm
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juju Charms Collection |
New
|
Undecided
|
Unassigned |
Bug Description
The wordpress-theme charm does not currently support a direct way of updating the theme. However setting the theme_url to a different branch causes it to update. So changing the theme_url and then changing it back again is a work around.
Create a temporary copy of the wordpress theme:
bzr branch lp:<theme_branch>
bzr push lp:~username/+junk/<theme_branch_copy>
Set the theme_url, wait for it to update, then change back again:
juju set wordpress-theme theme_url='lp:~username/+junk/<theme_
juju debug-log # wait for theme to be applied
juju set wordpress-theme theme_url=
It seems like it would be more direct if there was an option to set a branch revision number and have it pull in that revision of the theme.