lp:~axwalk/juju-core/trunk

Created by Andrew Wilkins and last modified
Get this branch:
bzr branch lp:~axwalk/juju-core/trunk
Only Andrew Wilkins can upload to this branch. If you are Andrew Wilkins please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Andrew Wilkins
Project:
juju-core
Status:
Development

Recent revisions

1568. By Andrew Wilkins

cmd/juju: confirm destroy-environment

1567. By Jeroen T. Vermeulen

[r=jtv] Simplestreams query for Azure.

This adds to Azure the ability to query simplestreams for suitable OS images.
It's not hooked up into combined instance-type and image selection; that's for
a later branch.

Testing this was tough. It's very hard to figure out why this isn't working
when it isn't — all you get is an empty list of matches. I would have done
more unit-testing, but I'm exhausted.

There's also a little drive-by cleanup: the base test suite for Azure created
an Environ for tests to use. This is bad practice, but luckily no tests were
making use of it. I removed it before anyone gets it into their heads to make
use of the thing.

1566. By Sidnei da Silva

[r=sidnei],[bug=1205112] Escape dollar and dot in and out of MongoDB

Both dollar sign and dot are not allowed as keys. In fact, dot creates a
sub-document of some sort, which breaks compatibility with pyjuju and causes a
panic (LP:1205112).

The developer manual suggests escaping those with their unicode full width
equivalents:

  http://docs.mongodb.org/manual/faq/developers/#faq-dollar-sign-escaping

1565. By Dimiter Naydenov

[r=dimitern] names: New package

This introduces a new juju-core/names pacakge,
which contains all name and tag related functions
shared between state and API: IsUnitName, UnitTag,
UnitNameFromTag, MachineTag, MachineIdFromTag,
IsServiceName, etc.

Because of the pacakge name, some functions were
renamed: names.IsUnit, IsService, UnitFromTag,
all refer to names.

In addition, a change was made to these two
functions: UnitNameFromTag and MachineIdFromTag.
Both of them now return (string, error), rather
than just string. The error return is used in
case the passed tag string has an invalid format.
Because of this change, some places needed slight
refactoring, otherwise no other changes where made.

https://codereview.appspot.com/12034043/

R=fwereade, rogpeppe

1564. By Roger Peppe

[r=rogpeppe] various: fix test races

These are various places that rely on testing.ShortWait
to wait for something to occur.

I discovered them by setting testing.ShortWait to 1us
and seeing what failed.

https://codereview.appspot.com/11723043/

1563. By William Reade

[r=fwereade] state: unexport ParseTag

...which should clearly never have been exported in the first place.

https://codereview.appspot.com/12097043/

1562. By William Reade

[r=fwereade],[bug=1199886] jujuc: relation-set compatibility

lp:1199886 (relation-set should accept 0 args)

https://codereview.appspot.com/11808045/

1561. By Frank Mueller

[r=themue] cmd/bootstrap: integrate syncing

After the CL moving the synchronization logic into an
own package this CL now checks if tools can be found
during bootstrap. If this is not possible it will use
the synchronization logic and then retries the
bootstrapping.

https://codereview.appspot.com/11910043/

1560. By Julian Edwards

[r=julian-edwards] The Azure provider now creates/destroys its own storage containers, removing the need to configure one.

1559. By Roger Peppe

[r=rogpeppe] state/api/agent: new package

This provides functionality for the machine agent and unit agent.
The old MachineAgent API entry point is now deprecated;
the client entry point has been removed but the server
side remains around until we can remove it (for backward
compatibility with 1.12).

https://codereview.appspot.com/12038045/

Branch metadata

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

Subscribers