~snappy-dev/snapd/+git/snapd-pawel:early-config-more-checks

Last commit made on 2020-07-08
Get this branch:
git clone -b early-config-more-checks https://git.launchpad.net/~snappy-dev/snapd/+git/snapd-pawel

Branch merges

Branch information

Name:
early-config-more-checks
Repository:
lp:~snappy-dev/snapd/+git/snapd-pawel

Recent commits

d3ffe6d... by Paweł Stołowski

Remove unneeded 2>&1 redirections (thanks zyga).

19510b5... by Paweł Stołowski

Merge branch 'master' into early-config-more-checks

5e8670d... by Ian Johnson

Merge pull request #8985 from anonymouse64/bugfix/check-new-top-level-dirs-layouts

snap/validate.go: disallow snap layouts with new top-level directories

We previously wouldn't fail on verification for snaps that used new top-level directories, and would fail at runtime, which produces a very unhelpful message.

Also adjust some test yamls in interfaces/mount tests, which are not valid as they are for new top-level directories in /.

Finally, add an additional unit test for the test case with LP #1831010 that is already covered by spread tests, but not yet by unit tests.

See https://forum.snapcraft.io/t/snap-application-works-in-classic-mode-fails-in-dev-mode-and-strict/18562/7 for an example of such a confusion.

7df67f3... by Maciej Borzecki

Merge pull request #8962 from sergiocazzolato/tests-run-nested-based-on-tag

tests: allow to add a new label to run nested tests as part of PR validation

f887459... by Ian Johnson

Merge pull request #8956 from bboozzoo/bboozzoo/uc20-grub-cfg-with-gadget-spread-test

tests/core/gadget-update-pc: port to UC20

db21cb0... by Claudio Matsuoka

Merge pull request #8957 from mvo5/nested-vm-8

tests: improve nested tests flexibility

678cbdc... by Samuele Pedroni

asserts: integer headers: disallow prefix zeros and make parsing more uniform

Merge pull request #8984 from pedronis/asserts-disallow-zero-prefixes

Especially error handling.

4844511... by Samuele Pedroni

asserts: implement Database.FindSequence

Merge pull request #8907 from pedronis/asserts-find-sequence

FindSequence finds an assertion for the given headers and after for a
sequence-forming type. The provided headers must contain a sequence key,
i.e. a prefix of the primary key for the assertion type except for the
sequence number header. The assertion is the first in the sequence under the
sequence key with sequence number > after. If after is -1 it returns instead
the assertion with the largest sequence number.

bcb8fd4... by Sergio Cazzolato

Adding new line at the end of the action definition

b071a33... by Ian Johnson

snap/validate.go: use Layout.Path instead of the map key

In actual usages outside of the unit tests, we will use the layout.Path
element so use that instead.

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