No direct way to update theme in wordpress-theme charm

Bug #1456430 reported by Michael Foley
8
This bug affects 1 person
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_branch_copy>'
juju debug-log # wait for theme to be applied
juju set wordpress-theme theme_url='lp:<theme_branch>'

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.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.