Merge lp:~roadmr/capomastro/charm-force-python-django-version into lp:~ubuntuone-hackers/capomastro/charm

Proposed by Daniel Manrique
Status: Merged
Approved by: Daniel Manrique
Approved revision: 74
Merged at revision: 74
Proposed branch: lp:~roadmr/capomastro/charm-force-python-django-version
Merge into: lp:~ubuntuone-hackers/capomastro/charm
Diff against target: 16 lines (+6/-0)
1 file modified
hooks/install (+6/-0)
To merge this branch: bzr merge lp:~roadmr/capomastro/charm-force-python-django-version
Reviewer Review Type Date Requested Status
Daniel Manrique (community) Approve
Review via email: mp+315274@code.launchpad.net

Commit message

Preinstall this version of django from trusty-security, since the one in
# trusty-updates is incompatible with capomastro. This is a low-cost hack; the
# correct solution would be for the capomastro deb to be fixed but that
# requires more work than we're willing to invest at this point.

Description of the change

Preinstall this version of django from trusty-security, since the one in
# trusty-updates is incompatible with capomastro. This is a low-cost hack; the
# correct solution would be for the capomastro deb to be fixed but that
# requires more work than we're willing to invest at this point.

To post a comment you must log in.
Revision history for this message
Daniel Manrique (roadmr) wrote :

Self-approval since it's trivial

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'hooks/install'
2--- hooks/install 2015-03-31 16:21:23 +0000
3+++ hooks/install 2017-01-20 21:14:20 +0000
4@@ -15,6 +15,12 @@
5
6 . inc/common
7
8+# Preinstall this version of django from trusty-security, since the one in
9+# trusty-updates is incompatible with capomastro. This is a low-cost hack; the
10+# correct solution would be for the capomastro deb to be fixed but that
11+# requires more work than we're willing to invest at this point.
12+apt-get update && apt-get install python-django=1.6.1-2ubuntu0.16
13+# Now install capomastro which should be happy with the python-django we preinstalled
14 apt-add-repository --yes "${repository}" && apt-get update && apt-get install --assume-yes --force-yes capomastro
15
16 # templates support in the charm

Subscribers

People subscribed via source and target branches