Merge ~sylvain-pineau/checkbox-ng:no_validation_context_env_var into checkbox-ng:master
Proposed by
Sylvain Pineau
Status: | Rejected |
---|---|
Rejected by: | Sylvain Pineau |
Proposed branch: | ~sylvain-pineau/checkbox-ng:no_validation_context_env_var |
Merge into: | checkbox-ng:master |
Diff against target: |
13 lines (+2/-0) 1 file modified
plainbox/provider_manager.py (+2/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Checkbox Developers | Pending | ||
Review via email: mp+356574@code.launchpad.net |
Description of the change
If a project snap wants to use the content interface to load the base providers, needless to build it with parts for all those providers.
So far we have to as they are used to pass the project provider validation.
This patch allow such provider to perform only "static" validation (i.e with no context, without trying to load all possible providers).
As an example:
parts:
[...]
checkbox-
plugin: plainbox-provider
source: ./checkbox-
after: [checkbox-ng-dev]
build-
- PROVIDER_
Note: build-environment requires snapcraft snap from edge
To post a comment you must log in.
What is an example of a validation failure that would happen without this change?