summaryrefslogtreecommitdiff
path: root/buildstream/_platform
Commit message (Collapse)AuthorAgeFilesLines
* Make Project owner of Loader.Valentin David2018-08-023-6/+5
|
* _platform: Use CAS artifact cacheJürg Billeter2018-07-172-4/+4
|
* Remove shebangs from python filesGökçen Nurlu2018-06-194-4/+0
| | | | Fixes #424
* Replace bwrap checks with calls to check_bwrap_versionmilloni2018-05-071-18/+2
| | | | See: #373
* _platform/linux.py: Fix fallout from context private symbols refactorTristan Van Berkom2018-04-051-1/+1
| | | | | | | | This was still calling an outdated version of Context._message(), which is now Context.message(), causing stack traces on platforms without support for user namespaces. This was fallout from commit 500f4f330fde8b6001a2f8d8921bd5b8acb79960
* _platform package: Adhere to policy on private symbolsTristan Van Berkom2018-04-052-22/+22
| | | | This is a part of issue #285
* sandbox/_sandboxbwrap.py: Use --die-with-parentJürg Billeter2018-02-241-0/+21
| | | | | | | This ensures subprocesses are cleaned up when the bwrap parent dies. This is available since bubblewrap 0.1.8. We skip the option if the host bwrap does not support it.
* _artifactcache/ostreecache.py: Make enable_push a keyword argumentJürg Billeter2018-02-241-1/+1
| | | | Boolean positional arguments can be confusing.
* _artifactcache: Use project-specific remotes for subprojectsJürg Billeter2018-02-082-2/+2
|
* Remove unused importsGökçen Nurlu2017-12-073-9/+3
|
* Refactor, remove some unused imports138-aborting-bst-push-command-causes-stack-traceAngelos Evripiotis2017-11-131-2/+0
| | | | | | | When reading element.py, I was surprised that it was importing 'inspect'. Remove that import and some other unused ones to improve readability.
* Refactoring: Move exceptions module to be privateTristan Van Berkom2017-11-063-3/+3
| | | | Hide all of buildstream's internal exceptions from the API surface.
* Clean old Platform.get_platform referencesTristan Maat2017-11-011-1/+1
|
* Make the platform object a singletonTristan Maat2017-11-011-3/+9
|
* _platform/linux.py: Add preflight check to detect user namespacesTristan Van Berkom2017-10-311-1/+40
| | | | | | | | | | | | Here we check if `bwrap --ro-bind / / --unshare-user --uid 0 --gid 0 whoami` returns successfully and prints 'root', to check if we are indeed capable of creating user namespaces on the host. If we are unable, then we save that state in the platform allowing buildstream to behave differently, and print an informative startup warning about this. This fixes issue #92
* _platform/platform.py: Removing executable permissionTristan Van Berkom2017-10-221-0/+0
|
* Add platform factoriesTristan Maat2017-09-284-0/+205