~snappy-dev/snapd/+git/snapd-pawel:fix-conn-attributes-numbers

Last commit made on 2018-10-22
Get this branch:
git clone -b fix-conn-attributes-numbers https://git.launchpad.net/~snappy-dev/snapd/+git/snapd-pawel

Branch merges

Branch information

Name:
fix-conn-attributes-numbers
Repository:
lp:~snappy-dev/snapd/+git/snapd-pawel

Recent commits

93ca87a... by Zygmunt Krynicki

Change wording

Co-Authored-By: stolowski <email address hidden>

b3497fa... by Paweł Stołowski

Simplify.

4f53bf8... by Paweł Stołowski

Test json.Number handling.

c8f877c... by Paweł Stołowski

Simplify.

734be3d... by Michael Vogt

ifstate: fix decoding of json numbers

When we read the static slots/plugs from the state we decode them
as with the default json decoding. This leads to float64 instead
of the expected int. This PR fixes it and adds tests.

66aa6c5... by Paweł Stołowski

Reproducer.

88c67a4... by Zygmunt Krynicki

Merge pull request #6009 from zyga/fix/locking-path

cmd: use relative file names in locking APIs

4144a13... by Zygmunt Krynicki

interfaces: fix NormalizeInterfaceAttributes, add tests (#6012)

* interfaces: fix NormalizeInterfaceAttributes, add tests

The NormalizeInterfaceAttributes was untested so I fixed that. While
working on tests I noticed that it was unexpectedly mutating the
argument it was given (while returning a return value) so I fixed and
tested that as well.

Signed-off-by: Zygmunt Krynicki <email address hidden>

* interfaces: test normalization of float32

Signed-off-by: Zygmunt Krynicki <email address hidden>

* interfaces: add tests for CopyAttributes

Signed-off-by: Zygmunt Krynicki <email address hidden>

68e2f97... by "John R. Lenton" <email address hidden>

Merge pull request #5957 from chipaca/fallback-to-sudo

overlord/snapshotstate/backend: fall back on sudo when no runuser

59f7489... by John Lenton

overlord/snapshotstate: comments and reorg, via review