summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge branch 'juerg/cachedfail' into 'master'Jürg Billeter2019-02-201-2/+5
|\ | | | | | | | | tests/integration/cachedfail.py: Fix test_push_cached_fail See merge request BuildStream/buildstream!1167
| * tests/integration/cachedfail.py: Fix test_push_cached_failJürg Billeter2019-02-201-2/+5
|/ | | | | | | | Ensure that a unique cache key is used for different test variants. This revealed that the test actually fails with --on-error=quit. Marking that test variant as expected failure until this is fixed. https://gitlab.com/BuildStream/buildstream/issues/534
* Merge branch 'aevri/doc_arch_tweaks' into 'master'Jürg Billeter2019-02-201-15/+16
|\ | | | | | | | | doc/../arch_data_model: minor tweaks See merge request BuildStream/buildstream!1166
| * doc/./arch_data_model:edit comp stages for clarityAngelos Evripiotis2019-02-201-3/+4
| |
| * doc/./arch_data_model: add some missing full-stopsAngelos Evripiotis2019-02-201-11/+11
| |
| * doc/./arch_data_model: fixup affect/effectAngelos Evripiotis2019-02-201-3/+3
|/
* Merge branch 'raoul/870-root-cache-dir' into 'master'Jürg Billeter2019-02-1927-434/+499
|\ | | | | | | | | | | | | root cache directory Closes #870 See merge request BuildStream/buildstream!1100
| * CASQuota: Move cache check methods into new Classraoul/870-root-cache-dirRaoul Hidalgo Charman2019-02-1911-304/+339
| | | | | | | | | | | | | | | | | | This sits in Context allowing artifact cache to check the cas quota while not being used for CASServer. A lot of code that checks cache quota has been touched. Part of #870
| * context: remove artifactdirRaoul Hidalgo Charman2019-02-1912-53/+58
| | | | | | | | | | | | | | Will check and move old artifact directory if it exists, and create symlink linking old directory to new. Part of #870
| * cachedir: add new dir option that's default root to other dirsRaoul Hidalgo Charman2019-02-1915-91/+116
|/ | | | | | Makes artifactdir and builddir obsolete. Fixes #870
* Merge branch 'phil/additional-linting-excludes' into 'master'Phil Dawson2019-02-192-1/+4
|\ | | | | | | | | setup.cfg: exclude tmp/**, .eggs/** and build/** from pycodestyle linting See merge request BuildStream/buildstream!1165
| * .gitignore: ignore the build output directoryphil/additional-linting-excludesDor Askayo2019-02-191-0/+3
| |
| * setup.cfg: exclude .eggs/**, build/** and tmp/** from pycodestyle lintingDor Askayo2019-02-191-1/+1
|/
* Merge branch 'juerg/shell-test' into 'master'Jürg Billeter2019-02-191-0/+3
|\ | | | | | | | | tests/integration/shell.py: Improve test_isolated_no_mount See merge request BuildStream/buildstream!1163
| * tests/integration/shell.py: More asserts in test_isolated_no_mountjuerg/shell-testJürg Billeter2019-02-191-0/+2
| | | | | | | | This verifies that the command fails with the right error.
| * tests/integration/shell.py: Skip test_isolated_no_mount without sandboxJürg Billeter2019-02-191-0/+1
|/ | | | | | | This test passes without a sandbox but only because the exit code is also non-zero in that case. It didn't actually perform the desired test. This test is very slow on WSL, so let's skip it if there is no sandbox.
* Merge branch 'juerg/artifact-test' into 'master'Jürg Billeter2019-02-192-34/+64
|\ | | | | | | | | tests: Don't use integration test for artifact log See merge request BuildStream/buildstream!1162
| * tests: Don't use integration test for artifact logJürg Billeter2019-02-192-34/+64
|/ | | | | A non-integration test works just as well for this and is a lot quicker, especially on WSL.
* Merge branch 'adamjones/labels' into 'master'Tom Pollard2019-02-192-0/+4
|\ | | | | | | | | Add a link to the label descriptions in the issue templates See merge request BuildStream/buildstream!913
| * Add a link to the label descriptions in the issue templatesAdam Jones2019-02-192-0/+4
|/
* Merge branch 'valentindavid/absolute-whitelist' into 'master'Jürg Billeter2019-02-195-6/+9
|\ | | | | | | | | | | | | Allow absolute paths in whitelist Closes #721 See merge request BuildStream/buildstream!968
| * element.py: Expect absolute paths in overlap whitelistsValentin David2019-02-195-6/+9
|/ | | | | | | This allows use of variables such as %{prefix} and matches the documentation. This is a breaking change. Fixes #721
* Merge branch 'gokcennurlu/dont_cache_if_stage_fails' into 'master'Jürg Billeter2019-02-191-5/+5
|\ | | | | | | | | | | | | Prevent caching when Element.stage() fails Closes #791 See merge request BuildStream/buildstream!1012
| * Prevent caching when Element.stage() failsgokcennurlu/dont_cache_if_stage_failsGökçen Nurlu2019-02-191-5/+5
|/ | | | | | | That step is not actually part of the build phase should not be cached and causes hard to find bugs. Fixes #791
* Merge branch 'chandan/fix-mapping-import' into 'master'Jürg Billeter2019-02-191-1/+1
|\ | | | | | | | | buildstream/_yaml.py: Import Mapping from collections.abc See merge request BuildStream/buildstream!1161
| * buildstream/_yaml.py: Import Mapping from collections.abcChandan Singh2019-02-191-1/+1
|/ | | | | | Instead of importing `Mapping` from `collections`, it must be imported from `collections.abc`, as the old method will stop working from Python 3.8.
* Merge branch 'chandan/fix-badge-subprocess-error' into 'master'Chandan Singh2019-02-181-1/+1
|\ | | | | | | | | doc/badges.py: Fix catching of CalledProcessError See merge request BuildStream/buildstream!1160
| * doc/badges.py: Fix catching of CalledProcessErrorChandan Singh2019-02-181-1/+1
|/ | | | | | Since `CalledProcessError` is defined by the `subprocess` module, it must be caught as `subprocess.CalledProcessError`, and not as simply `CalledProcessError`.
* Merge branch 'jonathan/wsl-tests-allow-fail' into 'master'Jonathan Maw2019-02-181-1/+1
|\ | | | | | | | | Allow WSL tests to run, but they don't block the CI See merge request BuildStream/buildstream!1159
| * .gitlab-ci: make wsl-test automatic, allow failureJonathan Maw2019-02-181-1/+1
|/
* Merge branch 'tristan/collect-missing-coverage' into 'master'Tristan Van Berkom2019-02-181-0/+2
|\ | | | | | | | | .gitlab-ci.yml: Some new test environments were added, but not collecting coverage. See merge request BuildStream/buildstream!1157
| * .gitlab-ci.yml: Some new test environments were added, but not collecting ↵Tristan Van Berkom2019-02-181-0/+2
|/ | | | | | | | coverage. The test jobs which create coverage reports need to be listed in the dependencies of the coverage job, as highlighted in issue #356.
* Merge branch 'chandan/remove-pkg-resources' into 'master'Tristan Van Berkom2019-02-181-1/+1
|\ | | | | | | | | | | | | requirements/Makefile: exclude pkg-resources Closes #918 See merge request BuildStream/buildstream!1156
| * requirements/Makefile: exclude pkg-resourcesChandan Singh2019-02-181-1/+1
|/ | | | | | | | | Having `pkg-resources` in requirements files is never the right thing as it is not really a package that one can install. This is basically an artifact of Debian-based systems providing incorrect metadata to pip. See [this pip issue](https://github.com/pypa/pip/issues/4022) and [this Ubuntu issue](https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1635463) for more background.
* Merge branch 'jmac/cache_artifacts_with_vdir' into 'master'Jürg Billeter2019-02-185-107/+140
|\ | | | | | | | | | | | | Cache artifacts with virtual directories instead of filesystem. Closes #787 See merge request BuildStream/buildstream!991
| * element.py: Alter _cache_artifact to use CasBasedDirectoryJim MacArthur2019-02-182-14/+21
| |
| * element.py: Expand scope of timed_activity in _cache_artifact()Jürg Billeter2019-02-181-94/+94
| | | | | | | | | | ArtifactCache.commit() is no longer the only expensive part and even more so with the upcoming change to use CASBasedDirectory.
| * _casbaseddirectory.py: Add _get_digest() methodJürg Billeter2019-02-181-0/+12
| |
| * storage: Add Directory.get_size()Jim MacArthur2019-02-183-0/+22
| |
| * _casbaseddirectory.py: Remove unused find_root() methodJürg Billeter2019-02-181-8/+0
| |
| * _casbaseddirectory.py: Correct typo for _get_underlying_directoryJim MacArthur2019-02-181-1/+1
| |
| * _casbaseddirectory.py: Fix order in _recalculate_recursing_up()Jürg Billeter2019-02-181-1/+1
|/ | | | | The directory needs to be serialized after the Digest for the subdirectory `caller` has been updated.
* Merge branch 'tristan/document-release-process' into 'master'Tristan Van Berkom2019-02-181-0/+258
|\ | | | | | | | | CONTRIBUTING.rst: Documenting the release process See merge request BuildStream/buildstream!1155
| * CONTRIBUTING.rst: Documenting the release processTristan Van Berkom2019-02-181-0/+258
|/ | | | So that other people can also make releases.
* Merge branch 'jjardon/distros' into 'master'Javier Jardón2019-02-151-0/+6
|\ | | | | | | | | README.rst: Add table with distros with packaged buildstream See merge request BuildStream/buildstream!1143
| * README.rst: Add table with distros with packaged buildstreamjjardon/distrosJavier Jardón2019-02-151-0/+6
|/ | | | [ci skip]
* Merge branch 'chandan/bst-here-tags' into 'master'Chandan Singh2019-02-151-3/+17
|\ | | | | | | | | contrib/bst-here: Allow users to specify image variant See merge request BuildStream/buildstream!1153
| * contrib/bst-here: Allow users to specify image variantChandan Singh2019-02-151-3/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that the `buildstream/buildstream` image has 9 variants, let's make it easier to choose the desired tag, using a command-line option. This is otherwise possible by specifying the full image name `image:tag` using the `-i` option. But, this will make it easier to specify just the tag using `-j`. The following two invocations of `bst-here` are now equivalent: bst-here -i buildstream/buildstream:dev bst-here -j dev
| * contrib/bst-here: Change default image to buildstream/buildstreamChandan Singh2019-02-151-1/+1
|/ | | | | | | | | See https://gitlab.com/BuildStream/buildstream-docker-images/issues/26 for detailed discussion around this. `buildstream/buildstream-fedora` is now considered deprecated. Switch to `buildstream/buildstream` image. This image also offers more tags that will provide users more flexibility.
* Merge branch 'are_you_sure2' into 'master'Angelos Evripiotis2019-02-154-44/+13
|\ | | | | | | | | | | | | userconfig: rm really-workspace-close-project-inaccessible Closes #726 and #744 See merge request BuildStream/buildstream!1130