Commits on Source (14)
-
Jürg Billeter authored
Get the artifact cache from the context instead.
-
Jürg Billeter authored
-
Jürg Billeter authored
-
Jürg Billeter authored
-
Jürg Billeter authored
-
Jürg Billeter authored
The artifact cache backend does not affect build outputs and we anyway no longer have pluggable artifact cache backends. This hardcodes CASCache instead of removing the entry completely to avoid cache key changes.
-
Jürg Billeter authored
This changes CASCache from a subclass to a delegate object of ArtifactCache. As the lower layer, CASCache no longer deals with elements or projects. Fixes #659.
-
Jürg Billeter authored
Split up artifact cache and CAS cache Closes #659 See merge request !922
-
-
-
richardmaw-codethink authored
Fix issue with _pretty_size with large numbers of bytes See merge request !799
-
Jim MacArthur authored
Replaces the custom one which was erroneously added during development. Fixes #746.
-
Jim MacArthur authored
_sandboxremote.py: Use the standard SandboxError Closes #746 See merge request !931
-
Jim MacArthur authored
There are arguments for and against using onerror - see issue #735 for details.
Showing
- buildstream/_artifactcache/artifactcache.py 286 additions, 60 deletionsbuildstream/_artifactcache/artifactcache.py
- buildstream/_artifactcache/cascache.py 224 additions, 313 deletionsbuildstream/_artifactcache/cascache.py
- buildstream/_artifactcache/casserver.py 9 additions, 11 deletionsbuildstream/_artifactcache/casserver.py
- buildstream/_context.py 1 addition, 2 deletionsbuildstream/_context.py
- buildstream/_elementfactory.py 2 additions, 3 deletionsbuildstream/_elementfactory.py
- buildstream/_exceptions.py 10 additions, 0 deletionsbuildstream/_exceptions.py
- buildstream/_loader/loader.py 1 addition, 1 deletionbuildstream/_loader/loader.py
- buildstream/_pipeline.py 1 addition, 1 deletionbuildstream/_pipeline.py
- buildstream/_project.py 5 additions, 7 deletionsbuildstream/_project.py
- buildstream/element.py 10 additions, 18 deletionsbuildstream/element.py
- buildstream/sandbox/_sandboxremote.py 1 addition, 4 deletionsbuildstream/sandbox/_sandboxremote.py
- buildstream/storage/_casbaseddirectory.py 1 addition, 1 deletionbuildstream/storage/_casbaseddirectory.py
- buildstream/utils.py 4 additions, 3 deletionsbuildstream/utils.py
- tests/artifactcache/pull.py 12 additions, 10 deletionstests/artifactcache/pull.py
- tests/artifactcache/push.py 10 additions, 9 deletionstests/artifactcache/push.py
- tests/testutils/artifactshare.py 3 additions, 3 deletionstests/testutils/artifactshare.py
- tests/testutils/mock_os.py 44 additions, 0 deletionstests/testutils/mock_os.py
- tests/utils/misc.py 30 additions, 0 deletionstests/utils/misc.py
This diff is collapsed.
tests/testutils/mock_os.py
0 → 100644
tests/utils/misc.py
0 → 100644