Commits on Source (83)
-
Javier Jardón authored
Multiprocessing with n_jobs given by multiprocessing.cpu_count() is not optimal for systems where not all CPU can be used (in particular, Docker, CI etc). As suggested in the multiprocessing docs (http://docs.python.org/3/library/multiprocessing.html#multiprocessing.cpu_count) using len(os.sched_getaffinity(0)) might be better.
-
Javier Jardón authored
even if the machine have mores cores available Patch taken from YBD: https://gitlab.com/baserock/ybd/blob/master/ybd/app.py#L227
-
Javier Jardón authored
buildstream/_project.py: Restrict max-jobs See merge request !620
-
Jim MacArthur authored
-
Tristan Van Berkom authored
Pin ruamel.yaml version to <= 0.15 See merge request !630
-
Phillip Smyth authored
This fixes #191 A note has been added to NEWS explaining backwards compatibility issues
-
Phillip Smyth authored
Patch for issue #191 support relative workspaces Closes #191 See merge request !504
-
Fixes #498
-
Valentin David authored
Set environment in bwrap command line instead of its environment Closes #498 See merge request !565
-
Chandan Singh authored
In some cases, such as when working inside a virtual environment, it can be desirable to install all dependencies for running tests using `pip`. This is currently not possible since setuptools does not support installing these dependencies in a virtual environment (by design). (See https://stackoverflow.com/a/21003259.) To circumvent this issue, move such requirements to `dev-requirements.txt` file that can be used easily with `pip install -r`. This also enables tests to be run directly using `pytest`, which can be more convenient than `-addopts` approach when one needs to add multiple options. This will also be useful in creating better testuite images, and fix some of the issues noticed in buildstream-docker-images!56.
-
Javier Jardón authored
Move development reqirements to dev-requirements.txt See merge request !637
-
Chandan Singh authored
-
Chandan Singh authored
Fix typo in dev-requirements.txt See merge request !641
-
-
Javier Jardón authored
.gitlab-ci-yml: Add ubuntu 18.04 test See merge request !523
-
Javier Jardón authored
-
Javier Jardón authored
-
Javier Jardón authored
This also fixes an error with pylint in setup.py: setup.py:226:19: R1718: Consider using a set comprehension (consider-using-set-comprehension)
-
Javier Jardón authored
Add job to run tests in fedora 28 See merge request !643
-
Instead of copying metadata on files staged by local, we manually set mode to 0755 or 0644 depending on whether user execution was enabled on source file. This makes file modes deterministic independently on the way source was distributed. Non-deterministic mode copying all metadata can still be enabled by disable 'deterministic' Boolean configuration on the plugin. Fixes #527.
-
Staging could end-up with file with different rights depending on the umask. The extracted files need to get their access rights fixed.
-
-
-
`python3-arpy` package is not available on Fedora so it has to be installed using `pip`. Update instructions accordingly. For reference, here is a pipeline that failed when trying to install `arpy` using current instructions: https://gitlab.com/BuildStream/buildstream-docker-images/-/jobs/88553245.
-
Javier Jardón authored
doc: Fix install instructions for Fedora See merge request !640
-
Chandan Singh authored
Add cachekey tests for the recently added `remote` source plugin to ensure that future changes do not break API compatibility.
-
Tristan Van Berkom authored
remote source: Add cachekey test See merge request !636
-
Stream._load() now returns early without resolving build pipeline when only tracking. Resolving track pipelines does not require to fully load project configurations when when elements to track are only junctions. However build pipelines require to fully load project configurations. This might not be possible in the case a project configuration includes a file from a junction that yet needs to be tracked. Fixes #565.
-
Tristan Van Berkom authored
Fix tracking of junctions used in project.conf Closes #565 See merge request !619
-
This allows to use version 0.15.51 rather than 0.15.0 which is required for Python 3. Fixes #571.
-
Valentin David authored
Set version of ruaml.yaml to at least 0.15.41 but strictly less than 0.15.52. Closes #571 See merge request !646
-
Jürg Billeter authored
Caching failed builds and relative workspaces were not part of the 1.1.5 developer snapshot.
-
Jonathan Maw authored
-
Jonathan Maw authored
-
Jonathan Maw authored
Format version raised because of a change to the core element format.
-
Jonathan Maw authored
-
Jonathan Maw authored
-
Jonathan Maw authored
Resolve "Make dependency type default to build" Closes #463 See merge request !633
-
We now delay refreshing submodules until we have a clone, that is after we have fetched the main fetcher. Fixes #537
-
-
-
-
-
-
Tristan Van Berkom authored
Delay refreshing git submodule until we have a clone Closes #537 See merge request !656
-
This allows for users to configure fatal-warnings to be either a list of warnings. This commit deprecates the use of fail-on-overlap within project.conf, this will now use the fatal-warnings configuration item. element.py: Cache key calculation now takes into account all of the fatal-warnings tests: This modifys the tests/frontend/overlaps.py tests to support the new fatal-warnings configuration. Backwards compatibility is also tested for `fail-on-overlap` _versions.py: BST_FORMAT_VERSION bumped to 15 for fatal-warnings BST_CORE_ARTIFACT_VERSION bumpted to 5 for fatal-warnings Fixes: #526
-
Tristan Van Berkom authored
Configurable Warnings Closes #526 See merge request !627
-
Jürg Billeter authored
Continue to accept requests from non-conforming BuildStream clients for the time being to ease migration.
-
Jürg Billeter authored
This requires an updated server. Fixes #572.
-
Jürg Billeter authored
Replace assertions with gRPC error responses.
-
Jürg Billeter authored
CAS: Fix resource_name format for blobs Closes #572 See merge request !660
-
Jim MacArthur authored
-
Jim MacArthur authored
-
Jim MacArthur authored
-
Jim MacArthur authored
-
Jim MacArthur authored
-
Jim MacArthur authored
-
Jim MacArthur authored
-
Jim MacArthur authored
-
Jim MacArthur authored
CAS-backed virtual directory implementation See merge request !481
-
Chandan Singh authored
Source plugin implementations can now specify that they need access to previously staged sources by specifying `BST_REQUIRES_PREVIOUS_SOURCES_TRACK` and/or `BST_REQUIRES_PREVIOUS_SOURCES_FETCH`, corresponding to access at `track` and `fetch` times respectively. Fixes #381. Replaces !505. For relevant discussion, see this discussion: !505 (comment 83780747)
-
Chandan Singh authored
`pip` source plugin can stage python packages that are either specified directly in the element definition or picked up from `requirements.txt` from previous sources. In order to support the latter use-case (which is also the primary motivation for this plugin), this plugin requires access to previous sources and hence is an example of a Source Transform source. Also, bump `BST_FORMAT_VERSION` as this patch adds a new core plugin.
-
Chandan Singh authored
-
Chandan Singh authored
Allow source plugins to access previous sources Closes #381 See merge request !568
-
Ostree mirrors were not sharing the same local repository, so it was impossible the request refs from the right local repository when data was fetched from a mirror rather than upstream. Instead of having several repository with one remote each, we now have one repository with several remotes. This fixes #538.
-
Tristan Van Berkom authored
Fix ostree repository mirroring Closes #538 See merge request !658
-
William Salmon authored
This patch mitigates the granularity of the mtimes used on the default gitlab runners, Allowing the test suite to pass on these runners.
-
Tom Pollard authored
Trying to mitigate a file system issue See merge request !595
-
Tiago Gomes authored
https seems broken on the Debian image: START autotools/hello/42930621-fetch.499.log START Fetching https://ftpmirror.gnu.org/gnu/automake/automake-1.16.tar.gz FAILURE Fetching https://ftpmirror.gnu.org/gnu/automake/automake-1.16.tar.gz FAILURE tar source at hello.bst [line 16 column 2]: Error mirroring https://ftpmirror.gnu.org/gnu/automake/automake-1.16.tar.gz: <urlopen error [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:720)>
-
Tiago Gomes authored
Use http instead of https for the gnu ftp mirror See merge request !676
-
Tiago Gomes authored
os.errno does no longer work with Python 3.7 Closes #577.
-
Tiago Gomes authored
cascache: use errno module Closes #577 See merge request !674
-
Use the optionally implemented desktop notification method to notify when a session completes. Previously, this used to only notify when an interactive prompt appears. This is an attempt to fix #385
-
Tristan Van Berkom authored
_frontend/app.py: Notify session completions Closes #385 See merge request !672
-
William Salmon authored
Raise a error at configure time if the track and ref properties are not present in the sources. This is to address #471 that documented unhelpful behaviour when tracking git sources. However the issue was also identified in ostree.
-
William Salmon authored
Showing
- .gitlab-ci.yml 12 additions, 4 deletions.gitlab-ci.yml
- MANIFEST.in 3 additions, 0 deletionsMANIFEST.in
- NEWS 28 additions, 5 deletionsNEWS
- buildstream/__init__.py 2 additions, 1 deletionbuildstream/__init__.py
- buildstream/_artifactcache/artifactcache.py 1 addition, 1 deletionbuildstream/_artifactcache/artifactcache.py
- buildstream/_artifactcache/cascache.py 10 additions, 4 deletionsbuildstream/_artifactcache/cascache.py
- buildstream/_artifactcache/casserver.py 72 additions, 15 deletionsbuildstream/_artifactcache/casserver.py
- buildstream/_frontend/app.py 14 additions, 2 deletionsbuildstream/_frontend/app.py
- buildstream/_frontend/widget.py 3 additions, 1 deletionbuildstream/_frontend/widget.py
- buildstream/_loader/loadelement.py 37 additions, 18 deletionsbuildstream/_loader/loadelement.py
- buildstream/_loader/loader.py 3 additions, 2 deletionsbuildstream/_loader/loader.py
- buildstream/_loader/types.py 2 additions, 0 deletionsbuildstream/_loader/types.py
- buildstream/_pipeline.py 5 additions, 14 deletionsbuildstream/_pipeline.py
- buildstream/_project.py 42 additions, 6 deletionsbuildstream/_project.py
- buildstream/_scheduler/queues/fetchqueue.py 3 additions, 1 deletionbuildstream/_scheduler/queues/fetchqueue.py
- buildstream/_stream.py 32 additions, 17 deletionsbuildstream/_stream.py
- buildstream/_versions.py 2 additions, 2 deletionsbuildstream/_versions.py
- buildstream/_workspaces.py 17 additions, 24 deletionsbuildstream/_workspaces.py
- buildstream/data/projectconfig.yaml 0 additions, 4 deletionsbuildstream/data/projectconfig.yaml
- buildstream/element.py 23 additions, 59 deletionsbuildstream/element.py