Don't pull artifact buildtrees by default
-
Review changes -
-
Download -
Patches
-
Plain diff
Description
Don't pull artifact buildtrees by default. As buildtrees are now added at caching to element artifacts their size in some cases has significantly increased. When relying on a remote artifact cache to pull this leads to longer fetch times which can be severely worsened depending on the users bandwith. The buildtrees in most cases (especially of depedencies) are not needed when building targets, however there needs to be support for adding buildtrees to artifacts for certain actions. This is discussed further in #494
- Set default pull to not include buildtree artifact dir
- configurable subdir and excluded_subdirs
- Add 'pull-buildtrees' global cache group option for user conf and userconfing.yaml default
- Add --pull-buildtrees flag to bst main options, override user conf default
- Add helper function _fetch_subdir to cascache, to fetch buildtree
or any other subdir digest, also adds a function to check if a cached subdir exists
- Make element._pull_pending not assume no need to process pull if
artifact is cached if buildtrees are set to be pulled. _skip_push updated to not allow
partial pushes
- Ensure cascache.py doesn't try to checkout/extract a dangling ref, whilst
also being able to checkout and extract just the buildtree if the rest of the artifact has
already been extracted from the cache.
- Required test and changes
This merge request, when approved, will partly close issue/bug: #494
Edited by Tom Pollard
Merge request reports
Compare and
- version 66b62016ad
- version 6581f88f67
- version 64fc891f9c
- version 63edc70d05
- version 62bd4a4280
- version 61da3999c9
- version 6038667a63
- version 59e700efae
- version 58a759ad1a
- version 57e7fa8867
- version 56feab13e2
- version 559be71da0
- version 5439c1b9b8
- version 5302980640
- version 52f669f45e
- version 514524c67b
- version 50e560cea2
- version 49b690d1f9
- version 48e0cecdef
- version 474133af84
- version 4682af24a7
- version 453469528b
- version 4459bfab39
- version 43efcfb1a7
- version 4214e25e4a
- version 4152f0c2cf
- version 40a568769f
- version 39c9422747
- version 3836d51b9a
- version 373fcbf286
- version 36b3df2835
- version 35e3ca1018
- version 344793df7b
- version 33c399a836
- version 32239be5f7
- version 31a59071d7
- version 307762bb03
- version 2945b8affa
- version 284ab440b4
- version 27122d7d0b
- version 263601f79f
- version 25b49095ce
- version 243ce66fa4
- version 233c8973af
- version 2223b90ab8
- version 21abef9c11
- version 20961cf705
- version 190a75e0da
- version 18a9c819be
- version 1792285530
- version 1682d7ae42
- version 15d7c188a2
- version 14a0560169
- version 13f8237d2d
- version 1276e07b54
- version 114d64994f
- version 10608ecf68
- version 91162fe7f
- version 8e910cc59
- version 7ea32dacb
- version 6affe04d4
- version 55a1e8f33
- version 43ba8e763
- version 31c0bde4d
- version 2534d9761
- version 1c96d0036
- master (base)
- latest version454dcaf12 commits,
- version 66b62016ad2 commits,
- version 6581f88f672 commits,
- version 64fc891f9c2 commits,
- version 63edc70d052 commits,
- version 62bd4a42802 commits,
- version 61da3999c92 commits,
- version 6038667a632 commits,
- version 59e700efae2 commits,
- version 58a759ad1a2 commits,
- version 57e7fa88672 commits,
- version 56feab13e22 commits,
- version 559be71da02 commits,
- version 5439c1b9b82 commits,
- version 53029806402 commits,
- version 52f669f45e3 commits,
- version 514524c67b3 commits,
- version 50e560cea23 commits,
- version 49b690d1f93 commits,
- version 48e0cecdef3 commits,
- version 474133af843 commits,
- version 4682af24a73 commits,
- version 453469528b3 commits,
- version 4459bfab393 commits,
- version 43efcfb1a73 commits,
- version 4214e25e4a3 commits,
- version 4152f0c2cf3 commits,
- version 40a568769f3 commits,
- version 39c94227474 commits,
- version 3836d51b9a3 commits,
- version 373fcbf2863 commits,
- version 36b3df28353 commits,
- version 35e3ca10183 commits,
- version 344793df7b3 commits,
- version 33c399a8361 commit,
- version 32239be5f71 commit,
- version 31a59071d71 commit,
- version 307762bb031 commit,
- version 2945b8affa1 commit,
- version 284ab440b41 commit,
- version 27122d7d0b1 commit,
- version 263601f79f1 commit,
- version 25b49095ce1 commit,
- version 243ce66fa41 commit,
- version 233c8973af1 commit,
- version 2223b90ab81 commit,
- version 21abef9c111 commit,
- version 20961cf7051 commit,
- version 190a75e0da1 commit,
- version 18a9c819be1 commit,
- version 17922855301 commit,
- version 1682d7ae421 commit,
- version 15d7c188a21 commit,
- version 14a05601691 commit,
- version 13f8237d2d1 commit,
- version 1276e07b541 commit,
- version 114d64994f1 commit,
- version 10608ecf681 commit,
- version 91162fe7f1 commit,
- version 8e910cc591 commit,
- version 7ea32dacb1 commit,
- version 6affe04d41 commit,
- version 55a1e8f331 commit,
- version 43ba8e7631 commit,
- version 31c0bde4d1 commit,
- version 2534d97611 commit,
- version 1c96d00361 commit,
Compare changes
- Side-by-side
- Inline
Files
12Loading