Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Adapting test cases to expect logs in stderrearly-logging | Tristan Van Berkom | 2017-12-13 | 9 | -38/+27 |
| | | | | And also adapted them to remove any occurrences of HAVE_ROOT. | ||||
* | tests/testutils/site.py: Removed HAVE_ROOT | Tristan Van Berkom | 2017-12-13 | 1 | -2/+0 |
| | | | | | There is no scenario worth testing where this condition is not true, removing this. | ||||
* | tests/testutils/runcli.py: Enhanced to capture stdout/stderr separately | Tristan Van Berkom | 2017-12-13 | 1 | -11/+64 |
| | | | | | We need this now in order to properly test the frontend and parse logs from stderr or output from stdout. | ||||
* | _frontend: Send all logging materials to stderr | Tristan Van Berkom | 2017-12-13 | 3 | -50/+50 |
| | |||||
* | _frontend: Enable logging right away | Tristan Van Berkom | 2017-12-12 | 2 | -99/+4 |
| | | | | | | Now we just assume that logging is turned on all the time, any messages must now always go through the central context messaging APIs. | ||||
* | _pipeline.py: Removed tickers, use timed activities instead | Tristan Van Berkom | 2017-12-12 | 1 | -54/+38 |
| | | | | | | | | Currently this does not update the task list, and is for timing groups of activities from the frontend, or for timing long standing tasks which run directly in the frontend and not in a child task (like downloading the refs from a remote at load time before a build commences). | ||||
* | plugin.py: Implement Plugin.timed_activity() using Context._timed_activity() | Tristan Van Berkom | 2017-12-12 | 1 | -33/+5 |
| | |||||
* | _context.py: Added _timed_activity() method | Tristan Van Berkom | 2017-12-12 | 1 | -1/+53 |
| | | | | A version of the function which can be shared with the frontend too. | ||||
* | _frontend/main.py: Rewording `--track-all` build optiontracking-changes-rebased | Tristan Van Berkom | 2017-12-12 | 1 | -2/+2 |
| | |||||
* | Fix tests | Tristan Maat | 2017-12-12 | 8 | -2/+357 |
| | |||||
* | main.py: Add `bst build --track-all` | Tristan Maat | 2017-12-12 | 1 | -1/+6 |
| | |||||
* | Add `bst build --track-except` | Tristan Maat | 2017-12-12 | 2 | -4/+8 |
| | |||||
* | Issue #117: Add `bst build --track` | Tristan Maat | 2017-12-12 | 2 | -65/+121 |
| | |||||
* | Issue #113: Split tracking and saving in `bst build` | Tristan Maat | 2017-12-12 | 3 | -13/+24 |
| | |||||
* | _plugincontext.py: Let plugins not have YAML defaults | Mathieu Bridon | 2017-12-12 | 1 | -4/+8 |
| | | | | | Source plugins typically do not have an accompanying YAML file with their default settings. | ||||
* | _pipeline.py: Fix makedirs exception handling | Angelos Evripiotis | 2017-12-12 | 1 | -1/+1 |
| | |||||
* | plugins/sources/git.py: Fix potential NameError | Gökçen Nurlu | 2017-12-12 | 1 | -1/+1 |
| | | | | | | | The residual `from e` was probably left there after a refactoring from try-catch to exit-code-checking. While this could prevent the expected `SourceError` being thrown, I couldn't find a proper way to trigger it since `git show` has no documented return codes other than `0` and `128`. | ||||
* | source.py: Implement _get_workspace_path | Antoine Wacheux | 2017-12-12 | 1 | -3/+8 |
| | |||||
* | tests/testutils/artifactshare.py: Always create summary file for test caches | Sam Thursfield | 2017-12-12 | 1 | -0/+1 |
| | | | | | | | | Pulls will fail from the cache if there's no summary file, so we should always create one. If you need a cache that breaks when pulled from, pass an empty directory that hasn't been initialized as a repo at all. | ||||
* | tests/frontend: Reverse ordering of cache specifications | Sam Thursfield | 2017-12-12 | 2 | -14/+14 |
| | | | | | | | | | | | The cache parameters are now in highest-to-lowest precidence order corresponding to left-to-right along the line where they are specified. Once we make it possible to specify a list of URLs for each of these parameters, the precidence will continue to always read from highest to lowest corresponding to left-to-right since each list of URLs will also read left-to-right. | ||||
* | _ostree.py: Avoid raising GLib.Error from configure_remote() | Sam Thursfield | 2017-12-12 | 1 | -6/+9 |
| | | | | | | | | | | This call can fail (if we pass an invalid remote name, for example) so we should wrap the GLib.Error with OSTreeException. In the case of GLib.Error this is especially important as GLib.Error can't be pickled and so such exceptions disappear completely when we try to propagate them back from multiprocessing subprocesses. See <https://bugzilla.gnome.org/show_bug.cgi?id=791265>. | ||||
* | Remove unused variables | Gökçen Nurlu | 2017-12-11 | 2 | -3/+0 |
| | |||||
* | _fuse/mount.py: Fix missing import of ImplError | Gökçen Nurlu | 2017-12-11 | 1 | -0/+1 |
| | |||||
* | plugins/sources/bzr.py: Fix variable name typos | Gökçen Nurlu | 2017-12-11 | 1 | -3/+4 |
| | |||||
* | _profile.py: Fix missing 'self.' keyword | Gökçen Nurlu | 2017-12-11 | 1 | -1/+1 |
| | |||||
* | Remove unused imports in test files | Gökçen Nurlu | 2017-12-07 | 17 | -22/+2 |
| | |||||
* | Remove unused imports | Gökçen Nurlu | 2017-12-07 | 28 | -83/+42 |
| | |||||
* | tests/frontend/buildcheckout.py: Adding `bst checkout` tests | Tristan Van Berkom | 2017-12-05 | 1 | -5/+91 |
| | | | | | | | | | o Test that we fail gracefully when there is already data in the checkout target o Test that we still checkout into dirty directories with --force o Test hardlink checkouts | ||||
* | utils.py: Removing safe_move() and move_files() APIs | Tristan Van Berkom | 2017-12-05 | 1 | -65/+0 |
| | | | | | These are not used anywhere internally and are not really desirable to use, as usually you need only care about moving a toplevel directory. | ||||
* | _frontend/main.py: Adding --hardlinks option to `bst checkout` | Tristan Van Berkom | 2017-12-05 | 1 | -2/+4 |
| | | | | This fixes #162 | ||||
* | _pipeline.py: Added hardlinks option to Pipeline.checkout() | Tristan Van Berkom | 2017-12-05 | 1 | -5/+29 |
| | | | | This fixes #162 | ||||
* | tests/testutils/runcli.py: Always run with --no-colors | Sam Thursfield | 2017-12-05 | 1 | -1/+1 |
| | | | | | | | | | | Pytest defaults to capturing stdout, which has the side effect of making BuildStream realise it's not outputting to a terminal and disabling its ANSI colour code output. If you pass `--capture=no` then BuildStream detects the terminal and the colour codes are emitted, which breaks all of the tests which match on specific output from `bst`. Forcefully disable colours to fix that. | ||||
* | HACKING.rst: the setup.py --addopts flag can only be given once | Sam Thursfield | 2017-12-05 | 1 | -1/+1 |
| | |||||
* | element.py: Removing unconditional INFO message when staging | Tristan Van Berkom | 2017-12-05 | 1 | -1/+0 |
| | | | | This seems to be debug print left around in the branch. | ||||
* | buildstream/plugins/elements/cmake.yaml: Always create build folderjjardon/cmake_build | Javier Jardón | 2017-12-05 | 2 | -5/+7 |
| | | | | | | | | | | | | | This is the common practice with cmake Actually, some modules will fail to build if this is not follow. For example for llvm you wil get this error when configuring: " CMake would overwrite the makefiles distributed with LLVM. Please create a directory and run cmake from there, passing the path to this source directory as the last argument. " | ||||
* | update install instructions for Debian (fix #159) | Abderrahim Kitouni | 2017-12-04 | 1 | -8/+9 |
| | |||||
* | Add a test for overlaps114-give-better-warnings-on-overlaps | Jonathan Maw | 2017-12-01 | 13 | -0/+62 |
| | |||||
* | Produce a more in-depth report of overlaps when staging | Jonathan Maw | 2017-12-01 | 1 | -9/+23 |
| | | | | | The information provided by link_files is not sufficient to know which element had the overlapped file. | ||||
* | utils: Expand file copying to optionally report files written | Jonathan Maw | 2017-12-01 | 1 | -7/+23 |
| | |||||
* | buildstream/plugins/elements: Add *-global and *-local configuration variables | Javier Jardón | 2017-11-30 | 3 | -3/+9 |
| | | | | | | | | | This will allow to define: - global configuration parameters that will be used to all the elements using that build system - local configuration parameters that will override the global ones Left *-extra for compatibility | ||||
* | Issue #142: Ensure we don't append provenances twice | Tristan Maat | 2017-11-30 | 2 | -5/+10 |
| | |||||
* | Add a test for tar lzip | Valentin David | 2017-11-30 | 3 | -0/+58 |
| | |||||
* | Add support for lzip in tar source. Fix #158. | Valentin David | 2017-11-30 | 1 | -1/+32 |
| | |||||
* | Allow stdout and stderr to be overriden in Plugin.call | Valentin David | 2017-11-30 | 1 | -5/+4 |
| | |||||
* | _options/optionpool.py: Split load_values | Jürg Billeter | 2017-11-30 | 2 | -6/+14 |
| | | | | | Split load_values into load_yaml_values and load_cli_values to allow independent loading from multiple YAML nodes. | ||||
* | _pipeline.py: Load platform before creating Loader instance | Jürg Billeter | 2017-11-30 | 1 | -5/+5 |
| | | | | This allows platform access in Loader code. | ||||
* | _loader.py: Remove historic distinction between element name and filename | Jürg Billeter | 2017-11-30 | 1 | -8/+6 |
| | | | | They have been the same for a long time. | ||||
* | _loader.py: Remove unused basedir attribute from LoadElement | Jürg Billeter | 2017-11-30 | 1 | -5/+2 |
| | |||||
* | _loader.py: Remove unused owner attribute from Dependency | Jürg Billeter | 2017-11-30 | 1 | -7/+6 |
| | |||||
* | _loader.py: Create Dependency objects for dummy target | Jürg Billeter | 2017-11-30 | 1 | -1/+1 |
| | | | | Match the structure of real targets. |