-
f3d58233
by Josh Smith
at 2018-08-15T11:15:58Z
_project.py: Add fatal-warnings configuration item
This allows for users to configure fatal-warnings to be either a list of
warnings.
This commit deprecates the use of fail-on-overlap within project.conf,
this will now use the fatal-warnings configuration item.
element.py: Cache key calculation now takes into account all of the
fatal-warnings
tests: This modifys the tests/frontend/overlaps.py tests to support the
new fatal-warnings configuration. Backwards compatibility is also
tested for `fail-on-overlap`
_versions.py: BST_FORMAT_VERSION bumped to 15 for fatal-warnings
BST_CORE_ARTIFACT_VERSION bumpted to 5 for fatal-warnings
Fixes: #526
-
4669309e
by Josh Smith
at 2018-08-15T11:15:58Z
git.py: Add configurable warning for inconsistent-submodule
This follows the implementation of configurable warnings.
-
c9dd51f2
by Josh Smith
at 2018-08-15T11:15:58Z
docs: Add documentation for Configurable Warnings
This includes detailing the use of `fatal-warnings` within project.conf
-
03527d5a
by Josh Smith
at 2018-08-15T11:15:58Z
tests: Add tests for configurable warnings
This adds multiple tests for custom plugin warnings and core warnings,
providing checks for both cases which should cause warnings and errors
when configured as fatal.
Also adds tests for cache key calculations.
-
76f34a63
by Tristan Van Berkom
at 2018-08-15T12:16:04Z
Merge branch 'Qinusty/526-fail-on-warnings' into 'master'
Configurable Warnings
Closes #526
See merge request BuildStream/buildstream!627
-
673531c8
by Chandan Singh
at 2018-08-15T12:17:46Z
Allow source plugins to access previous sources
Source plugin implementations can now specify that they need access to
previously staged sources by specifying
`BST_REQUIRES_PREVIOUS_SOURCES_TRACK` and/or
`BST_REQUIRES_PREVIOUS_SOURCES_FETCH`, corresponding to access at `track`
and `fetch` times respectively.
Fixes #381.
Replaces !505. For relevant discussion, see this discussion:
https://gitlab.com/BuildStream/buildstream/merge_requests/505#note_83780747
-
c347432f
by Chandan Singh
at 2018-08-15T12:29:32Z
Add pip source plugin
`pip` source plugin can stage python packages that are either specified
directly in the element definition or picked up from `requirements.txt`
from previous sources. In order to support the latter use-case
(which is also the primary motivation for this plugin), this plugin
requires access to previous sources and hence is an example of a
Source Transform source.
Also, bump `BST_FORMAT_VERSION` as this patch adds a new core plugin.
-
1792d163
by Chandan Singh
at 2018-08-15T12:29:34Z
Add NEWS entry for Source Transform and pip source
-
28f541ae
by Chandan Singh
at 2018-08-15T12:38:06Z
fixup! Add pip source plugin