summaryrefslogtreecommitdiff
path: root/src/buildtool/common/artifact.cpp
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2022-07-07 15:57:06 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2022-07-07 16:46:00 +0200
commitbf159b19daf72627de01987cfbb12461705a5f22 (patch)
treeeaea713cc54297e8a00bfd7b5a0d4331c5323cac /src/buildtool/common/artifact.cpp
parent80c1d95114b46cc396a6b1c6a8bccaab8bf52a97 (diff)
downloadjustbuild-bf159b19daf72627de01987cfbb12461705a5f22.tar.gz
just-mr: more safely create directories
While the just binary itself was carefully created to work correctly in the presence of several instances running simultaneously, the just-mr.py script started as proof-of-concept out of the need to conveniently generate a multi-repository configuration for just. Nevertheless, it is now actually used, so parallel running instances have to be taken seriously. Moreover, we have to ensure that in case of failures, we don't leave the local build root in a state giving a false impression on how an unpacked archive looks like. Both can be avoided by always working on temporary directories and, should a persistent location be needed, only renaming to the final desitantion once everything is set up correclty.
Diffstat (limited to 'src/buildtool/common/artifact.cpp')
0 files changed, 0 insertions, 0 deletions