~pfsmorigo/review-tools:metalink_support

Last commit made on 2021-10-28
Get this branch:
git clone -b metalink_support https://git.launchpad.net/~pfsmorigo/review-tools
Only Paulo Flabiano Smorigo can upload to this branch. If you are Paulo Flabiano Smorigo please log in for upload directions.

Branch merges

Branch information

Name:
metalink_support
Repository:
lp:~pfsmorigo/review-tools

Recent commits

43fe4dd... by Paulo Flabiano Smorigo

Add check for links using a invalid list too

Signed-off-by: Paulo Flabiano Smorigo <email address hidden>

316a452... by Paulo Flabiano Smorigo

Add a check to verify if a link is string|list[string]

Signed-off-by: Paulo Flabiano Smorigo <email address hidden>

ef3075b... by Paulo Flabiano Smorigo

metalink: Remove regex checking and add expected test results

Signed-off-by: Paulo Flabiano Smorigo <email address hidden>

ae77083... by Paulo Flabiano Smorigo

Add support for links

Signed-off-by: Paulo Flabiano Smorigo <email address hidden>

e64e7a2... by Alex Murray

snapcraft.yaml: Add python3-ruamel.yaml to build/stage-packages

This is now required for the duplicate YAML key check

f9126ef... by Alex Murray

sr_common / test_sr_common: Fix flake8 / black style issues

bc98e6b... by Alex Murray

Makefile: Add python3-ruamel.yaml as a dependency

This is required for to check for duplicate YAML keys. Also change the
check-deb-deps target to use dpkg -s rather than dpkg -l since a package
can still be in the dpkg cache and hence show up via dpkg -l but dpkg -s
error's out if the package is not actually installed.

972d2d5... by Michael Vogt

sr-common: reject snaps that have duplicated yaml keys

This commit adds detection when yaml keys in maps are duplicated.
In YAML it is not allowed to have duplicated map keys like:
```
map:
 key:
 key:
```
But unfortunately py-yaml and go-yaml.v2 allow this and do not
warn or error. When moving to go-yaml.v3 we noticed this issue.

It is unclear if any real world snaps are affected by this but
we should make sure we at least to not get more.

cd6eede... by Alex Murray

Update debian/changelog for release

0951309... by Alex Murray

data/snapd-base-declaration.yaml: Update for latest changes in snapd

Adds ion-memory-control, microstack-support, sd-control and
snap-refresh-control