-
22684ba7
by Chandan Singh
at 2019-01-09T18:35:05Z
Rename "tools" directory to "requirements"
This seems like a better name for the directory, as it more closely
describes the purpose of its contents.
-
d0eefa13
by Chandan Singh
at 2019-01-09T18:35:05Z
Add Makefile to update requirements files
-
e4501ec3
by Chandan Singh
at 2019-01-09T18:35:05Z
CONTRIBUTING.rst: Add instructions to update requirements files
Split the "The MANIFEST.in and setup.py" section in two:
"Managing data files" and "Updating BuildStream's Python dependencies".
Briefly explain the layout of `requirements` directory and add
instructions to use the Makefile added in the last commit.
-
e70aa983
by Chandan Singh
at 2019-01-09T18:35:05Z
.gitlab-ci.yml: Remove prepare stage
As we now run tests using `tox`, we don't need to worry about manually
packing and unpacking BuildStream. So, we can remove the preapre stage
entirely.
Update `coverage` and nightly jobs to appropriately cope with this
change. Both these jobs now install all runtime dependencies from
requirements files.
-
e982f2e8
by Jürg Billeter
at 2019-01-09T18:35:05Z
_frontend/app.py: Use buildtree for interactive shell on build failure
Fixes: e29aea36 ("Basic options for shell --build to use buildtrees")
-
6d47baff
by Raoul Hidalgo Charman
at 2019-01-10T09:35:38Z
_cas: Rename artifactcache folder and move that to a root module
Other components will start to reply on cas modules, and not the artifact cache
modules so it should be organized to reflect this.
All relevant imports have been changed.
Part #802
-
d25c5764
by Raoul Hidalgo Charman
at 2019-01-10T09:42:32Z
casremote.py: Move remote CAS classes into its own file
Part of #802
-
4a0f9e82
by Raoul Hidalgo Charman
at 2019-01-10T09:42:34Z
cas: move remote only functions to CASRemote
List of methods moved
* Initialization check: made it a class method that is run in a subprocess, for
when checking in the main buildstream process.
* fetch_blobs
* send_blobs
* verify_digest_on_remote
* push_method
Part of #802
-
a7a8fd87
by Raoul Hidalgo Charman
at 2019-01-10T10:01:31Z
artifactcache: Add tmpdir passed to CASRemote
This is a temporary directory within artifact cache.
Part of #802
-
9996b645
by Raoul Hidalgo Charman
at 2019-01-10T10:05:28Z
artifactcache: Move pull logic into CASRemote
Seperates the pull logic into a remote/local API, so that artifact cache
iterates over blob digests checks whether it has them, and then requests them
if not. The request command allows batching of blobs where appropriate.
Tests have been updated to ensure the correct tmpdir is set up in process
wrappers, else invalid cross link errors happen in the CI. Additional asserts
have been added to check that the temporary directories are cleared by the end
of a pull.
Part of #802
-
fcf2a1a2
by Raoul Hidalgo Charman
at 2019-01-10T10:05:28Z
artifactcache: implement new push methods
Similar to the pull methods, this implements a yield_directory_digests methods
that iterates over blobs in the local CAS, with the upload_blob sending blobs
to a remote and batching them where appropriate.
Part of #802