Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | remote.py: Add support for marking downloaded files executable | Ed Baunton | 2018-08-07 | 2 | -2/+43 |
| | | | | | | | | | | Add an optional flag to make files executable after having downloaded them. Instead of leaving the permissioning of downloaded file in remote.py up to the user's umask; expressly set permissions to 0644 or 0755 if executable. Bump format version to 13. | ||||
* | Add support for include '(@)' in project.conf and .bst files | Valentin David | 2018-08-02 | 51 | -3/+878 |
| | | | | Fixes #331. | ||||
* | Refactor plugin factory creation | Valentin David | 2018-08-02 | 2 | -18/+20 |
| | |||||
* | Make Project owner of Loader. | Valentin David | 2018-08-02 | 1 | -1/+1 |
| | |||||
* | Pass targets to Loader.load() instead of its constructor. | Valentin David | 2018-08-02 | 3 | -35/+36 |
| | | | | | This is required to be able to build a Loader before the list of targets is known. | ||||
* | Move tests.frontend.generate_junction to test.testutils | Valentin David | 2018-08-02 | 10 | -48/+49 |
| | |||||
* | tests: test local plugins and element-path pathstiagogomes/issue-195 | Tiago Gomes | 2018-08-02 | 3 | -1/+51 |
| | |||||
* | tests: add additional tests to patch plugin | Tiago Gomes | 2018-08-02 | 4 | -9/+50 |
| | |||||
* | tests: add additional tests to local plugin | Tiago Gomes | 2018-08-02 | 4 | -2/+55 |
| | |||||
* | tests: add generate_file_types testing function | Tiago Gomes | 2018-08-02 | 1 | -0/+62 |
| | |||||
* | project: validate project paths (element-path) | Tiago Gomes | 2018-08-02 | 1 | -1/+1 |
| | |||||
* | patch plugin: validate project paths | Tiago Gomes | 2018-08-02 | 1 | -5/+7 |
| | |||||
* | local plugin: validate project paths | Tiago Gomes | 2018-08-02 | 5 | -92/+46 |
| | | | | | | The autotools example had to be copied over inside of the junction example, as referring to a path outside of the project directory is now disallowed. | ||||
* | element.py: Raise an exception on unbuilt element checkout | Martin Blanchard | 2018-08-01 | 1 | -0/+10 |
| | | | | | Trying to checkout an element that has no cached artifacts should be and handled failure. See BuildStream/buildstream#447. | ||||
* | complete.py: Ensure paths get completed from 'element-path'mablanch/448-autocompletion-broken-defaults | Martin Blanchard | 2018-08-01 | 6 | -0/+25 |
| | | | | | | | | Element paths should always be completed from the root element folder defined by the element-path key in project.conf. Fix complete_path() to always search into its given base_directory argument. See issue BuildStream/buildstream#448 | ||||
* | tests/examples/developing.py: Add tests for workspaces walkthroughphil/437-workspaces-tutorial | Phil Dawson | 2018-08-01 | 1 | -0/+91 |
| | |||||
* | testutils/patch.py: Add methods for applying and removing patches | Phil Dawson | 2018-08-01 | 1 | -0/+21 |
| | |||||
* | tests: Add tests for cached behaviours | Richard Maw | 2018-07-31 | 1 | -0/+160 |
| | |||||
* | tests/examples/junctions.py: Add tests for junctions walkthroughphil/437-junction-tutorial | Phil Dawson | 2018-07-30 | 1 | -0/+84 |
| | | | | This is part of the work towards issue #437. | ||||
* | tests: Add mirrored fetching and tracking tests | Jonathan Maw | 2018-07-27 | 2 | -0/+487 |
| | |||||
* | testutils: Add a helper to copy a testutils repo | Jonathan Maw | 2018-07-27 | 1 | -1/+20 |
| | | | | | | | | This is helpful if you want to test what happens when you have one repo that has diverged from another. By copying the repo you're sure they start with shared history. This is especially useful when mirroring. | ||||
* | Set default mirror via command-line or user config | Jonathan Maw | 2018-07-27 | 1 | -0/+1 |
| | | | | | | | In user config (buildstream.conf), it is set with the "default-mirror" field. On the command-line, it is set with "--default-mirror" | ||||
* | tests/sources: deb, tar and zip all test for retry behaviour | Josh Smith | 2018-07-27 | 3 | -3/+6 |
| | | | | | | This is following 5d6418a06a3a0262df5f6b9e6e1a36578515fd4a where DownloadableFileSource was modified to raise 'temporary' errors when relating to file downloading. | ||||
* | Provide explicit reason for SourceError exception on path | Ed Baunton | 2018-07-26 | 1 | -1/+1 |
| | | | | When the user provides a path for the filename parameter, provide a reason | ||||
* | Add remote source plugin | Ed Baunton | 2018-07-25 | 13 | -0/+179 |
| | | | | | | | | Add a plugin that supports downloading files verbatim from a source with an optional overridable filename and destination directory. Bumps bst format version to 10. Fixes #163 | ||||
* | _stream.py: Added functionality for workspace open -f | Phillip Smyth | 2018-07-25 | 1 | -0/+52 |
| | | | | tests/frontend/workspace.py: Added tests | ||||
* | tests/frontend/show.py: Add test case for maximum recursion depth being exceeded | Phil Dawson | 2018-07-25 | 1 | -2/+58 |
| | | | | | | | Add test to ensure gracefull handling of exception thrown while loading a pipeline due the python's max recursion depth being exceeded. This is part of the work for issue #203 | ||||
* | Adding caching build trees | Phillip Smyth | 2018-07-23 | 25 | -25/+25 |
| | | | | | buildstream/element.py: Adding build tree to cache buildstream/_versions.py: Bumping BST_CORE_ARTIFACT_VERSION | ||||
* | Add support for creating a tarball on bst checkouttiagogomes/tarball_checkout | Tiago Gomes | 2018-07-20 | 1 | -1/+108 |
| | | | | | | | | 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. | ||||
* | tests/artifactcache/expiry.py: Add expiry tests | Tristan Maat | 2018-07-18 | 2 | -0/+278 |
| | |||||
* | 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`" | ||||
* | Remove tar artifact cache | Jürg Billeter | 2018-07-17 | 1 | -82/+0 |
| | | | | No longer used. | ||||
* | 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 | 1 | -6/+1 |
| | |||||
* | tests/frontend/push.py: Use ArtifactShare statvfs mocking | Jürg Billeter | 2018-07-17 | 1 | -29/+9 |
| | | | | | This makes it unnecessary to update the free space in the mock object in the middle of tests. | ||||
* | tests/testutils/artifactshare.py: Add support for statvfs mocking | Jürg Billeter | 2018-07-17 | 1 | -3/+28 |
| | |||||
* | tests: Use context manager for ArtifactShare | Jürg Billeter | 2018-07-17 | 4 | -469/+487 |
| | |||||
* | tests: Fix filter tests not checking whether files should be missing. | Jonathan Maw | 2018-07-16 | 5 | -0/+72 |
| | | | | | They weren't actually catching it if you checked-out the entire depended element, instead of just the specified split domains | ||||
* | Move _list_dir_contents to __init__.pyMove-_list_dir_contents-to-__init__425-add-a-deps-flag-to-bst-checkout | Phillip Smyth | 2018-07-11 | 4 | -52/+36 |
| | |||||
* | tests/frontend/push.py: Add missing skip annotation for non-Linux468-source-bundle-except-argument-is-ignored | Jürg Billeter | 2018-07-09 | 1 | -0/+1 |
| | |||||
* | tests: Remove unneeded ArtifactShare.update_summary() method | Jürg Billeter | 2018-07-09 | 4 | -40/+0 |
| | | | | The OSTree summary file is no longer used. | ||||
* | Provide better error message on missing commands | Tiago Gomes | 2018-07-02 | 3 | -0/+21 |
| | | | | | | | Before running a command in the sandbox, check its existence and fail early if it does not. This fixes issue #289. | ||||
* | Add error message when running commands on directories | Francisco Redondo Marchena | 2018-06-28 | 1 | -0/+12 |
| | | | | Issue #446 | ||||
* | doc: Adding part 4 of the getting started tutorial: integration commands | Tristan Van Berkom | 2018-06-25 | 1 | -0/+36 |
| | | | | | This new section talks about how integration commands work and shows them at work. | ||||
* | doc: Adding part 3 of the getting started tutorial: autotools element | Tristan Van Berkom | 2018-06-18 | 2 | -0/+47 |
| | | | | | | | | | This part of the tutorial uses a lot of the work from Phil Dawson and James Ennis, and uses their example submitted on merge request 499 as a basis to introduce the user to yaml composition and variable resolution. This is a part of issue #103 |