lp:~themue/juju-core/037-empty-strings-in-charm-config

Created by Frank Mueller on 2013-08-02 and last modified on 2013-08-20
Get this branch:
bzr branch lp:~themue/juju-core/037-empty-strings-in-charm-config
Only Frank Mueller can upload to this branch. If you are Frank Mueller please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Frank Mueller
Project:
juju-core
Status:
Development

Recent revisions

1572. By Frank Mueller on 2013-08-02

charm: allowing empty strings as valid config value for string types

1571. By Frank Mueller on 2013-08-02

cmd/set: corrected the reset of an invalid change to be exact like before

1570. By Frank Mueller on 2013-08-02

cmd/set: merged trunk

1569. By Frank Mueller on 2013-08-02

cmd/set: removed setting to empty string until clearance

1568. By Frank Mueller on 2013-08-01

cmd/set: add option --default to set to default value

1567. By Jeroen T. Vermeulen on 2013-07-31

[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 on 2013-07-31

[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 on 2013-07-30

[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 on 2013-07-30

[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 on 2013-07-30

[r=fwereade] state: unexport ParseTag

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

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

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