-
- Downloads
Don't pull artifact buildtrees by default.
The addition of cached buildtrees being included in element artifacts has led to mostly redundant download overheads when pulling from a remote artifact server. As such the default behaviour of pull shouldn't fetch the buildtree object if available. _stream.py: propagate if pullbuildtrees has been set via cli or user config to the PullQueue. pullqueue.py: add extensible attributes to determine required/ excluded directories for element pull jobs. element.py: extend relevant pull logic for specified subdir consideration and ensure push logic does not lead to partial artifact pushes. _artifactcache/: artifactcache.py & cascache.py inclusion of helper functions for subdir artifact checking & fetching, fetch logic extended to only pull required artifact directories. extract & checkout updated to handle full/partial operation tests/: integration test pullbuildtrees.py & fix for testutils/ artifactshare.py pathing.
Showing
- NEWS 11 additions, 0 deletionsNEWS
- buildstream/_artifactcache/artifactcache.py 21 additions, 2 deletionsbuildstream/_artifactcache/artifactcache.py
- buildstream/_artifactcache/cascache.py 49 additions, 13 deletionsbuildstream/_artifactcache/cascache.py
- buildstream/_scheduler/queues/pullqueue.py 13 additions, 2 deletionsbuildstream/_scheduler/queues/pullqueue.py
- buildstream/_stream.py 10 additions, 2 deletionsbuildstream/_stream.py
- buildstream/element.py 33 additions, 15 deletionsbuildstream/element.py
- tests/integration/pullbuildtrees.py 114 additions, 0 deletionstests/integration/pullbuildtrees.py
- tests/testutils/artifactshare.py 1 addition, 1 deletiontests/testutils/artifactshare.py
Loading
Please register or sign in to comment