diff options
author | Zac Medico <zmedico@gentoo.org> | 2019-04-27 14:59:57 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2019-04-29 19:28:21 -0700 |
commit | ebbde237d33e783c562cc6c70987969ac7228b96 (patch) | |
tree | 199f183f43009bea38ee4e1ce4683372ef64466f /man | |
parent | Deprecate EAPIs 4-slot-abi, 5-hdepend, and 7_pre1 (diff) | |
download | portage-ebbde237d33e783c562cc6c70987969ac7228b96.tar.gz portage-ebbde237d33e783c562cc6c70987969ac7228b96.tar.bz2 portage-ebbde237d33e783c562cc6c70987969ac7228b96.zip |
fetch: atomic downloads (bug 175612)
Direct FETCHCOMMAND/RESUMECOMMAND output to a temporary file with
a constant .__download__ suffix, and atomically rename the file
to remove the suffix only after the download has completed
successfully (includes digest verification when applicable).
Also add unit tests to cover most fetch cases.
Bug: https://bugs.gentoo.org/175612
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'man')
0 files changed, 0 insertions, 0 deletions