Commits on Source 35
-
Raoul Hidalgo Charman authored
This is used when sending execution requests, to specify which instance of the execution server to use. Partial fix for #627.
-
Jim MacArthur authored
Adds instance name support for the remote execution storage service.
-
Jim MacArthur authored
Adds the 'instance_name' parameter, which may be None, to most GRPC calls in the CASCache object. ByteStream requests already have instance_name supplied in the resource name, so do not need the parameter. Closes #627.
-
Jim MacArthur authored
-
Jim MacArthur authored
Remote-execution instance configuration support Closes #627 See merge request !952
-
William Salmon authored
Fixes issue #740
-
William Salmon authored
Shell --build has optional buildtrees Closes #740 See merge request !986
-
Javier Jardón authored
-
Javier Jardón authored
README.rst: Add license badge See merge request !1014
-
Jürg Billeter authored
The queue shouldn't need to know about individual sources. This is in line with _track() and _get_consistency().
-
Jürg Billeter authored
-
Jürg Billeter authored
-
Jürg Billeter authored
Do not call fetch() for cached sources See merge request !992
-
Chandan Singh authored
Add a `_GitSourceBase` class to act as the base class for deriving source plugins that work with Git. The first user of this base class is the `git` source plugin that's in core at the moment. The contents of this base class is almost identical to the existing `GitSource` class. The two notable differences are: - the private methods now have leading underscores, as some were missing it originally - the name of the class Note that we are exposing a private member here as we expect it to move to a separate package soon. See the following discussion for more details: #739 (comment 124819869) Fixes #739.
-
Chandan Singh authored
Expose base class for Git source plugins Closes #739 See merge request !1019
-
Now that we are also looking for WORKSPACE_PROJECT_FILE, we should add it to the error message. While we're there, also mention the directory we are looking in - this could help scripters be clear about what went wrong. The new error message looks like this: Error loading project: None of ['project.conf', '.bstproject.yaml'] found in '/src/temp/blah' or any of its parent directories
-
In the event that the project could not be found, stop BuildStream from asking if the user would like to create a new project. Exit with error instead, and give a hint to the user in case they're new. As proposed on the mailing list here: https://mail.gnome.org/archives/buildstream-list/2018-December/msg00082.html The new interaction looks like this: $ bst show nonsuch.bst No project found. You can create a new project like so: bst init Error loading project: None of ['project.conf', '.bstproject.yaml'] found in '/src/temp/blah' or any of its parent directories Fixes #826
-
Angelos Evripiotis authored
BREAK: remove auto-init behaviour Closes #826 See merge request !1015
-
Use raw strings for regex searches, which is the preferred way to do regular expressions in Python. Without this patch, currently we get the following warnings: ``` tests/frontend/logging.py:44 /builds/BuildStream/buildstream/dist/buildstream/tests/frontend/logging.py:44: DeprecationWarning: invalid escape sequence \[ m = re.search("\[\d\d:\d\d:\d\d\]\[\]\[\] SUCCESS Checking sources", result.stderr) tests/frontend/logging.py:80 /builds/BuildStream/buildstream/dist/buildstream/tests/frontend/logging.py:80: DeprecationWarning: invalid escape sequence \d m = re.search("\d\d:\d\d:\d\d,\d\d:\d\d:\d\d.\d{6},\d\d:\d\d:\d\d,,,SUCCESS,Checking sources", result.stderr) ```
-
Specify flags at the start of the expression as per the recommendation of the standard library. Without this patch, we currently get the following warning: ``` tests/examples/junctions.py::test_open_cross_junction_workspace /builds/BuildStream/buildstream/dist/buildstream/buildstream/utils.py:213: DeprecationWarning: Flags not at the start of the expression '\\/[^/]*\\Z(?ms)' regexer = re.compile(expression) ```
-
Chandan Singh authored
Fix Deprecation warnings from regex module See merge request !1010
-
Tom Pollard authored
-
Tom Pollard authored
_stream.py: fix _buildtree_pull_required logic See merge request !1021
-
Tristan Van Berkom authored
Recently we have been adding some tests which use the new tmp_path fixture from pytest, this is new in 3.9.
-
Tristan Van Berkom authored
-
Tristan Van Berkom authored
-
Tristan Van Berkom authored
-
Tristan Van Berkom authored
-
Tristan Van Berkom authored
-
Tristan Van Berkom authored
-
Tristan Van Berkom authored
-
Tristan Van Berkom authored
-
Tristan Van Berkom authored
-
Tristan Van Berkom authored
Since Thomas Nixon fixed the datafiles plugin to be compatible with pytest >= 3.8.0, we can now depend on it and avoid the warnings and errors which the older datafiles plugin causes. This fixes issue #636
-
Tristan Van Berkom authored
After having fixed the more recent linting errors, the tests should pass with recent versions of pylint. Tested with pylint 2.2.2.