Commits on Source 22
-
Chandan Singh authored
In some cases, such as when working inside a virtual environment, it can be desirable to install all dependencies for running tests using `pip`. This is currently not possible since setuptools does not support installing these dependencies in a virtual environment (by design). (See https://stackoverflow.com/a/21003259.) To circumvent this issue, move such requirements to `dev-requirements.txt` file that can be used easily with `pip install -r`. This also enables tests to be run directly using `pytest`, which can be more convenient than `-addopts` approach when one needs to add multiple options. This will also be useful in creating better testuite images, and fix some of the issues noticed in buildstream-docker-images!56.
-
Javier Jardón authored
Move development reqirements to dev-requirements.txt See merge request !637
-
Chandan Singh authored
-
Chandan Singh authored
Fix typo in dev-requirements.txt See merge request !641
-
-
Javier Jardón authored
.gitlab-ci-yml: Add ubuntu 18.04 test See merge request !523
-
Javier Jardón authored
-
Javier Jardón authored
-
Javier Jardón authored
This also fixes an error with pylint in setup.py: setup.py:226:19: R1718: Consider using a set comprehension (consider-using-set-comprehension)
-
Javier Jardón authored
Add job to run tests in fedora 28 See merge request !643
-
Instead of copying metadata on files staged by local, we manually set mode to 0755 or 0644 depending on whether user execution was enabled on source file. This makes file modes deterministic independently on the way source was distributed. Non-deterministic mode copying all metadata can still be enabled by disable 'deterministic' Boolean configuration on the plugin. Fixes #527.
-
Staging could end-up with file with different rights depending on the umask. The extracted files need to get their access rights fixed.
-
-
-
`python3-arpy` package is not available on Fedora so it has to be installed using `pip`. Update instructions accordingly. For reference, here is a pipeline that failed when trying to install `arpy` using current instructions: https://gitlab.com/BuildStream/buildstream-docker-images/-/jobs/88553245.
-
Javier Jardón authored
doc: Fix install instructions for Fedora See merge request !640
-
Qinusty authored
This allows for users to configure fatal-warnings to be either a list of warnings or simply True to consider all warnings as errors. This commit deprecates the use of fail-on-overlap within project.conf, this will now use the fatal-warnings configuration item. 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 12 for fatal-warnings Fixes: #526
-
Qinusty authored
This follows the implementation of configurable warnings.
-
Qinusty authored
This includes detailing the use of `fatal-warnings` within project.conf This also adds a deprecation notice to the fail on overlaps section.
-
Qinusty authored
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.