Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add support for creating a tarball on bst checkouttiagogomes/tarball_checkout | Tiago Gomes | 2018-07-20 | 5 | -38/+227 |
| | | | | | | | | One of the tests added is configured to be skipped for now, as dumping binary data is causing a bad descriptor exception when using the pytest capture module. Closes #263. | ||||
* | Update checkout man page for new --deps option | Tiago Gomes | 2018-07-20 | 1 | -1/+4 |
| | |||||
* | install_linux_distro.rst: Document plugins deps for the rest of the systems | Javier Jardón | 2018-07-20 | 1 | -2/+16 |
| | |||||
* | install_linux_distro.rst: document plugins installed by default | Javier Jardón | 2018-07-20 | 1 | -0/+8 |
| | |||||
* | Added dependency to the Docs | William Salmon | 2018-07-20 | 1 | -0/+5 |
| | | | | | | | | | | | These dependencies are needed to use the plugins that are installed as part of this guild. As the dependencies added are not dependencies of the core package they have been added to a separate section. The lzip package is needed to build gnome. https://wiki.gnome.org/Newcomers/BuildSystemComponent | ||||
* | Docs: Update the required build packages for the rest of the systems | Javier Jardón | 2018-07-20 | 1 | -9/+10 |
| | | | | | | | Also remove the recomendation to install psutil as we need to build other python modules anyway (like ruamel) Completes 96d07153b7817cdaeda57dd163eed52b2b1b31e8 | ||||
* | Docs: Update the required build packages for fedora based systems. | Jordan Petridis | 2018-07-20 | 1 | -1/+1 |
| | | | | | | `ruamel.yaml` seems to require `Python.h` header file to build. `python3-devel` is what provides it for Fedora. | ||||
* | source-bundle: Enable --except optionfranred/fix-except-argument-in-source-bundle | Francisco Redondo Marchena | 2018-07-19 | 2 | -2/+5 |
| | | | | | | | Before this option was listed in help but was ignored when creating the source-bundle. Issue #468 | ||||
* | scheduler.py: Correct some anomalies within the docstringsQinusty/scheduler_docstring_fix | Josh Smith | 2018-07-19 | 1 | -2/+4 |
| | |||||
* | .gitlab-ci.yml: Use testsuite images for running testschandan/use-testsuite-fedora | Chandan Singh | 2018-07-18 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | Instead of re-using the user-facing `buildstream/buildstream-fedora` image for tests (that comes with BuildStream pre-installed), use `buildstream/testsuite-fedora` image that is supposed to be used exclusively for these tests. Similarly, use the dedicated `buildstream/testsuite-debian` image instead of `buildstream/buildstream-debian`. Fixes #458. For related discussion, see https://gitlab.com/BuildStream/buildstream-docker-images/issues/8. | ||||
* | Reorder app.py imports1.3.0 | Daniel Playle | 2018-07-18 | 1 | -3/+2 |
| | | | | | | | | When testing locally on some systems, it appears that pylint fails on the order of imports for `buildstream/_frontend/app.py`. This commit changes the order of these imports. This commit addresses issue !453. | ||||
* | _stream.py: Clarifying ambiguous FIXME comment about required artifactsbst-1-branchpoint | Tristan Van Berkom | 2018-07-18 | 1 | -3/+6 |
| | |||||
* | Refactor: Use new logging mechanism from Contexttristan/local-cache-expiry | Tristan Van Berkom | 2018-07-18 | 8 | -318/+55 |
| | | | | | | | | | | | | | o element.py / plugin.py: Removed supporting logging code, and derive the log handle from Context. o _scheduler/scheduler.py, _scheduler/queues/queue.py: Adapt to new Job initializer API for the logfile o _scheduler/jobs/job.py: Run job activities within the new context manager which turns on logging for a job. Also removed a lot of custom logging abstract methods which are unneeded. o _scheduler/jobs: Job implementations need not implement so much custom logging. | ||||
* | _context.py: Adding apis for message recording and task logging. | Tristan Van Berkom | 2018-07-18 | 1 | -1/+138 |
| | | | | | | | | | | | | Added the new Context.recorded_messages() context manager, this causes messages to be logged in a dedicated log file before being propagated to the log handler, and also provides an open log handle for the capturing and logging of stdout/stderr from child processes. This comes with the additional accessors: Context.get_log_handle() Context.get_log_filename() | ||||
* | NEWS: Add news about cache expiry | Tristan Maat | 2018-07-18 | 1 | -0/+4 |
| | |||||
* | tests/artifactcache/expiry.py: Add expiry tests | Tristan Maat | 2018-07-18 | 2 | -0/+278 |
| | |||||
* | Clean the artifact cache when we hit the cache quota | Tristan Maat | 2018-07-18 | 6 | -3/+201 |
| | | | | | When the cache quota is hit, we will remove any elements not required for the current build, until our cache is only filled halfway. | ||||
* | Compute the artifact cache size after each build/pull | Tristan Maat | 2018-07-18 | 7 | -2/+127 |
| | |||||
* | Make elements keep track of their built artifact size | Tristan Maat | 2018-07-18 | 4 | -0/+108 |
| | |||||
* | Add cache_quota to user config | Tristan Maat | 2018-07-18 | 3 | -0/+133 |
| | |||||
* | Make Jobs abstract and element-independent | Tristan Maat | 2018-07-18 | 15 | -376/+718 |
| | |||||
* | _scheduler/*queue.py: Move queues to a subdirectory | Tristan Maat | 2018-07-18 | 9 | -13/+14 |
| | |||||
* | utils.py: Allow `list_relative_paths` to list directories | Tristan Maat | 2018-07-18 | 1 | -6/+8 |
| | |||||
* | _exceptions.py: Add `detail` to ArtifactErrors | Tristan Maat | 2018-07-18 | 1 | -2/+2 |
| | |||||
* | Bump required python version to 3.5 | Tristan Maat | 2018-07-18 | 4 | -8/+5 |
| | |||||
* | _artifactcache/cascache.py: Fix prune() | Jürg Billeter | 2018-07-17 | 1 | -0/+2 |
| | | | | | _reachable_refs_dir() failed to add directory digests to the set of reachable objects. | ||||
* | _frontend/cli.py: Fix help text for `bst checkout --deps` | Jürg Billeter | 2018-07-17 | 1 | -1/+1 |
| | |||||
* | Fix 'main install' to be explicit that it is for Linux distros only | devcurmudgeon | 2018-07-17 | 2 | -5/+3 |
| | |||||
* | Adding a helpful link to the example | William Salmon | 2018-07-17 | 1 | -1/+1 |
| | |||||
* | tests/frontend/buildcheckout.py: Added tests for "Add a `--deps` flag to ↵add_flag_to_checkout | Phillip Smyth | 2018-07-17 | 1 | -0/+36 |
| | | | | `bst checkout`" | ||||
* | buildstream/_frontend/cli.py: Added a `--deps` flag to `bst checkout` | Phillip Smyth | 2018-07-17 | 3 | -13/+18 |
| | | | | | buildstream/_stream.py: Added deps param to _prepare_sandbox function call buildstream/element.py: Added deps param and logic to _prepare_sandbox function | ||||
* | element.py: Include fail-on-overlap setting in cache key | Jürg Billeter | 2018-07-17 | 1 | -0/+4 |
| | | | | Fixes #473. | ||||
* | _artifactcache: Remove unused method can_diff()juerg/googlecas | Jürg Billeter | 2018-07-17 | 2 | -12/+0 |
| | |||||
* | element.py: Do not use ArtifactCache.can_diff() | Jürg Billeter | 2018-07-17 | 1 | -1/+1 |
| | | | | The only existing artifact cache implementation always returns True. | ||||
* | NEWS: Add news entry for CAS-based artifact cache | Jürg Billeter | 2018-07-17 | 1 | -0/+4 |
| | |||||
* | Remove OSTree artifact cache | Jürg Billeter | 2018-07-17 | 4 | -1644/+0 |
| | | | | | | No longer used. Fixes #134, #138, #148, #217, #268, #276, #443, #460. | ||||
* | Remove tar artifact cache | Jürg Billeter | 2018-07-17 | 2 | -379/+0 |
| | | | | No longer used. | ||||
* | doc/source/artifacts.rst: Update documentation for CAS artifact server | Jürg Billeter | 2018-07-17 | 1 | -76/+64 |
| | |||||
* | tests/integration/workspace.py: Test incremental build on all platforms | Jürg Billeter | 2018-07-17 | 1 | -1/+0 |
| | |||||
* | tests/frontend/pull.py: Add pull test for missing blobs on the server | Jürg Billeter | 2018-07-17 | 1 | -0/+42 |
| | |||||
* | tests/frontend/push.py: Remove xfail mark from LRU cache test | Jürg Billeter | 2018-07-17 | 1 | -4/+0 |
| | | | | The CAS server now supports LRU. | ||||
* | tests: Test push/pull on all platforms | Jürg Billeter | 2018-07-17 | 3 | -13/+0 |
| | |||||
* | tests/cachekey: Update expected cache keys after switch to CAS | Jürg Billeter | 2018-07-17 | 25 | -25/+25 |
| | |||||
* | tests/testutils/artifactshare.py: Use CAS artifact server | Jürg Billeter | 2018-07-17 | 1 | -28/+48 |
| | |||||
* | _platform: Use CAS artifact cache | Jürg Billeter | 2018-07-17 | 3 | -10/+5 |
| | |||||
* | _artifactcache/casserver.py: Update artifact ref mtime on access | Jürg Billeter | 2018-07-17 | 1 | -1/+1 |
| | | | | This makes cache cleanup LRU. | ||||
* | _artifactcache/casserver.py: Add update_mtime parameter to resolve_ref() | Jürg Billeter | 2018-07-17 | 1 | -1/+5 |
| | |||||
* | _artifactcache/casserver.py: Add cache cleanup based on pushreceive | Jürg Billeter | 2018-07-17 | 1 | -0/+66 |
| | |||||
* | _artifactcache: Add CAS artifact server | Jürg Billeter | 2018-07-17 | 2 | -1/+251 |
| | |||||
* | _artifactcache/cascache.py: Add remote cache support | Jürg Billeter | 2018-07-17 | 3 | -11/+400 |
| |