summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* man/bst-workspace-reset.1: Update workspace re-open help messagetlater/update-workspace-manpagesTristan Maat2019-12-021-2/+2
| | | | This was missed in !1710.
* 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
| * CASDChannel: don't need to call GetCapabilitiesAngelos Evripiotis2019-11-221-5/+1
| | | | | | | | | | It doesn't seem like we need to call GetCapabilities here, as we're not querying anything. Remove the call to save some time.
| * CASCache: comment on need for __getstate__Angelos Evripiotis2019-11-221-0/+5
| |
| * cascache: _CASCacheUsageMonitor has channelAngelos Evripiotis2019-11-222-14/+6
| | | | | | | | | | | | Change _CASCacheUsageMonitor to hold a CASDChannel instead of it's parent CASCache. This means that when in spawn mode, we don't need to pickle the CASCache, only the CASDChannel.
| * Extract casd_channel logic to CASDChannelAngelos Evripiotis2019-11-223-71/+113
| | | | | | | | | | | | | | | | | | | | | | | | Encapsulate the management of a connection to CASD, so we can hide the details of how it happens. This will make it easier to port to Windows, as we will have to take a different approach there. Remove the _LimitedCASDProcessManagerProxy, as CASDChannel does everything the child jobs will need. Also make get_local_cas() public, since it is already used outside of the CASCache class. Make get_cas() public to match.
| * CASDProcessManager: 'release_resources' conventionAngelos Evripiotis2019-11-222-16/+12
| | | | | | | | | | | | | | Elsewhere in cascache, cleaning up is called 'release_resources', so follow that convention for consistency. Also fix a case where self.process was not set to None in terminate().
| * cascache: extract CASDProcess in new moduleAngelos Evripiotis2019-11-224-141/+202
|/ | | | | | | | | | Make it easier to specialize handling of the buildbox-casd process on Windows, by splitting it into it's own class. This allows us to encapsulate some decisions, and decreases the complexity of the CASCache class. Take some of the complexity out of this file by splitting the responsibility of managing the process out to another file.
* Merge branch 'jjardon/debian-10' into 'master'bst-marge-bot2019-11-221-1/+6
|\ | | | | | | | | .gitlab-ci.yml: Use Debian10 instead Debian9 See merge request BuildStream/buildstream!1727
| * .gitlab-ci.yml: Use Debian9 instead Debian10Javier Jardón2019-11-231-1/+6
|/ | | | Debian 10 is the current stable version
* Merge branch 'jjardon/fedora-31' into 'master'bst-marge-bot2019-11-221-13/+13
|\ | | | | | | | | Use fedora31 instead older versions See merge request BuildStream/buildstream!1728
| * WIP: Use fedora31 instead older versionsJavier Jardón2019-11-221-13/+13
|/ | | | Fedora 31 is the current release and Fedora 29 is EOL
* Merge branch 'tlater/track-cleanup' into 'master'bst-marge-bot2019-11-2211-354/+198
|\ | | | | | | | | | | | | Simplify the codebase using post-tracking removal simplicity of the pipeline Closes #1199, #1195, #1194, and #1193 See merge request BuildStream/buildstream!1718