Merge lp://staging/~fwereade/juju-core/jujuc-server-get-context into lp://staging/~juju/juju-core/trunk
Status: | Work in progress |
---|---|
Proposed branch: | lp://staging/~fwereade/juju-core/jujuc-server-get-context |
Merge into: | lp://staging/~juju/juju-core/trunk |
Diff against target: |
318 lines (+85/-61) 5 files modified
cmd/jujuc/main_test.go (+20/-16) worker/uniter/jujuc/export_test.go (+5/-0) worker/uniter/jujuc/server.go (+49/-34) worker/uniter/jujuc/server_test.go (+8/-7) worker/uniter/uniter.go (+3/-4) |
To merge this branch: | bzr merge lp://staging/~fwereade/juju-core/jujuc-server-get-context |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
The Go Language Gophers | Pending | ||
Review via email: mp+128876@code.staging.launchpad.net |
Description of the change
jujuc: command registration
Commands are registered at package level; servers are created with context-
getting functions instead of command-getting ones.
Unmerged revisions
- 648. By William Reade
-
gaah, forgot to add
- 647. By William Reade
-
address review
- 646. By William Reade
-
mere parent
- 645. By William Reade
-
merge parent; fix missed tests
- 644. By William Reade
-
tweak server interaction for convenience
- 643. By William Reade
-
uniter: hide HookContext fields
R=niemeyer
CC=
https://codereview. appspot. com/6615066 - 642. By William Reade
-
jujuc: tests no longer depend on state
R=niemeyer
CC=
https://codereview. appspot. com/6634047 - 641. By William Reade
-
jujuc: extract HookContext
Not clean yet, but big enough already; followups will (1) remove the
HookContext dependency in the jujuc tests and (2) fix up HookContext
so that it doesn't have messy overlapping public fields.R=niemeyer
CC=
https://codereview. appspot. com/6637049 - 640. By William Reade
-
jujuc: switch commands to use Context
R=niemeyer
CC=
https://codereview. appspot. com/6633043 - 639. By Gustavo Niemeyer
-
state: explicit Settings creation and updating
This turns Settings into explicitly managed resources rather
than first-update-creates. Reading or updating non-existing
will fail, creating existing will also fail.R=fwereade
CC=
https://codereview. appspot. com/6641046
Reviewers: mp+128876_ code.launchpad. net,
Message:
Please take a look.
Description:
jujuc: command registration
Commands are registered at package level; servers are created with
context-
getting functions instead of command-getting ones.
https:/ /code.launchpad .net/~fwereade/ juju-core/ jujuc-server- get-context/ +merge/ 128876
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/6632059/
Affected files: main_test. go uniter/ jujuc/server. go uniter/ jujuc/server_ test.go uniter/ uniter. go
A [revision details]
M cmd/jujuc/
M worker/
M worker/
M worker/