~rogpeppe/juju-core/axwalk-lp1300889-disable-mongo-keyfile

charm: Fix bug #864164 - non-exec hooks

Changed ExpandTo() and BundleTo() to set
executable permissions while processing
charm hook files. In the case of BundleTo(),
as mentioned in the bug, a warning is issued
to the log about this, while in ExpandTo()
it happens silently.
Permissions of hooks are set executable by owner.
Added tests and a testing charm with all hooks
defined.

R=fwereade, rog
CC=
https://codereview.appspot.com/7305096
Filename Latest Rev Last Changed Committer Comment Size
..
builddb 580.4.2 12 years ago Gustavo Niemeyer Moved builddb to cmd/. Now that environs packs to Diff
charmd 894.1.1 11 years ago Dave Cheney undo charm store removal, rev 886 Diff
charmload 894.1.1 11 years ago Dave Cheney undo charm store removal, rev 886 Diff
juju 37.3.14 12 years ago William Reade hefty rearrangement, few actual changes Diff
jujuc 91.1.6 12 years ago William Reade move to jujuc/server Diff
jujud 50.1.2 12 years ago William Reade untested sketch of jujud command Diff
cmd.go 659.1.2 12 years ago Roger Peppe fix some log messages 3.5 KB Diff Download File
cmd_test.go 478.1.1 12 years ago Dave Cheney add ctx.Stdin 3.1 KB Diff Download File
filevar.go 709.1.1 11 years ago Dave Cheney gofmt 567 bytes Diff Download File
filevar_test.go 709.1.1 11 years ago Dave Cheney gofmt 1.3 KB Diff Download File
logging.go 255 12 years ago Gustavo Niemeyer launchpad.net/juju-core/juju => launchpad.net/juju 1 KB Diff Download File
logging_test.go 255 12 years ago Gustavo Niemeyer launchpad.net/juju-core/juju => launchpad.net/juju 2.4 KB Diff Download File
output.go 355.1.2 12 years ago William Reade address review 4.2 KB Diff Download File
output_test.go 709.1.1 11 years ago Dave Cheney gofmt 3.1 KB Diff Download File
supercommand.go 794.6.2 11 years ago William Reade whoops, fix purpose 3.1 KB Diff Download File
supercommand_test.go 794.6.2 11 years ago William Reade whoops, fix purpose 3.2 KB Diff Download File
util_test.go 478.1.1 12 years ago Dave Cheney add ctx.Stdin 1.6 KB Diff Download File