~snappy-dev/snapd/+git/snapd-pawel:disk-space-awareness/install-check2

Last commit made on 2020-08-27
Get this branch:
git clone -b disk-space-awareness/install-check2 https://git.launchpad.net/~snappy-dev/snapd/+git/snapd-pawel

Branch merges

Branch information

Name:
disk-space-awareness/install-check2
Repository:
lp:~snappy-dev/snapd/+git/snapd-pawel

Recent commits

b4a2e3c... by Paweł Stołowski

Add comments and test ChangeKind (thanks pedronis).

c0c39fe... by Paweł Stołowski

Merge branch 'master' into disk-space-awareness/install-check2

145c09d... by Paweł Stołowski

Rename ErrInsufficientSpace to InsufficientSpaceError and add ChangeKind to it.

7fdb6c8... by Paweł Stołowski

Add safetyMarginDiskSpace helper.

6514e3a... by Michael Vogt

Merge pull request #9223 from anonymouse64/feature/mkversion-sh-include-dirty

mkversion.sh: simple hack to include dirty in version if the tree is dirty

84017fa... by Zygmunt Krynicki

Merge pull request #9212 from zyga/fix/track-hooks-on-system-bus

cgroup,snap: track hooks on system bus only

daf6f7a... by Michael Vogt

Merge pull request #9228 from zyga/fix/lp-1892804

interfaces/systemd: compare dereferenced Service

b2ad5e3... by Zygmunt Krynicki

interfaces/systemd: compare dereferenced Service

The systemd backend is relatively unique, as it is only used by one
interface. The GPIO interface uses it to create systemd units which
export GPIOs from kernel / firmware to userspace and back.

The specification system for the systemd backend is comprised of named
services. The code allows for repeated generation of identical services,
sharing the same name, that are coalesced as long as their definitions
are identical.

Based on a customer report, we found a mistake in how this coalescing
was performed. The code performed pointer comparison, not object
equality comparison. This patch fixes this issue, adds unit tests
checking that case and improves the diagnostic error message to simplify
debugging in the future.

Fixes: https://bugs.launchpad.net/tillamook/+bug/1892804
Signed-off-by: Zygmunt Krynicki <email address hidden>

f4545d0... by Ian Johnson

Merge pull request #9219 from mvo5/only-misspell-in-tree

run-checks: only check files in git for misspelling

This commit changes run-checks to only run "misspell" on files
that are in git. This avoids running it against the generated
autotools files that have some typos in them.

This is an alternative solution for the problem Ian outlined in #9217

7fe7a97... by Ian Johnson

mkversion.sh: simple hack to include dirty in version if the tree is dirty

We want dirty to show up in the version number if the tree is in fact dirty when
we build. Currently, if the version is dirty on a tag, we would get something
like 2.46-dirty as version_from_git, which will not be the same as 2.46 from the
changelog, and then we produce a silly version number like:

2.46+git2.46.2.46

but with this we now produce:

2.46-dirty

And for commits that are not directly on a tag, and are dirty, we get

2.46+git83.g1671726-dirty

which also produces the desired effect of including dirty in the version.

Signed-off-by: Ian Johnson <email address hidden>