← Back to issue list

plainbox-provider plugin: init PROVIDERPATH

View original Github issue

Metadata

Project
snapcraft
Number
#1611
Type
pull request
State
merged
Author
jocave
Labels
—
Created
Updated
Closed

Current evaluation

Merged #1611 as 467e3f040, initializing PROVIDERPATH so build-host providers cannot affect plainbox-provider validation; fixes LP #1722833.

Resolution: closed resolved

Reason: PR #1611 was merged in commit 467e3f040. It initializes PROVIDERPATH for plainbox-provider validation, isolating results from build-host configuration and fixing LP #1722833.

Evaluated by: mr-cal-bot

No scores available.

Issue body

- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [x] If this is a bugfix. Have you checked that there is a bug report open for the issue you are trying to fix on [bug reports](https://bugs.launchpad.net/snapcraft)? - [ ] If this is a new feature. Have you discussed the design on the [forum](https://forum.snapcraft.io)? - [x] Have you successfully run `./runtests.sh static`? - [x] Have you successfully run `./runtests.sh unit`? ----- [LP: #1722833](https://bugs.launchpad.net/snapcraft/+bug/1722833) Ensure PROVIDER path is set for all provider validations to prevent providers found on the build host from effecting the result

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged #1611 as 467e3f040, initializing PROVIDERPATH so build-host providers cannot affect plainbox-provider validation; fixes LP #1722833.
stealth/space-bunny-alpha — closed resolved PR #1611 merged as commit 467e3f040, initializing PROVIDERPATH so build-host providers cannot affect plainbox validation; it fixes LP #1722833.
stealth/space-bunny-alpha — closed resolved Merged PR #1611 (commit 467e3f040) makes the plainbox-provider plugin initialise PROVIDERPATH so plainbox provider validation no longer picks up providers from the build host, fixing LP bug #1722833.
stealth/space-bunny-alpha — closed resolved Merged PR #1611 in commit 467e3f040 initialized PROVIDERPATH for plainbox-provider, isolating validation from providers on the build host and fixing LP #1722833.
stealth/space-bunny-alpha — closed resolved PR #1611 by jocave merged as commit 467e3f040, initializing PROVIDERPATH in the plainbox-provider plugin so providers on the build host can't skew validation; fixes LP bug #1722833, shipped in snapcraft 2.35.
stealth/space-bunny-alpha — closed resolved Merged PR #1611 (467e3f040) initialized PROVIDERPATH in plainbox-provider, preventing build-host providers from affecting validation results; fixes LP #1722833.
stealth/space-bunny-alpha — closed resolved Merged in #1611 (467e3f040): initialized PROVIDERPATH for plainbox-provider validation to prevent build-host providers from affecting results.
stealth/space-bunny-alpha — closed resolved Merged PR #1611 (commit 467e3f040) initialized PROVIDERPATH in the plainbox-provider plugin, preventing build-host providers from affecting validations.
qwen/qwen3.6-35b-a3b — — Merged PR initializing PROVIDERPATH in the plainbox-provider plugin to prevent build host providers from affecting validation results. Resolves LP: #1722833. Approved, passed CI, and applied with seven lines added across two files.
qwen3.6-35b-a3b-mtp-q6 — — Merged initialization of PROVIDERPATH in the plainbox-provider plugin to isolate validation from build host providers, resolving LP: #1722833.

Update history

No update history recorded yet.

Related work

  • Related To: snapcraft (launchpad)#1722833 (confidence 100%)

    The linked validation bug was fixed by this merged PR.

  • Related To: snapcraft#1095 (confidence 90%)

    This earlier merged PR introduced plainbox-provider validation later corrected by #1611.

Related issues

Issue Project State Summary Similarity
#1722833 plainbox-provider plugin: validation of the first provider in a snap can fail based on host system configuration snapcraft (launchpad) closed Host-dependent plainbox-provider validation failure was fixed by merged snapcraft PR #1611 (commit 467e3f040, "plainbox-provider plugin: init PROVIDERPATH"), which initializes PROVIDERPATH so host provider/test definitions can't leak into the build.
79%
#1095 Plainbox providers run validate snapcraft merged Merged as commit 725546824, making plainbox-provider builds run validate with PROVIDERPATH support and an integration test to catch invalid providers and jobs.
79%
#2360 plainbox-provider plugin: add support for bases snapcraft merged Merged PR #2360 in commit 6d43b83af made the PlainboxProvider plugin base-aware, supporting only core16 and core18.
74%
#364 Create Plainbox Provider plugin snapcraft closed Plainbox Provider plugin PR by jocave was closed by sergiusens (2016-05-27) over build/stage-package and PYTHONPATH concerns; the work was later merged via PR #609 (commit 2b8ace75b).
72%
#1794802 Update the plainbox-provider plugin to be base aware snapcraft (launchpad) closed Updated the plainbox-provider plugin to support core16 and core18 bases; resolved by merged PR #2360 (commit 6d43b83af).
71%
#2140 lp 1768233 workaround for plainbox_provider plugin snapcraft merged Merged PR #2140, restoring plainbox-provider Checkbox builds by adding pip, setuptools and wheel as stage-packages, with an integration test (commit d932f0fc6).
71%