Merge lp:~dave-cheney/juju-core/go-juju-update-environment into lp:~juju/juju-core/trunk
Status: | Rejected |
---|---|
Rejected by: | Dave Cheney |
Proposed branch: | lp:~dave-cheney/juju-core/go-juju-update-environment |
Merge into: | lp:~juju/juju-core/trunk |
Diff against target: |
80 lines (+40/-1) 2 files modified
environs/open.go (+14/-1) juju/conn.go (+26/-0) |
To merge this branch: | bzr merge lp:~dave-cheney/juju-core/go-juju-update-environment |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
The Go Language Gophers | Pending | ||
Review via email: mp+116610@code.launchpad.net |
Description of the change
juju: add UpdateEnvironConfig
This is not a proposal. This is an aide for the discussion
about pushing the secrets.
Unmerged revisions
- 329. By Dave Cheney
-
gofmt
- 328. By Dave Cheney
-
responding to review feedback
- 327. By Dave Cheney
-
proposal
- 326. By Gustavo Niemeyer
-
store: fix tests
R=rog
CC=
https://codereview. appspot. com/6419075 - 325. By William Reade
-
initial HookQueue implementation
Does not yet support saving/
loading/ reconciling state, but should correctly
handle all known situations in-memory, assuming a sane stream of added
RelationUnitsChange events.R=niemeyer
CC=
https://codereview. appspot. com/6422049 - 324. By Roger Peppe
-
juju: add NewConnFromAttrs.
It's useful for testing Conns, apart from anything else.
R=TheMue, niemeyer
CC=
https://codereview. appspot. com/6422058 - 323. By Dave Cheney
-
cmd/juju: status: gather basic machine properties
This proposal adds the ability to gather basic machine
properties.% juju status
machines:
"0":
dns-name: ec2-50-16-84-143. compute- 1.amazonaws. com
instance-id: i-0ea58c76
services: {}nb. The key of the machines map is a string, not an int, which
is an incompatability with the current pythonic output. This
will be addressed shortly.R=fwereade, niemeyer
CC=
https://codereview. appspot. com/6419069 - 322. By Gustavo Niemeyer
-
store: separate bzr stderr stream to avoid garbage
R=dfc
CC=
https://codereview. appspot. com/6431060 - 321. By William Reade
-
consistency of usage of state.Relations
ie:
(*State) AddRelation(
...state. RelationEndpoin t) (*Relation, error)
(*State) Relation(...state. RelationEndpoin t) (*Relation, error)
(*State) RemoveRelation(*Relation) error ...and, also, RemoveService now:
* removes relations
* checks errorsR=niemeyer
CC=
https://codereview. appspot. com/6351123 - 320. By William Reade
-
Add RelationUnit type
This is kinda like the original RelationUnit proposed a few days ago, but
exposes its various bits of functionality separately rather than being a
magical watch-and-join chimera.Notably, RelationUnitsWa
tcher is now exported, so the internal tests have
been dropped.R=niemeyer
CC=
https://codereview. appspot. com/6430055
https:/ /codereview. appspot. com/6445045/ diff/1/ environs/ open.go
File environs/open.go (right):
https:/ /codereview. appspot. com/6445045/ diff/1/ environs/ open.go# newcode22 open.go: 22: // Config returns the *config.Config associated
environs/
with the environ
// Config returns the environment configuration with the given name.
https:/ /codereview. appspot. com/6445045/ diff/1/ environs/ open.go# newcode30 open.go: 30: } config. Type()] e.config, nil)
environs/
p, ok := providers[
if !ok {
return nil, fmt.Errorf("no registered provider for %q",
config.Type())
}
return p.Validate(
https:/ /codereview. appspot. com/6445045/