Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Allow checking out artifact metadata with `bst checkout`sam/bst-checkout-metadata | Sam Thursfield | 2017-11-06 | 3 | -2/+57 |
| | | | | | | | This commit adds a new `bst checkout --metadata` mode which checks out the artifact's build logs and metadata into a user specified directory. This is instead of the normal mode which checks out and optionally integrates the artifact's contents. | ||||
* | integration-tests: Fix `run-tests.sh --sources DIR` when DIR doesn't exist | Sam Thursfield | 2017-11-06 | 1 | -2/+2 |
| | | | | | | | | | | | We need to canonicalize the path using the `realpath -m` or `realpath --canonicalize-missing`, otherwise if the directory doesn't exist we get an error: realpath: /tmp/foo/bar/: No such file or directory The tests still work if this happens but the sources go into the default location because the BST_SOURCE_CACHE variable goes unset. | ||||
* | doc/source/pluginauthoring.rst: Removed Project from documentation | Tristan Van Berkom | 2017-11-06 | 1 | -1/+0 |
| | |||||
* | refactoring: Made Project option private | Tristan Van Berkom | 2017-11-06 | 20 | -91/+105 |
| | | | | | | | | | | | | | | This required adding two new APIs to make up for it on the Source o get_project_directory() Added here because elements should not be accessing external resources, Sources needed for local files and GPG keys and such o translate_url() Used by sources to mish-mash the project aliases and create real urls. | ||||
* | tests/sandboxes/mounting/mount_simple.py: Changed to test new Mounter objectsandbox-mounts-refactor | Tristan Van Berkom | 2017-11-06 | 1 | -3/+3 |
| | |||||
* | sandbox: Refactoring, moving accidentally public MountMap into it's own file | Tristan Van Berkom | 2017-11-06 | 5 | -112/+135 |
| | |||||
* | sandbox/_mounter.py: Added missing copyright header | Tristan Van Berkom | 2017-11-06 | 1 | -0/+20 |
| | |||||
* | sandbox/_mount.py: Renamed _mounter.py | Tristan Van Berkom | 2017-11-06 | 2 | -3/+3 |
| | | | | | Disambiguate with the Mount and MountMap classes, which were accidentally added to public API. | ||||
* | buildelement.py: Fixed doc string link.exceptions-refactor | Tristan Van Berkom | 2017-11-06 | 1 | -1/+1 |
| | |||||
* | doc/source/formatintro.rst: Fixed duplicate link anchor | Tristan Van Berkom | 2017-11-06 | 1 | -1/+1 |
| | |||||
* | Refactoring: Renamed _BstError -> BstError | Tristan Van Berkom | 2017-11-06 | 8 | -50/+52 |
| | | | | | | Base class for exceptions is now a part of the already private _exceptions module Also moved PipelineError from _pipeline -> _exceptions module | ||||
* | Refactoring: Rename _ArtifactError -> ArtifactError | Tristan Van Berkom | 2017-11-06 | 6 | -34/+34 |
| | | | | This is now part of the already private _exceptions module | ||||
* | Refactoring: Move exceptions module to be private | Tristan Van Berkom | 2017-11-06 | 50 | -109/+118 |
| | | | | Hide all of buildstream's internal exceptions from the API surface. | ||||
* | Refactoring: Move ElementError and SourceError to their respective classes, ↵ | Tristan Van Berkom | 2017-11-06 | 6 | -40/+47 |
| | | | | | | | | | | create SandboxError These errors are a part of public facing API, and the exceptions module contains a lot of internal details to be hidden from public API. This move required creating SandboxError because sandbox related code had previously been hijacking the ElementError and raising that. | ||||
* | plugins/sources/zip.py: Dont depend on python 3.6 method | Tristan Van Berkom | 2017-11-06 | 1 | -8/+10 |
| | | | | | | Also, restructured a bit to match tar source, there was never any need for the `dirs_only` parameter for listing the archive paths, the source is only interested in directories anyway. | ||||
* | tests/sources/tar.py: Removing some unused test data | Tristan Van Berkom | 2017-11-06 | 2 | -8/+0 |
| | |||||
* | tests/sources/zip.py: Adding tests for zip source edge cases | Tristan Van Berkom | 2017-11-06 | 13 | -0/+221 |
| | |||||
* | tests/sources/fixture.py: Removing the old deprecated fixture | Tristan Van Berkom | 2017-11-06 | 1 | -55/+0 |
| | |||||
* | tests/sources/bzr.py: Removing bzr source test | Tristan Van Berkom | 2017-11-06 | 13 | -238/+0 |
| | | | | | | | | This does not test much more than the regular frontend tests against the bzr source, and was presenting difficulty to migrate to the proper new CLI fixtures. This was also the last source test using the older deprecated fixture. | ||||
* | Updating cache key test for recent changes related to issue #121 | Tristan Van Berkom | 2017-11-06 | 3 | -2/+2 |
| | |||||
* | plugins/elements/script.py: Issue #121 - Remove traces of pre-/post- commands | Tristan Van Berkom | 2017-11-06 | 1 | -8/+3 |
| | |||||
* | buildelement.py: Issue #121 - Remove traces of pre-/post- commands | Tristan Van Berkom | 2017-11-06 | 1 | -34/+29 |
| | |||||
* | Updating all test cases for the removal of architecture conditionals and options | Tristan Van Berkom | 2017-11-06 | 37 | -201/+53 |
| | |||||
* | _frontend/widget.py: Removing architecture from the reports | Tristan Van Berkom | 2017-11-06 | 1 | -2/+0 |
| | |||||
* | _frontend/main.py: Removing arch related options | Tristan Van Berkom | 2017-11-06 | 1 | -17/+8 |
| | | | | And adding --integrate/--no-integrate option to `bst checkout` | ||||
* | _pipeline.py: Removing arches | Tristan Van Berkom | 2017-11-06 | 1 | -12/+4 |
| | | | | | Also now the integration option to `bst checkout` is explicit, as we dont have knowledge of arches anymore. | ||||
* | _loader.py: Removing arch conditionals | Tristan Van Berkom | 2017-11-05 | 1 | -52/+3 |
| | |||||
* | project.py: Removing arches | Tristan Van Berkom | 2017-11-05 | 1 | -10/+0 |
| | |||||
* | context.py: Removing arches | Tristan Van Berkom | 2017-11-05 | 1 | -11/+2 |
| | |||||
* | tests/sources/git.py: Converted to use newer CLI fixtures | Tristan Van Berkom | 2017-11-05 | 5 | -373/+63 |
| | |||||
* | testutils: Added optional subdir parameter to repo creation | Tristan Van Berkom | 2017-11-05 | 5 | -10/+25 |
| | | | | In case a test wants to create more than one repo. | ||||
* | tests/sources/patch.py: Converted to use CLI fixtures | Tristan Van Berkom | 2017-11-04 | 8 | -103/+82 |
| | |||||
* | tests/sources/local.py: Removed some more unneeded steps in the test | Tristan Van Berkom | 2017-11-04 | 1 | -10/+2 |
| | |||||
* | tests/sources/local.py: Remove one line of deadcode | Tristan Van Berkom | 2017-11-04 | 1 | -1/+0 |
| | |||||
* | Add tests for multiple targets | Tristan Maat | 2017-11-04 | 15 | -0/+103 |
| | |||||
* | Adjust tests to new API | Tristan Maat | 2017-11-04 | 8 | -74/+74 |
| | |||||
* | main.py: Make CLI wording for elements consistent | Tristan Maat | 2017-11-04 | 1 | -29/+30 |
| | |||||
* | Stop using pipeline.target for UI widgets | Tristan Maat | 2017-11-04 | 2 | -3/+3 |
| | |||||
* | Adjust commands to multiple targets | Tristan Maat | 2017-11-04 | 2 | -54/+67 |
| | |||||
* | _pipeline.py: Misc adjustments to multiple targets | Tristan Maat | 2017-11-04 | 1 | -7/+22 |
| | |||||
* | _pipeline.py: Fix metaelement resolution | Tristan Maat | 2017-11-04 | 1 | -9/+7 |
| | |||||
* | _pipeline.py: Adjust to new loader API | Tristan Maat | 2017-11-04 | 1 | -5/+6 |
| | |||||
* | _loader.py: Adjust the loader to support multiple targets | Tristan Maat | 2017-11-04 | 1 | -20/+31 |
| | |||||
* | _pipeline.py: Adjust Planner.plan to multiple targets | Tristan Maat | 2017-11-04 | 1 | -3/+3 |
| | |||||
* | tests/sources/local.py: Migrated test to use frontend fixtures | Tristan Van Berkom | 2017-11-04 | 3 | -40/+45 |
| | |||||
* | plugins/sources/tar.py: Ignore leading ./ in tarball paths | Tristan Van Berkom | 2017-11-03 | 1 | -9/+18 |
| | | | | | | | This makes buildstream behave the same way with tarballs which were encoded with a leading `.` and those encoded without one. This fixes issue #145 | ||||
* | tests/sources/tar.py: Converted tar test to use the CLI and enhanced | Tristan Van Berkom | 2017-11-03 | 14 | -107/+134 |
| | | | | | | Now test to also ensure that base-dir expressions always behave the same way regardless of whether the tarball was created with a leading '.' or not. | ||||
* | doc/source/pluginindex.rst: Added zip source to the plugins index | Tristan Van Berkom | 2017-11-03 | 1 | -0/+1 |
| | |||||
* | Add a new zip sourcezip | Mathieu Bridon | 2017-11-03 | 9 | -1/+205 |
| | | | | This is equivalent to the tar source, but for Zip archives. | ||||
* | tar: Move most of the code to a new base class | Mathieu Bridon | 2017-11-03 | 2 | -91/+114 |
| | | | | | | | | | | | The new DownloadableFileSource will be used as a base for all sources which just download a file to use as source. The existing TarSource just keeps the code responsible to manage a Tar archive. This will help implemeting other types of single file downloaded sources, for example Zip archives. |