lp://staging/~rogpeppe/juju-core/simplify-watchers

Created by Roger Peppe and last modified
Get this branch:
bzr branch lp://staging/~rogpeppe/juju-core/simplify-watchers
Only Roger Peppe can upload to this branch. If you are Roger Peppe please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Roger Peppe
Project:
juju-core
Status:
Development

Recent revisions

302. By Roger Peppe

state/eatcher: fix test

301. By Roger Peppe

state: make watchers use explicit stop channel

300. By Roger Peppe

start watcher simplification

299. By William Reade

reorder state watcher types

... so that service-related watchers are all together, and follow the usual
watcher-type; change-type; watcher-implementation convention.

No behaviour changes whatsoever; got an IRC LGTM from rogpeppe.

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

298. By Roger Peppe

environs: add methods for opening and closing ports.

Also add a dummy implementation, and clean up dummy op
send semantics slightly.

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

297. By Dave Cheney

all: rename service => worker

As discussed in the 03/07/2012 team meeting, among a poor field of
candidates, worker(s) was the prefered name for the code that runs
inside an agent. eg, the Provisioner worker runs inside the
Provisioning agent.

note: also fixed a gofmt issue in state/ which had been bugging me.

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

296. By Roger Peppe

charm: avoid crash when reading charms with simple relation strings.

Fixes bug #1015700

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

295. By Aram Hăvărneanu

mstate: refactor tests like in state.

Tests are refactored into multiple suites to be compatible with
state. See issue 6348053. After mstate replaces state I plan to reverse
the dependencies between suites. Right now each suite embeds an UtilSuite
and has to call UtilSuite.SetUpTest resulting in error prone duplicate
code. Keeping the multiple suites as containers for data and embedding
all suites into a StateSuite shared by all tests is a better design. We
will keep tests in separate files.

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

294. By Aram Hăvărneanu

mstate: don't use global sequencing for units.

Inside the mstate package, we shouldn't be using the service name
directly as a sequence name, since it kills the whole namespace. In
fact, the sequence for units is a special case, and should live inside
the service itself, since we want it to be garbage collected with the
service, and want it to reset if the service is removed/re-added.

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

293. By Aram Hăvărneanu

mstate: removing a node removes associated nodes.

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

Branch metadata

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

Subscribers