diff options
author | Chandan Singh <csingh43@bloomberg.net> | 2018-09-18 18:14:06 +0100 |
---|---|---|
committer | Chandan Singh <csingh43@bloomberg.net> | 2018-09-18 18:58:04 +0100 |
commit | 2a3359d31a69a54841d237a14bcaed4aa6ad40e1 (patch) | |
tree | a874a9ebb5067a0a68a0b297a58b5a7ef51020fe /tests/artifactcache/pull.py | |
parent | 3b81d4510656fcff808e4c37e29ac4a2f5e38de6 (diff) | |
download | buildstream-chandan/fix-source-bundle.tar.gz |
_stream.py: Ensure source-bundle's source directory existschandan/fix-source-bundle
Currently, `source-bundle` command is entirely broken as it tries to stage the
sources in a directory that doesn't exist. Fix it by ensuring that we create
the necessary directories before calling any methods that try to use those
directories.
This fix comes with a regression test to ensure that the basic use-case
of `source-bundle` continues to work in future.
Fixes https://gitlab.com/BuildStream/buildstream/issues/651.
Diffstat (limited to 'tests/artifactcache/pull.py')
0 files changed, 0 insertions, 0 deletions