darcs

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

Title fetchAndUnpackPatches: fetch inventories... (and 1 more)
Superseder Nosy List bfrk
Related Issues
Status accepted Assigned To
Milestone

Created on 2021-11-05.12:53:44 by bfrk, last changed 2023-03-27.08:04:54 by ganesh.

Files
File name Status Uploaded Type Edit Remove
fetchandunpackpatches_-fetch-inventories_-too_-pass-valid-hashes_-not-string.dpatch bfrk, 2021-11-05.12:53:44 application/x-darcs-patch
patch-preview.txt bfrk, 2021-11-05.12:53:43 text/x-darcs-patch
See mailing list archives for discussion on individual patches.
Messages
msg22922 (view) Author: bfrk 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.
Attachments
msg23189 (view) Author: ganesh Date: 2023-03-26.21:59:34
Both OK
History
Date User Action Args
2021-11-05 12:53:44bfrkcreate
2021-11-05 12:54:45bfrksetstatus: needs-screening -> needs-review
2023-03-26 21:59:34ganeshsetstatus: needs-review -> accepted
messages: + msg23189
2023-03-26 22:01:21ganeshsetstatus: accepted -> accepted-pending-tests
2023-03-27 08:04:54ganeshsetstatus: accepted-pending-tests -> accepted