summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge branch 'tlater/artifactserver-casd' into 'master'Tristan Maat2019-12-0311-443/+364
|\ | | | | | | | | | | | | Refactor casserver.py: Stop relying on the buildstream-internal `CASCache` implementation Closes #1167 See merge request BuildStream/buildstream!1645
| * _*cache.py: Standardize cache basedirsTristan Maat2019-12-033-20/+21
| |
| * Remove newly unused API surfaces in CASCacheTristan Maat2019-12-037-179/+58
| | | | | | | | | | | | This also involves a number of changes to tests and other parts of the codebase since they were hacking about wit API that shouldn't have existed.
| * casserver.py: Proxy CAS requests to buildbox-casdTristan Maat2019-12-033-245/+219
| |
| * casserver.py: Add loggingTristan Maat2019-12-031-5/+72
|/
* Merge branch 'tlater/fix-update-committer-security' into 'master'Tristan Maat2019-12-021-10/+12
|\ | | | | | | | | update_commiters.py: Fix security vulnerabilities See merge request BuildStream/buildstream!1743
| * update_commiters.py: Fix security vulnerabilitiesTristan Maat2019-12-021-10/+12
|/ | | | | Not really an issue, this was only to be run on our repository, but it keeps the linter silent and makes for better sample code.
* Merge branch 'bschubert/update-requirements' into 'master'Benjamin Schubert2019-12-0223-70/+71
|\ | | | | | | | | Update BuildStream requirements See merge request BuildStream/buildstream!1742
| * Update all python dependenciesBenjamin Schubert2019-12-027-35/+36
| | | | | | | | | | | | | | | | This updates all dependencies on the project, which is mainly needed by python3.8 but can be done independentely. This also disables multiple false positive lint errors and disable a new check that we don't need.
| * tests: Use pytest.raise() instead of checking for return codeBenjamin Schubert2019-12-023-8/+8
| | | | | | | | | | | | This gives a potentially more explicit understanding of what went wrong, and pytest can give better information about that exception than just us asserting the return code.
| * lint: remove all unecessary elif/else after break/continueBenjamin Schubert2019-12-028-21/+21
| | | | | | | | | | Newer pylint versions detect and complain about unnecessary elif/else after a continue/break/return clause. Let's remove them
| * lint: Remove unnecessary list comprehensionsBenjamin Schubert2019-12-026-6/+6
|/ | | | | Newer version of pylint detect when a comprehension would not be needed. Let's remove all the ones that are indeed extraneous
* Merge branch 'chandan/hacking/drop-line-length' into 'master'Chandan Singh2019-11-271-15/+0
|\ | | | | | | | | doc/coding_guidelines: Drop section about line lengths See merge request BuildStream/buildstream!1735
| * doc/coding_guidelines: Drop section about line lengthsChandan Singh2019-11-271-15/+0
|/ | | | | | | Since we format our code using Black, contributors don't have to think about line lengths themselves. In fact, Black is going to rewrite the files anyway so it's not even possible to make a judgement call in most cases.
* Merge branch 'chandan/glossary' into 'master'Chandan Singh2019-11-275-0/+141
|\ | | | | | | | | doc: Add glossary of common terms See merge request BuildStream/buildstream!1716
| * doc: Add glossary of common termsChandan Singh2019-11-275-0/+141
|/ | | | | Start a new glossary document, aimed at helping newcomers relevant links to more detailed documents.
* Merge branch 'juerg/sandbox-reapi' into 'master'Jürg Billeter2019-11-272-2/+13
|\ | | | | | | | | SandboxREAPI fixes See merge request BuildStream/buildstream!1736
| * _sandboxreapi.py: Ensure /dev, /proc and /tmp exist in sandboxJürg Billeter2019-11-271-0/+4
| |
| * _sandboxreapi.py: Check that command existsJürg Billeter2019-11-271-0/+5
| |
| * _sandboxreapi.py: Fix Command.working_directoryJürg Billeter2019-11-271-1/+1
| | | | | | | | | | The working directory must be specified relative to the input root, i.e., the leading slash must be dropped.
| * sandbox.py: Assert that the working directory is an absolute pathJürg Billeter2019-11-271-1/+3
|/ | | | Sandbox implementations rely on this.
* Merge branch 'chandan/refactor-default-target' into 'master'Jürg Billeter2019-11-2725-255/+197
|\ | | | | | | | | tests/frontend: Refactor tests for default targets See merge request BuildStream/buildstream!1700
| * tests/frontend: Refactor tests for default targetsChandan Singh2019-11-2725-255/+197
|/ | | | | | | | | | | | | | | `tests/frontend/buildcheckout.py` is already very crowded with all sorts of tests. Since this test is not really about testing `bst build` but rather about testing whether BuildStream can detect the default targets correctly, move it to a separate test module. At the same time, also improve the actual tests. Currently the test compares the number of sub-directories in BuildStream log directory with the number of elements. Change it such that we directly query BuildStream about what's been built rather than trying to guess. While doing so, sanitize its project directory to make it clearer what's being tested.
* Merge branch 'traveltissues/mr3' into 'master'Jürg Billeter2019-11-277-19/+338
|\ | | | | | | | | | | | | Support RE workspaces (non-incremental) Closes #933 See merge request BuildStream/buildstream!1682
| * tests: non-incremental RE builds for workspacesDarius Makovsky2019-11-272-0/+313
| | | | | | | | | | | | 1. Check that an open workspace can be built via remote-execution. 2. Changing file content should result in a full rebuild 3. Modifying a file mtime should result in a full rebuild
| * tests: Allow strict contents in assert_containsDarius Makovsky2019-11-271-3/+17
| |
| * Clear last_successful for soft-reset of WorkspaceDarius Makovsky2019-11-271-0/+1
| |
| * Do not load the workspace.last_successful as the workspace plugin refDarius Makovsky2019-11-272-3/+5
| | | | | | | | | | | | Set the workspace plugin `__last_successful` attribute. loader: Use empty string as default when last_successful is missing
| * element: always prepare sandboxesDarius Makovsky2019-11-271-13/+2
|/
* Merge branch 'valentindavid/compose-integration-commands' into 'master'Darius Makovsky2019-11-263-3/+43
|\ | | | | | | | | | | | | compose: Allow compose elements to run integration commands Closes #1213 See merge request BuildStream/buildstream!1722
| * compose: Allow compose elements to run integration commandsValentin David2019-11-263-3/+43
|/
* Merge branch 'traveltissues/incrementaltest' into 'master'Darius Makovsky2019-11-261-5/+25
|\ | | | | | | | | Enable the incremental workspace test in integration See merge request BuildStream/buildstream!1721
| * tests: enable incremental workspace config testDarius Makovsky2019-11-261-5/+25
|/ | | | | builds no longer affect the local copy but the buildtree can be checked for the configure results
* Merge branch 'traveltissues/tmp' into 'master'Darius Makovsky2019-11-261-0/+3
|\ | | | | | | | | | | | | .gitlab-ci.yml: define repo language as python Closes #1219 See merge request BuildStream/buildstream!1734
| * .gitlab-ci.yml: define repo language as pythonDarius Makovsky2019-11-261-0/+3
|/
* Merge branch 'bschubert/track-cleanup' into 'master'Benjamin Schubert2019-11-265-66/+23
|\ | | | | | | | | _stream.py: Remove dead code and comments about tracking See merge request BuildStream/buildstream!1733
| * _stream.py: Remove dead code and comments about trackingBenjamin Schubert2019-11-255-66/+23
|/ | | | | We don't have many of the `--track` options anymore, so we can remove handling for them in parts of the code that don't need it.
* Merge branch 'juerg/umask' into 'master'bst-marge-bot2019-11-254-18/+53
|\ | | | | | | | | Respect umask for created file and directories See merge request BuildStream/buildstream!1724
| * testing/integration.py: Respect umask for the integration cacheTristan Maat2019-11-251-0/+4
| |
| * tar.py: Respect umaskJürg Billeter2019-11-251-5/+6
| | | | | | | | This allows access by buildbox-casd running as different user.
| * tar.py: Make directories with incorrect permissions traversableTristan Maat2019-11-251-2/+6
| |
| * element.py: Make build directory a proper utils._tempdirTristan Maat2019-11-251-15/+6
| |
| * utils.py: Respect umask in _tempdir()Jürg Billeter2019-11-251-1/+18
| | | | | | | | | | | | | | This allows access by buildbox-casd running as different user with a suitable umask. As this is not generally safe in global temp directories such as /tmp, make the `dir` parameter mandatory and add a note to the documentation.
| * utils.py: Respect umask in save_file_atomic()Jürg Billeter2019-11-251-0/+2
| | | | | | | | This allows access by buildbox-casd running as different user.
| * utils.py: Add get_umask() methodJürg Billeter2019-11-251-0/+16
|/
* Merge branch 'jjardon/sast' into 'master'Javier Jardón2019-11-231-0/+3
|\ | | | | | | | | .gitlab-ci.yml: Use gitlab's builtin Static Application Security Testing (SAST) See merge request BuildStream/buildstream!1731
| * .gitlab-ci.yml: Use gitlab's builtin Static Application Security Testing (SAST)Javier Jardón2019-11-231-0/+3
|/
* Merge branch 'jjardon/license_compliance' into 'master'Javier Jardón2019-11-231-0/+1
|\ | | | | | | | | .gitlab-ci.yml: Use gitlab's builtin License Compliance analyzer See merge request BuildStream/buildstream!1732
| * .gitlab-ci.yml: USe gitlab's builtin License Compliance analyzerJavier Jardón2019-11-231-0/+1
|/ | | | See https://docs.gitlab.com/ee/user/application_security/license_compliance/
* Merge branch 'aevri/casdprocessmanager' into 'master'bst-marge-bot2019-11-225-197/+289
|\ | | | | | | | | cascache: refactor, extract CASDProcessManager and CASDConnection See merge request BuildStream/buildstream!1638