summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix ostree repository mirroringvalentindavid/fallback_mirror_ostreeValentin David2018-08-152-14/+20
| | | | | | | | | | | Ostree mirrors were not sharing the same local repository, so it was impossible the request refs from the right local repository when data was fetched from a mirror rather than upstream. Instead of having several repository with one remote each, we now have one repository with several remotes. This fixes #538.
* Merge branch 'Qinusty/526-fail-on-warnings' into 'master'Tristan Van Berkom2018-08-1544-83/+398
|\ | | | | | | | | | | | | Configurable Warnings Closes #526 See merge request BuildStream/buildstream!627
| * tests: Add tests for configurable warningsJosh Smith2018-08-159-2/+201
| | | | | | | | | | | | | | | | 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.
| * docs: Add documentation for Configurable WarningsJosh Smith2018-08-152-12/+36
| | | | | | | | This includes detailing the use of `fatal-warnings` within project.conf
| * git.py: Add configurable warning for inconsistent-submoduleJosh Smith2018-08-151-1/+10
| | | | | | | | This follows the implementation of configurable warnings.
| * _project.py: Add fatal-warnings configuration itemJosh Smith2018-08-1533-69/+152
|/ | | | | | | | | | | | | | | | | | | | 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
* Merge branch 'Qinusty/gnu-mirror' into 'master'Qinusty2018-08-152-2/+2
|\ | | | | | | | | Fix CI - ftp.gnu.org unreachable See merge request BuildStream/buildstream!665
| * examples: Switch ftp.gnu.org to mirrorQinusty/gnu-mirrorJosh Smith2018-08-152-2/+2
|/ | | | | This should avoid current issues accessing the necessary sources which are blocking CI currently.
* Merge branch 'valentindavid/fallback_mirror_git' into 'master'Tristan Van Berkom2018-08-154-5/+337
|\ | | | | | | | | | | | | Delay refreshing git submodule until we have a clone Closes #537 See merge request BuildStream/buildstream!656
| * Test we can discovered submodules on fallback mirrored git repositoriesValentin David2018-08-141-0/+96
| |
| * Test git mirroring fallback on submodules when main repo is not mirrored.Valentin David2018-08-141-0/+97
| |
| * tests: Add a test of the git source with submodulesJonathan Maw2018-08-143-0/+80
| |
| * tests: Test that fetching passes when upstream is absentJonathan Maw2018-08-141-0/+61
| |
| * tests/frontend/mirror.py: Re-enable a test for gitValentin David2018-08-141-4/+0
| |
| * buildstream/plugins/sources/git.py: Fix clone side effect in getting fetchersValentin David2018-08-141-1/+3
|/ | | | | | | We now delay refreshing submodules until we have a clone, that is after we have fetched the main fetcher. Fixes #537
* Merge branch '463-make-dependency-type-default-to-build-2' into 'master'Jonathan Maw2018-08-1413-25/+188
|\ | | | | | | | | | | | | Resolve "Make dependency type default to build" Closes #463 See merge request BuildStream/buildstream!633
| * Add NEWSJonathan Maw2018-08-141-0/+4
| |
| * docs: Add documentation of build-depends and runtime-depends fieldsJonathan Maw2018-08-141-2/+66
| |
| * versions: Bump format version to 14Jonathan Maw2018-08-141-1/+1
| | | | | | | | Format version raised because of a change to the core element format.
| * tests: Add tests for loading builddeps and runtime depsJonathan Maw2018-08-148-4/+78
| |
| * loader: Add 'build-depends' and 'runtime-depends' fields to elementsJonathan Maw2018-08-142-18/+39
|/
* NEWS: Move recent entries to a new 1.3.1 sectionJürg Billeter2018-08-141-9/+17
| | | | | Caching failed builds and relative workspaces were not part of the 1.1.5 developer snapshot.
* Merge branch 'valentindavid/ruamel-version' into 'master'Valentin David2018-08-131-1/+1
|\ | | | | | | | | | | | | Set version of ruaml.yaml to at least 0.15.41 but strictly less than 0.15.52. Closes #571 See merge request BuildStream/buildstream!646
| * Set version of ruaml.yaml to strictly less than 0.15.52.Valentin David2018-08-131-1/+1
|/ | | | | | | This allows to use version 0.15.51 rather than 0.15.0 which is required for Python 3. Fixes #571.
* Merge branch 'valentindavid/fix_included_junction_track' into 'master'Tristan Van Berkom2018-08-132-2/+37
|\ | | | | | | | | | | | | Fix tracking of junctions used in project.conf Closes #565 See merge request BuildStream/buildstream!619
| * Fix tracking of junctions used in project.conf.Valentin David2018-08-132-2/+37
|/ | | | | | | | | | | | | | Stream._load() now returns early without resolving build pipeline when only tracking. Resolving track pipelines does not require to fully load project configurations when when elements to track are only junctions. However build pipelines require to fully load project configurations. This might not be possible in the case a project configuration includes a file from a junction that yet needs to be tracked. Fixes #565.
* Merge branch 'chandan/remote-source-cachekey-test' into 'master'Tristan Van Berkom2018-08-136-1/+18
|\ | | | | | | | | remote source: Add cachekey test See merge request BuildStream/buildstream!636
| * remote source: Add cachekey testChandan Singh2018-08-136-1/+18
|/ | | | | Add cachekey tests for the recently added `remote` source plugin to ensure that future changes do not break API compatibility.
* Merge branch 'chandan/update-fedora-install-docs' into 'master'Javier Jardón2018-08-121-1/+2
|\ | | | | | | | | doc: Fix install instructions for Fedora See merge request BuildStream/buildstream!640
| * doc: Fix install instructions for FedoraChandan Singh2018-08-121-1/+2
|/ | | | | | | | | `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.
* Merge branch 'valentindavid/deterministic-source' into 'master'Tristan Van Berkom2018-08-1230-30/+246
|\ | | | | | | | | | | | | Deterministic staging Closes #543, #544, #555, and #527 See merge request BuildStream/buildstream!616
| * Bump BST_CORE_ARTIFACT_VERSION for deterministic source pluginsValentin David2018-08-1226-26/+26
| |
| * Add some integration tests for source plugin determinism.Valentin David2018-08-121-0/+155
| |
| * buildstream/plugins/sources/zip.py: Fix non-determism in staging.Valentin David2018-08-121-2/+30
| | | | | | | | | | Staging could end-up with file with different rights depending on the umask. The extracted files need to get their access rights fixed.
| * Use deterministic umask when staging sources.Valentin David2018-08-121-1/+10
| | | | | | | | | | | | This fix is applied to plugins bzr, git, patch. Fixes #543 #544 #555.
| * buildstream/plugins/sources/local.py: Make staging deterministic.Valentin David2018-08-121-1/+25
|/ | | | | | | | | | | | | | 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.
* Merge branch 'jjardon/ci_fedora28' into 'master'Javier Jardón2018-08-123-12/+12
|\ | | | | | | | | Add job to run tests in fedora 28 See merge request BuildStream/buildstream!643
| * dev-requirements.txt: Remove obsolete commentsJavier Jardón2018-08-122-8/+3
| | | | | | | | | | This also fixes an error with pylint in setup.py: setup.py:226:19: R1718: Consider using a set comprehension (consider-using-set-comprehension)
| * .gitlab-ci.yml: Use the same version of the docker image for all jobsJavier Jardón2018-08-121-4/+4
| |
| * .gitlab-ci.yml: Run tests in fedora28 imageJavier Jardón2018-08-121-0/+5
|/
* Merge branch 'phil/add-ubuntu-ci-job' into 'master'Javier Jardón2018-08-121-0/+3
|\ | | | | | | | | .gitlab-ci-yml: Add ubuntu 18.04 test See merge request BuildStream/buildstream!523
| * .gitlab-ci-yml: Add ubuntu 18.04 testPhil Dawson2018-08-121-0/+3
|/
* Merge branch 'chandan/fix-dev-reqs-typo' into 'master'Chandan Singh2018-08-121-1/+1
|\ | | | | | | | | Fix typo in dev-requirements.txt See merge request BuildStream/buildstream!641
| * Fix typo in dev-requirements.txtChandan Singh2018-08-121-1/+1
|/
* Merge branch 'chandan/dev-requirements' into 'master'Javier Jardón2018-08-113-13/+26
|\ | | | | | | | | Move development reqirements to dev-requirements.txt See merge request BuildStream/buildstream!637
| * Move development reqirements to dev-requirements.txtChandan Singh2018-08-113-13/+26
|/ | | | | | | | | | | | | | | | | | 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 https://gitlab.com/BuildStream/buildstream-docker-images/merge_requests/56.
* Merge branch 'valentindavid/498_bwrap_environment' into 'master'Valentin David2018-08-101-3/+7
|\ | | | | | | | | | | | | Set environment in bwrap command line instead of its environment Closes #498 See merge request BuildStream/buildstream!565
| * Set environment in bwrap command line instead of its environmentValentin David2018-08-101-3/+7
|/ | | | Fixes #498
* Merge branch 'relative_workspaces' into 'master'Phillip Smyth2018-08-106-54/+97
|\ | | | | | | | | | | | | Patch for issue #191 support relative workspaces Closes #191 See merge request BuildStream/buildstream!504
| * Implementing relative workspacesrelative_workspacesPhillip Smyth2018-08-106-54/+97
|/ | | | | | | This fixes #191 A note has been added to NEWS explaining backwards compatibility issues