summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Allow checking out artifact metadata with `bst checkout`sam/bst-checkout-metadataSam Thursfield2017-11-063-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 existSam Thursfield2017-11-061-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 documentationTristan Van Berkom2017-11-061-1/+0
|
* refactoring: Made Project option privateTristan Van Berkom2017-11-0620-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-refactorTristan Van Berkom2017-11-061-3/+3
|
* sandbox: Refactoring, moving accidentally public MountMap into it's own fileTristan Van Berkom2017-11-065-112/+135
|
* sandbox/_mounter.py: Added missing copyright headerTristan Van Berkom2017-11-061-0/+20
|
* sandbox/_mount.py: Renamed _mounter.pyTristan Van Berkom2017-11-062-3/+3
| | | | | Disambiguate with the Mount and MountMap classes, which were accidentally added to public API.
* buildelement.py: Fixed doc string link.exceptions-refactorTristan Van Berkom2017-11-061-1/+1
|
* doc/source/formatintro.rst: Fixed duplicate link anchorTristan Van Berkom2017-11-061-1/+1
|
* Refactoring: Renamed _BstError -> BstErrorTristan Van Berkom2017-11-068-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 -> ArtifactErrorTristan Van Berkom2017-11-066-34/+34
| | | | This is now part of the already private _exceptions module
* Refactoring: Move exceptions module to be privateTristan Van Berkom2017-11-0650-109/+118
| | | | Hide all of buildstream's internal exceptions from the API surface.
* Refactoring: Move ElementError and SourceError to their respective classes, ↵Tristan Van Berkom2017-11-066-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 methodTristan Van Berkom2017-11-061-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 dataTristan Van Berkom2017-11-062-8/+0
|
* tests/sources/zip.py: Adding tests for zip source edge casesTristan Van Berkom2017-11-0613-0/+221
|
* tests/sources/fixture.py: Removing the old deprecated fixtureTristan Van Berkom2017-11-061-55/+0
|
* tests/sources/bzr.py: Removing bzr source testTristan Van Berkom2017-11-0613-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 #121Tristan Van Berkom2017-11-063-2/+2
|
* plugins/elements/script.py: Issue #121 - Remove traces of pre-/post- commandsTristan Van Berkom2017-11-061-8/+3
|
* buildelement.py: Issue #121 - Remove traces of pre-/post- commandsTristan Van Berkom2017-11-061-34/+29
|
* Updating all test cases for the removal of architecture conditionals and optionsTristan Van Berkom2017-11-0637-201/+53
|
* _frontend/widget.py: Removing architecture from the reportsTristan Van Berkom2017-11-061-2/+0
|
* _frontend/main.py: Removing arch related optionsTristan Van Berkom2017-11-061-17/+8
| | | | And adding --integrate/--no-integrate option to `bst checkout`
* _pipeline.py: Removing archesTristan Van Berkom2017-11-061-12/+4
| | | | | Also now the integration option to `bst checkout` is explicit, as we dont have knowledge of arches anymore.
* _loader.py: Removing arch conditionalsTristan Van Berkom2017-11-051-52/+3
|
* project.py: Removing archesTristan Van Berkom2017-11-051-10/+0
|
* context.py: Removing archesTristan Van Berkom2017-11-051-11/+2
|
* tests/sources/git.py: Converted to use newer CLI fixturesTristan Van Berkom2017-11-055-373/+63
|
* testutils: Added optional subdir parameter to repo creationTristan Van Berkom2017-11-055-10/+25
| | | | In case a test wants to create more than one repo.
* tests/sources/patch.py: Converted to use CLI fixturesTristan Van Berkom2017-11-048-103/+82
|
* tests/sources/local.py: Removed some more unneeded steps in the testTristan Van Berkom2017-11-041-10/+2
|
* tests/sources/local.py: Remove one line of deadcodeTristan Van Berkom2017-11-041-1/+0
|
* Add tests for multiple targetsTristan Maat2017-11-0415-0/+103
|
* Adjust tests to new APITristan Maat2017-11-048-74/+74
|
* main.py: Make CLI wording for elements consistentTristan Maat2017-11-041-29/+30
|
* Stop using pipeline.target for UI widgetsTristan Maat2017-11-042-3/+3
|
* Adjust commands to multiple targetsTristan Maat2017-11-042-54/+67
|
* _pipeline.py: Misc adjustments to multiple targetsTristan Maat2017-11-041-7/+22
|
* _pipeline.py: Fix metaelement resolutionTristan Maat2017-11-041-9/+7
|
* _pipeline.py: Adjust to new loader APITristan Maat2017-11-041-5/+6
|
* _loader.py: Adjust the loader to support multiple targetsTristan Maat2017-11-041-20/+31
|
* _pipeline.py: Adjust Planner.plan to multiple targetsTristan Maat2017-11-041-3/+3
|
* tests/sources/local.py: Migrated test to use frontend fixturesTristan Van Berkom2017-11-043-40/+45
|
* plugins/sources/tar.py: Ignore leading ./ in tarball pathsTristan Van Berkom2017-11-031-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 enhancedTristan Van Berkom2017-11-0314-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 indexTristan Van Berkom2017-11-031-0/+1
|
* Add a new zip sourcezipMathieu Bridon2017-11-039-1/+205
| | | | This is equivalent to the tar source, but for Zip archives.
* tar: Move most of the code to a new base classMathieu Bridon2017-11-032-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.