Patch 2219 fetchAndUnpackPatches: fetch inventories... (and 1 more)

Title fetchAndUnpackPatches: fetch inventories... (and 1 more)
Superseder Nosy List bf
Related Issues
Status needs-review Assigned To

Created on 2021-11-05.12:53:44 by bf, last changed 2021-11-05.12:54:45 by bf.

File name Status Uploaded Type Edit Remove
fetchandunpackpatches_-fetch-inventories_-too_-pass-valid-hashes_-not-string.dpatch bf, 2021-11-05.12:53:44 application/x-darcs-patch
patch-preview.txt bf, 2021-11-05.12:53:43 text/x-darcs-patch
See mailing list archives for discussion on individual patches.
msg22922 (view) Author: bf Date: 2021-11-05.12:53:44
2 patches for repository http://darcs.net/screened:

patch 5ef1adeaae136b1700d12ad830cf6e3bb88992ab
Author: Ben Franksen <ben.franksen@online.de>
Date:   Sat Jul 17 10:40:10 CEST 2021
  * fetchAndUnpackPatches: fetch inventories, too, pass valid hashes, not String

  When we unpack patches and inventories from the pack, we previously fetched
  the necessary patches in parallel, for guaranteed completeness. We now do
  the same for inventories, so that when the remote repo has been tagged after
  the last time packs were updated, we still get the repo in its most
  efficient form. This requires passing the inventory hashes as well as the
  patch hashes. To improve type safety and efficiency we now pass lists of
  InventoryHash and PatchHash instead of String, which avoids encoding and
  then decoding and the extra failure mode due to these conversions.

patch 7dd7db5ef6f7ab13b99c01c6a3d80788700859d7
Author: Ben Franksen <ben.franksen@online.de>
Date:   Mon Mar 15 17:24:32 CET 2021
  * use withRepoDir in createPacks

  This simplifies its use in darcsden.
Date User Action Args
2021-11-05 12:53:44bfcreate
2021-11-05 12:54:45bfsetstatus: needs-screening -> needs-review