Commits on Source (2)
-
Raoul Hidalgo Charman authored
ArtifactCache now derives from BaseCache, and so will the SourceCache. Methods relevant to both have been moved here, such as generating specs from the config. WIP Part of #440
-
Raoul Hidalgo Charman authored
This introduced the source cache which is used in sources to avoid full staging and will allow fetching of sources from a configured remote CAS. Part of #440
Showing
- buildstream/_artifactcache.py 10 additions, 194 deletionsbuildstream/_artifactcache.py
- buildstream/_basecache.py 234 additions, 0 deletionsbuildstream/_basecache.py
- buildstream/_cas/cascache.py 3 additions, 3 deletionsbuildstream/_cas/cascache.py
- buildstream/_context.py 16 additions, 0 deletionsbuildstream/_context.py
- buildstream/_exceptions.py 9 additions, 0 deletionsbuildstream/_exceptions.py
- buildstream/_project.py 6 additions, 1 deletionbuildstream/_project.py
- buildstream/_scheduler/queues/fetchqueue.py 2 additions, 2 deletionsbuildstream/_scheduler/queues/fetchqueue.py
- buildstream/_sourcecache.py 73 additions, 0 deletionsbuildstream/_sourcecache.py
- buildstream/element.py 11 additions, 4 deletionsbuildstream/element.py
- buildstream/source.py 26 additions, 4 deletionsbuildstream/source.py
- buildstream/types.py 7 additions, 0 deletionsbuildstream/types.py
- tests/artifactcache/config.py 2 additions, 2 deletionstests/artifactcache/config.py
- tests/sourcecache/__init__.py 0 additions, 0 deletionstests/sourcecache/__init__.py
- tests/sourcecache/config.py 57 additions, 0 deletionstests/sourcecache/config.py
- tests/sourcecache/consistency.py 76 additions, 0 deletionstests/sourcecache/consistency.py
- tests/sourcecache/missing-certs/certificates/client.crt 0 additions, 0 deletionstests/sourcecache/missing-certs/certificates/client.crt
- tests/sourcecache/missing-certs/certificates/client.key 0 additions, 0 deletionstests/sourcecache/missing-certs/certificates/client.key
- tests/sourcecache/missing-certs/element.bst 1 addition, 0 deletionstests/sourcecache/missing-certs/element.bst
- tests/sourcecache/project/elements/compose-all.bst 12 additions, 0 deletionstests/sourcecache/project/elements/compose-all.bst
- tests/sourcecache/project/elements/import-bin.bst 4 additions, 0 deletionstests/sourcecache/project/elements/import-bin.bst
buildstream/_basecache.py
0 → 100644
buildstream/_sourcecache.py
0 → 100644
tests/sourcecache/__init__.py
0 → 100644
tests/sourcecache/config.py
0 → 100644
tests/sourcecache/consistency.py
0 → 100644
tests/sourcecache/missing-certs/element.bst
0 → 100644