Merge lp:~jose/charms/precise/owncloud/update-to-7.0.1 into lp:charms/owncloud

Proposed by José Antonio Rey
Status: Merged
Merged at revision: 28
Proposed branch: lp:~jose/charms/precise/owncloud/update-to-7.0.1
Merge into: lp:charms/owncloud
Diff against target: 44 lines (+6/-3)
3 files modified
config.yaml (+2/-2)
hooks/install (+1/-1)
hooks/upgrade-charm (+3/-0)
To merge this branch: bzr merge lp:~jose/charms/precise/owncloud/update-to-7.0.1
Reviewer Review Type Date Requested Status
Charles Butler (community) Approve
Review via email: mp+230247@code.launchpad.net

Description of the change

Upgraded default config options to 7.0.1 and fixed a sed path change.

To post a comment you must log in.
29. By José Antonio Rey

Added python-yaml to upgrade-charm since the install hook is not ran in there

Revision history for this message
Charles Butler (lazypower) wrote :

+1 LGTM. Thanks for the updates Jose!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'config.yaml'
--- config.yaml 2014-07-26 00:56:18 +0000
+++ config.yaml 2014-08-11 03:04:40 +0000
@@ -5,11 +5,11 @@
5 description: the domain name for your owncloud server5 description: the domain name for your owncloud server
6 downloadurl:6 downloadurl:
7 type: string7 type: string
8 default: "https://download.owncloud.org/community/owncloud-7.0.0.tar.bz2"8 default: "http://download.owncloud.org/community/owncloud-7.0.1.tar.bz2"
9 description: url from which owncloud will be downloaded9 description: url from which owncloud will be downloaded
10 sha1sum:10 sha1sum:
11 type: string11 type: string
12 default: "ae76948275c4598e2db2746d36577fc6b32faeb6"12 default: "fb9ec0bdf8aff99321b26a375703fc2c2afe02ae"
13 description: the sha1sum for the file in the download link13 description: the sha1sum for the file in the download link
14 port:14 port:
15 type: int15 type: int
1616
=== modified file 'hooks/install'
--- hooks/install 2014-07-21 21:59:37 +0000
+++ hooks/install 2014-08-11 03:04:40 +0000
@@ -44,7 +44,7 @@
4444
45chown www-data:www-data -R /var/www/owncloud45chown www-data:www-data -R /var/www/owncloud
4646
47sed -i "s/ \$curlSettings = array(/ \$curlSettings = array(\n CURLOPT_SSL_VERIFYPEER => 0,\n CURLOPT_SSL_VERIFYHOST => 0,/" /var/www/owncloud/3rdparty/Sabre/DAV/Client.php47sed -i "s/ \$curlSettings = array(/ \$curlSettings = array(\n CURLOPT_SSL_VERIFYPEER => 0,\n CURLOPT_SSL_VERIFYHOST => 0,/" /var/www/owncloud/3rdparty/sabre/dav/lib/Sabre/DAV/Client.php
4848
49SRC=`config-get src`49SRC=`config-get src`
50echo $SRC > .src50echo $SRC > .src
5151
=== modified file 'hooks/upgrade-charm'
--- hooks/upgrade-charm 2014-06-17 17:56:14 +0000
+++ hooks/upgrade-charm 2014-08-11 03:04:40 +0000
@@ -5,6 +5,9 @@
5# Pause during upgrade5# Pause during upgrade
6hooks/stop6hooks/stop
77
8juju-log "Installing python-yaml"
9apt-get install python-yaml
10
8if [ -f /usr/share/charm-helper/sh/net.sh ]; then11if [ -f /usr/share/charm-helper/sh/net.sh ]; then
9 #we are under active migration, dont do anything more than once12 #we are under active migration, dont do anything more than once
10 if [ ! -f $CHARM_DIR/.migrating ]; then13 if [ ! -f $CHARM_DIR/.migrating ]; then

Subscribers

People subscribed via source and target branches

to all changes:
to status/vote changes: