~wgrant/snapcraft/+git/github:no-report-tool-missing

Last commit made on 2020-07-20
Get this branch:
git clone -b no-report-tool-missing https://git.launchpad.net/~wgrant/snapcraft/+git/github

Branch merges

Branch information

Name:
no-report-tool-missing
Repository:
lp:~wgrant/snapcraft/+git/github

Recent commits

a7ac3dd... by Chris Patterson

sentry: don't report tool missing errors

Spread tests should capture any missing tools from the snap,
should we make that mistake. If the host is missing the tool,
do not offer to report it to sentry.

Fixes SNAPCRAFT-1V7

Signed-off-by: Chris Patterson <email address hidden>

e4e0879... by Sergio Schvezov

review tools: link or copy snap to snap common (#3220)

Attempt to link and then copy the snap to review into the review-tools'
SNAP_USER_COMMON area to support the cases where the snap created in an
area the review tools cannot read from or the broader case of having the
"home" interface disconnected.

Fixes SNAPCRAFT-1VY

Signed-off-by: Sergio Schvezov <email address hidden>

5feaeff... by James Henstridge

build_providers: only enable syscall interception if supported by kernel

e27a228... by James Henstridge

build_providers: create LXD containers with security.syscalls.intercept.mknod=true

42548cd... by James Henstridge

tests: add a spread test to build a snap that uses mknod under LXD

66ed449... by Sergio Schvezov

cmake v2 plugin: add stage to CMAKE_PREFIX_PATH (#3217)

Also update the unit tests to use pytest.

Signed-off-by: Sergio Schvezov <email address hidden>

a00e3f5... by Chris Patterson

build providers: tweak environment clean detection and logging (#3216)

This error is often incorrect:
f"Build environment was created with unknown snapcraft version {built_by!r}, cleaning."

Update to more accurately describe that we simply don't know its state:
"Build environment is in unknown state, cleaning first."

For consistency, also reword the following by specifying "first":
(2) f"Project base changed from {provider_base!r} to {build_base!r}, cleaning build instance."
 -> f"Project base changed from {provider_base!r} to {build_base!r}, cleaning first."

(3) f"Build environment was created with newer snapcraft version {built_by!r}, cleaning."
 -> f"Build environment was created with newer snapcraft version {built_by!r}, cleaning first."

Pull these checks into new function '_check_environment_needs_cleaning()',
so there is only one call to clean_project().

Signed-off-by: Chris Patterson <email address hidden>

55cbcf6... by Chris Patterson

build providers: use PEP-440 compliant version comparison operator (#3215)

Now that we're using PEP-440 compliant versioning, use the version
objects provided by pkg_resources for comparison.

Signed-off-by: Chris Patterson <email address hidden>

4561c43... by Chris Patterson

snap: specify 'libxslt1-dev' than virtual 'libxslt-dev' build-package (#3214)

Follow the advice of our own warning :)

Signed-off-by: Chris Patterson <email address hidden>

3b0d87f... by Sergio Schvezov

cli: use prefix in store name registration hint (#3213)

Snapcraft recommended to register <snap-name>-<username> to overcome
concerns about ownership of a given name. It was agreed a while ago to
prefix the username suggestion to have a common namespace for a
publisher for ordering/listing.

Minor updates to quoting were also done.

Signed-off-by: Sergio Schvezov <email address hidden>