Merge lp:~patrick-hetu/charms/oneiric/python-moinmoin/trunk into lp:charms/python-moinmoin
Proposed by
Patrick Hetu
Status: | Rejected | ||||||||
---|---|---|---|---|---|---|---|---|---|
Rejected by: | Jorge Castro | ||||||||
Proposed branch: | lp:~patrick-hetu/charms/oneiric/python-moinmoin/trunk | ||||||||
Merge into: | lp:charms/python-moinmoin | ||||||||
Diff against target: |
201 lines (+35/-59) 9 files modified
hooks/config-changed (+6/-2) hooks/install (+7/-43) hooks/start (+0/-4) hooks/stop (+0/-7) hooks/upgrade-charm (+10/-0) hooks/website-relation-joined (+0/-2) hooks/wsgi-relation-joined (+7/-0) metadata.yaml (+4/-0) revision (+1/-1) |
||||||||
To merge this branch: | bzr merge lp:~patrick-hetu/charms/oneiric/python-moinmoin/trunk | ||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Clint Byrum (community) | Needs Fixing | ||
Review via email: mp+107072@code.launchpad.net |
Description of the change
upgrade-charm hook + maintainer field
To post a comment you must log in.
Unmerged revisions
- 33. By Patrick Hetu
-
don't failed if gunicorn his not configure yet
- 32. By Patrick Hetu
-
use the right relation name for the wsgi container
- 31. By Patrick Hetu
-
fix the regex and quote what we found
- 30. By Patrick Hetu
-
grep for the port in website relations
- 29. By Patrick Hetu
-
make install hook more idempotent
- 28. By Patrick Hetu
-
fix wsgi relation name
- 27. By Patrick Hetu
-
be sure to use set -e and bash in all hooks
- 26. By Patrick Hetu
-
remove unneeded start and stop hooks
- 25. By Patrick Hetu
-
Move the website relation back in the charm
- 24. By Patrick Hetu
-
remove website relation since it moves to the wsgi providers
Hi Patrick!
The boolean field requires that you use boolean values in metadata.yaml.
I'd recommend against using it until we add a new "format" key and then we'll have 'config-get --test boolean-field-name' so that you can test true/false rather than interpreting the string.
Anyway, your charm won't deploy:
2012-05-23 13:49:52,388 WARNING Charm 'python-moinmoin' has an error: ServiceConfigVa lueError( "Invalid value for xapian_search: 'true'",) Invalid value for xapian_search: 'true'
Please change it back to string, or remove the quotes around "true" and check all usage of the config field to make sure they will operate properly by interpreting it as *json* not 'True' or 'False' literally.