Commits on Source (23)
-
Tiago Gomes authored
-
Tiago Gomes authored
We want to check if some file is already cached here, not the parent directory.
-
Tiago Gomes authored
Tristan Maat created the original file, so he is added as the author.
-
Tiago Gomes authored
* Rename it to _commit_directory() because… it is what it does; and also for symmetry with _fetch_directory(). * Rename digest to dir_digest to make it clear this is a digest for a directory. A following commit will also reuse the same variable name * Document method.
-
Tiago Gomes authored
* Rename tree to dir_digest to make it clear this is a Digest object, and not a Tree object. * Add documentation
-
Tiago Gomes authored
-
Tiago Gomes authored
Remove unneeded cruft.
-
Tiago Gomes authored
Bunch of cleanups See merge request !798
-
Tristan Van Berkom authored
Somehow I missed this when originally forking the file from the click library, now noticing that we should have followed what was written in: https://github.com/pallets/click/blob/master/LICENSE
-
-
Since we now set PWD in the environment of builds existing builds may behave differently so must cache differently now.
-
The current directory isn't always in the python module search path, so we have to ensure it is for the script to work. Strictly speaking, the user may already have a modified PYTHONPATH at which point PYTHONPATH=".${PYTHONPATH+:$PYTHONPATH}" is necessary, but it's probably premature to overcomplicate the documentation like that before we discover it's a problem.
-
Tristan Van Berkom authored
Address post-merge review of Ensure PWD is set in process environment See merge request !788
-
Adam Jones authored
-
Adam Jones authored
-
Adam Jones authored
-
Tristan Van Berkom authored
Update contributing guide See merge request !801
-
Tristan Van Berkom authored
This ensures that option expressions are resolved in the project level overrides before attempting to composite them on the instantiated elements. Seems this is a regression from introducing the include directive. This fixes issue #658
-
Tristan Van Berkom authored
This is a regression test for issue #658
-
Tristan Van Berkom authored
Fix override options Closes #658 See merge request !802
-
Daniel Silverstone authored
Since ArtifactCache.setup_remotes() can be expensive and should only happen once, this commit will assert() if it is called a second time on an artifact cache instance. Signed-off-by:
Daniel Silverstone <daniel.silverstone@codethink.co.uk>
-
Daniel Silverstone authored
The initialization of remotes is done by ArtifactCache.setup_remotes() and as such it was wrong for these tests to be calling CASCache.initialize_remotes() a second time. Signed-off-by:
Daniel Silverstone <daniel.silverstone@codethink.co.uk>
-
Daniel Silverstone authored
The SandboxRemote used to construct its own CASCache which was considered dangerous. This patch replaces that with acquisition of the cache via the Platform singleton, hopefully eliminating issues from having more than one artifact cache object in a single process. Signed-off-by:
Daniel Silverstone <daniel.silverstone@codethink.co.uk>
Showing
- CONTRIBUTING.rst 6 additions, 0 deletionsCONTRIBUTING.rst
- MANIFEST.in 1 addition, 1 deletionMANIFEST.in
- buildstream/_artifactcache/artifactcache.py 8 additions, 3 deletionsbuildstream/_artifactcache/artifactcache.py
- buildstream/_artifactcache/cascache.py 39 additions, 11 deletionsbuildstream/_artifactcache/cascache.py
- buildstream/_context.py 0 additions, 1 deletionbuildstream/_context.py
- buildstream/_frontend/complete.py 17 additions, 2 deletionsbuildstream/_frontend/complete.py
- buildstream/_project.py 3 additions, 0 deletionsbuildstream/_project.py
- buildstream/_scheduler/jobs/__init__.py 19 additions, 0 deletionsbuildstream/_scheduler/jobs/__init__.py
- buildstream/_scheduler/jobs/cleanupjob.py 1 addition, 8 deletionsbuildstream/_scheduler/jobs/cleanupjob.py
- buildstream/_scheduler/queues/buildqueue.py 1 addition, 1 deletionbuildstream/_scheduler/queues/buildqueue.py
- buildstream/_scheduler/scheduler.py 2 additions, 3 deletionsbuildstream/_scheduler/scheduler.py
- buildstream/_versions.py 1 addition, 1 deletionbuildstream/_versions.py
- buildstream/sandbox/_sandboxbwrap.py 2 additions, 14 deletionsbuildstream/sandbox/_sandboxbwrap.py
- buildstream/sandbox/_sandboxchroot.py 5 additions, 15 deletionsbuildstream/sandbox/_sandboxchroot.py
- buildstream/sandbox/_sandboxremote.py 2 additions, 2 deletionsbuildstream/sandbox/_sandboxremote.py
- buildstream/sandbox/sandbox.py 22 additions, 4 deletionsbuildstream/sandbox/sandbox.py
- doc/bst2html.py 1 addition, 1 deletiondoc/bst2html.py
- doc/source/CONTRIBUTING.rst 1 addition, 0 deletionsdoc/source/CONTRIBUTING.rst
- doc/source/HACKING.rst 0 additions, 1 deletiondoc/source/HACKING.rst
- doc/source/index.rst 1 addition, 1 deletiondoc/source/index.rst
doc/source/CONTRIBUTING.rst
0 → 120000
doc/source/HACKING.rst
deleted
120000 → 0