| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
This delays the call to the re-scheduling of jobs until the current
event loop as terminated.
This is in order to reduce the number of time we call this method per
loop, which shoudl reduce the pressure on the loop and allow faster
event handling
Since the call is now delayed, also ensure we only call it once per loop
iteration.
|
|\
| |
| |
| |
| | |
Minor packaging-related fixups
See merge request BuildStream/buildstream!1754
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch contains the following changes:
* Remove include directive for MAINTAINERS file, that does not exist
anymore. Instead, add the COMMITTERS.rst file, which is the logical
replacement for the MAINTAINERS file.
* Recursively include all requirements files instead of listing them one
by one. This also fixes and issue where the cov-requirements files
were not included in the source distribution.
* Simplify `recursive-include DIR *` to `graft DIR`. These two forms are
functionally equivalent, but the latter is a bit easier to understand.
|
|\
| |
| |
| |
| | |
Add tests for interactive BuildStream operations
See merge request BuildStream/buildstream!1706
|
| | |
|
| |
| |
| |
| |
| | |
Add tests for interactive `bst init` command using
[pexpect](https://pexpect.readthedocs.io).
|
|/ |
|
|\
| |
| |
| |
| | |
_sandboxreapi.py: Reset CasBasedDirectory instead of recreating it
See merge request BuildStream/buildstream!1749
|
| | |
|
| |
| |
| |
| |
| |
| | |
Calling _reset() instead of completely replacing the object fixes
element plugins that use a virtual directory object across Sandbox.run()
calls such as the compose plugin with integration commands.
|
|/
|
|
| |
This reinitializes a CASBasedDirectory object from a directory digest.
|
|\
| |
| |
| |
| | |
testing/runcli.py: Remove unused configure parameter from run() methods
See merge request BuildStream/buildstream!1748
|
|/ |
|
|\
| |
| |
| |
| | |
Multiple CI improvements
See merge request BuildStream/buildstream!1747
|
| |
| |
| |
| |
| | |
We can remove the sast job overwriting and instead 'just' add the
variable it needs to the global variables.
|
| |
| |
| |
| |
| | |
Our image versions tend to drift over time. Let's use a variable to
ensure they are always all at the same version.
|
|/
|
|
|
| |
Contrary to what we thought, those don't get expanded, and we ended up
having the external tests run only for py35, which is incorrect.
|
|\
| |
| |
| |
| | |
Support buildbox-casd running as separate user
See merge request BuildStream/buildstream!1737
|
| |
| |
| |
| |
| |
| |
| |
| | |
To protect the local cache of buildbox-casd from corruption without the
use of FUSE, buildbox-casd has to run as a different user.
Use less restrictive umasks in the source determinism tests to allow
buildbox-casd to function when it is running as a separate user.
|
| |
| |
| |
| | |
This is not necessary and doesn't work with CASD_SEPARATE_USER.
|
| |
| |
| |
| | |
This is not necessary and doesn't work with CASD_SEPARATE_USER.
|
| |
| |
| |
| |
| | |
Linux does not allow hardlinks to read-only files of other users by
default since Linux 3.6 (see /proc/sys/fs/protected_hardlinks).
|
| |
| |
| |
| |
| | |
This is set to True if buildbox-casd is installed with the set-uid bit
and thus, indicates whether buildbox-casd is running as a separate user.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
By default, Linux doesn't allow creating hardlinks to read-only files of
other users since Linux 3.6 (see /proc/sys/fs/protected_hardlinks).
This fixes staging when buildbox-casd is running as a separate user and
the traditional bubblewrap sandboxing backend is used. This combination
is not recommended, however, it's triggered in CI by docker images that
run buildbox-casd as a separate user and a few test cases that override
BST_FORCE_SANDBOX.
|
|/
|
|
|
|
|
|
|
|
|
| |
This is necessary to allow using buildbox-run with userchroot in the
near future, since currently only the owner of the BuildStream process
can access the CASD socket, but the buildbox-casd binary will need to
be setuid' to another user.
This gets around this limitation by allowing the group to access a
symlink, which in turn should point to a directory owned by the CASD
user.
|
|\
| |
| |
| |
| |
| |
| | |
Refactor casserver.py: Stop relying on the buildstream-internal `CASCache` implementation
Closes #1167
See merge request BuildStream/buildstream!1645
|
| | |
|
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
|/ |
|
|\
| |
| |
| |
| | |
update_commiters.py: Fix security vulnerabilities
See merge request BuildStream/buildstream!1743
|
|/
|
|
|
| |
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.
|
|\
| |
| |
| |
| | |
Update BuildStream requirements
See merge request BuildStream/buildstream!1742
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| | |
Newer pylint versions detect and complain about unnecessary elif/else
after a continue/break/return clause. Let's remove them
|
|/
|
|
|
| |
Newer version of pylint detect when a comprehension would not be needed.
Let's remove all the ones that are indeed extraneous
|
|\
| |
| |
| |
| | |
doc/coding_guidelines: Drop section about line lengths
See merge request BuildStream/buildstream!1735
|
|/
|
|
|
|
|
| |
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.
|
|\
| |
| |
| |
| | |
doc: Add glossary of common terms
See merge request BuildStream/buildstream!1716
|
|/
|
|
|
| |
Start a new glossary document, aimed at helping newcomers relevant links
to more detailed documents.
|
|\
| |
| |
| |
| | |
SandboxREAPI fixes
See merge request BuildStream/buildstream!1736
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
The working directory must be specified relative to the input root,
i.e., the leading slash must be dropped.
|
|/
|
|
| |
Sandbox implementations rely on this.
|
|\
| |
| |
| |
| | |
tests/frontend: Refactor tests for default targets
See merge request BuildStream/buildstream!1700
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
`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.
|
|\
| |
| |
| |
| |
| |
| | |
Support RE workspaces (non-incremental)
Closes #933
See merge request BuildStream/buildstream!1682
|
| |
| |
| |
| |
| |
| | |
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
|