lp://staging/~themue/pyjuju/go
- Get this branch:
- bzr branch lp://staging/~themue/pyjuju/go
Branch merges
- Juju Engineering: Pending requested
-
Diff: 125 lines (+57/-9)3 files modifiedstate/relation.go (+21/-1)
state/state.go (+11/-7)
state/state_test.go (+25/-1)
Branch information
Recent revisions
- 200. By Frank Mueller
-
state: Added two methods to add relations to State.
AddClientServer
Releation( ) gets a client and a server endpoint,
AddPeerRelation() a peer endpoint. They return the relation and
both service relations for client/server or the one for peer.
The seperation into two methods with well defined arguments make
it easier to ensure a valid relation creation.R=niemeyer
CC=
https://codereview. appspot. com/6223055 - 199. By Dave Cheney
-
state: add state.Environment
This func provides direct access to the current environment
configuration as a *ConfigNode. This is used buy jujut and
is needed for testing the provisioning agent as
state.readConfigNode() is not exported. R=niemeyer
CC=
https://codereview. appspot. com/6261055 - 198. By William Reade
-
add charm.InferRepo
sitory R=niemeyer
CC=
https://codereview. appspot. com/6261058 - 197. By William Reade
-
add juju.Conn.Close
I'm not sure that there's an especially clean way to enforce the "don't close
conn state directly" advice. If someone can think of one, please let me know,
so I can fix that now :). - 196. By William Reade
-
Add local charm Repository type
R=niemeyer
CC=
https://codereview. appspot. com/6245075 - 195. By Dave Cheney
-
cmd/juju{c,d,}: fix testing issues by using package main
This issue has been biting roger and I for a while. After spending
some time on it today and looking at other examples from the std lib
of testing main packages, it looks like when testing main (ie, from cmd/go)
all the tests run in package main. Our use of main_test appears unique.R=fwereade, niemeyer
CC=
https://codereview. appspot. com/6260054 - 194. By Frank Mueller
-
state: Renamed zk* to top* in topology.
This way the entity names in topology.go are more
technology independend. So far the comments contain
references to ZooKeeper. In the moment we change to
an own API hiding the technology the comments should
change too.R=niemeyer
CC=
https://codereview. appspot. com/6247059 - 193. By William Reade
-
Add upstart package with Service and Conf types
Service enables control of, and visibility into, the state of an upstart
service; Conf embeds a Service and additionally allows for installation
(both directly, as used by a machine agent creating a unit agent service,
and as a set of commands to run later, as used when constructing a
cloud-init file to run a machine and/or provisioning agent on a new
instance).R=niemeyer, rog, dfc
CC=
https://codereview. appspot. com/6190061
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://staging/pyjuju