lp:~dave-cheney/juju-core/089-state-unit-assigned-machine

Created by Dave Cheney and last modified
Get this branch:
bzr branch lp:~dave-cheney/juju-core/089-state-unit-assigned-machine
Only Dave Cheney can upload to this branch. If you are Dave Cheney please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Dave Cheney
Project:
juju-core
Status:
Development

Recent revisions

457. By Dave Cheney

AssignedMachine

456. By Roger Peppe

juju: always connect to State.

All uses of juju.Conn other than Bootstrap and Destroy require a state
connection, so make State an exported field of Conn and connect to it
when creating the Conn.

The few places that call Bootstrap can easily call Environ.Bootstrap
instead.

Also add environs.NewFromName to make it easier to open an
environment, rename juju.NewConn to juju.NewConnFromName, and add
juju.NewConnFromEnviron to join the dots.

R=TheMue, niemeyer
CC=
https://codereview.appspot.com/6488077

455. By Roger Peppe

worker: new package to factor out some common code from workers

Also simplify workers a little.

R=niemeyer
CC=
https://codereview.appspot.com/6501072

454. By Roger Peppe

cmd/jujud: fix race in test

We should not call OpenPort until the new instance id has
hit the state.

We also fix a bug in firewaller where it called InstanceId even
when it needed to do nothing, and take the opportunity
to make the firewaller tests a little more concise now that we
have JujuConnSuite.

R=TheMue, dfc
CC=
https://codereview.appspot.com/6499056

453. By Roger Peppe

environs: add BootstrapConfig

Also add flags to environs.FindTools and environs.BestTools,
LoggingSuite to JujuSuite, and make the Config in cloudinit
a *config.Config.

R=niemeyer, dfc
CC=
https://codereview.appspot.com/6500052

452. By Frank Mueller

state: changed environ config to be config.Config

state.EnvironConfig() and the according watcher now
return environs/config.Config. Additionally the new
function state.SetEnvironConfig() replaces the current
configuration. Depending code - mostly tests - has
been changed.

R=niemeyer
CC=
https://codereview.appspot.com/6493055

451. By William Reade

add charm.GitDir

Hopefully uncontroversial; implementing this should help me focus on the
actual charm.Manager implementation more easily.

R=niemeyer
CC=
https://codereview.appspot.com/6493059

450. By Roger Peppe

environs/config: add support for agent version.

Also adjust documentation for schema.Omit slightly
and add a test.

R=niemeyer
CC=
https://codereview.appspot.com/6499055

449. By Roger Peppe

environs: change BestTools so it does not choose later versions

As discussed on-line, when upgrading we want to
choose the latest version with number <= the proposed
version.

R=niemeyer
CC=
https://codereview.appspot.com/6495054

448. By Dave Cheney

environs/dummy: fix build

I thought I ran tests before submitting, but clearly I did not.

R=
CC=
https://codereview.appspot.com/6501063

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:~juju/juju-core/trunk
This branch contains Public information 
Everyone can see this information.

Subscribers