Commits on Source (7)
-
Jonathan Maw authored
-
Jonathan Maw authored
-
Jonathan Maw authored
Since junction check-outs are now persistent, there is no need to clean up temporary directories once finished. Now, junction checkouts are stored within the top-level project dir and will be cleaned-up when that directory is removed. This involves changes in: * loader.py: Remove cleanup logic and passing-around of tmpdir. * _project.py: Remove passing around tmpdir and calling loader's cleanup.
-
Jonathan Maw authored
Stage junctions into .bst instead of a tmpdir Closes #895 See merge request !1134
-
This was broken by 5ef19a0b.
-
Valentin David authored
buildstream/_cas/cascache.py: Set 0644 rights to pulled files See merge request !1144
-
Valentin David authored
If we introduce an exact same object with execution rights as existing file without execution right, we should not expect that the files suddenly get execution rights. This breaks reproducibility and it is easy to encounter. For example install an empty file with execution rights. Or copy files from another artifact and `chmod +x` it.
Showing
- buildstream/_cas/cascache.py 59 additions, 37 deletionsbuildstream/_cas/cascache.py
- buildstream/_cas/casremote.py 7 additions, 2 deletionsbuildstream/_cas/casremote.py
- buildstream/_cas/casserver.py 1 addition, 1 deletionbuildstream/_cas/casserver.py
- buildstream/_loader/loader.py 13 additions, 37 deletionsbuildstream/_loader/loader.py
- buildstream/_project.py 4 additions, 7 deletionsbuildstream/_project.py
- tests/frontend/buildcheckout.py 33 additions, 0 deletionstests/frontend/buildcheckout.py
- tests/frontend/pull.py 72 additions, 0 deletionstests/frontend/pull.py
- tests/testutils/artifactshare.py 1 addition, 1 deletiontests/testutils/artifactshare.py