mirror of http://darcs.net/reviewed (http://darcs.net/Development/GettingStarted)
|bfr||Thu Feb 22 19:14:56 UTC 2018|
|bf||Wed Mar 28 06:08:07 UTC 2018|
|bf||Tue Mar 27 18:22:46 UTC 2018|
|bf||Tue Mar 27 18:15:56 UTC 2018|
This is not a complete fix, as I am still seeing occasional failures ("harness/hstestdata.zip: openBinaryFile: does not exist").
|bfr||Wed Mar 28 17:55:44 UTC 2018|
We use our own temporary directory for each test to avoid spurious differences between outputs of 'darcs diff' due to temporary names being already taken.
|bfr||Wed Mar 28 17:18:40 UTC 2018|
Like with --darcs1 and --darcs2, we build this option into the path where the test is run.
|bfr||Wed Mar 28 17:17:07 UTC 2018|
This allows to run the network tests in parallel.
|bf||Sun Feb 25 23:42:39 UTC 2018|
|bf||Sun Feb 25 23:41:09 UTC 2018|
These functions are only used to read old-fashioned (non-hashed) repos. Concentrating them inside Darcs.Repository.Old (particularly makeFilename) makes it clear that they only exist for compatibility and not to be used elsewhere.
|bf||Sun Oct 22 10:23:24 UTC 2017|
|bf||Sun Feb 25 12:40:58 UTC 2018|
addToSpecificInventory is particularly dangerous, since it doesn't update the witnesses of the repo. Its only use is in addToTentativeInventory which is similarly dangerous and unfortunately is used (in convert import); it now has haddocks which warn about that.
|bf||Tue Mar 27 18:25:21 UTC 2018|
This makes type signatures more helpful and avoids errors when hashes to different kinds of objects are involved. Currently limited to D.R.Hashed and D.R.Inventory and defined in the latter, but it really belongs in D.R.Cache or a separate module.
This is an extension and generalization of the ValidHash type introduced previously. ValidHash is now a type class so we can use the same get/mkValidHash functions for the different hash types.
|bf||Sat Mar 24 20:48:33 UTC 2018|
|bf||Sun Mar 18 22:18:28 UTC 2018|
|bf||Sat Mar 17 13:42:22 UTC 2018|
|bf||Tue Mar 13 13:02:11 UTC 2018|
It seems these are no longer needed.
|bf||Tue Mar 13 09:11:33 UTC 2018|
...and remove the individual OPTIONS_GHC pragmas with the same effect. For an executable,orphan instances are not a serious problem and we use them in quite a lot of places.
|bf||Tue Mar 13 09:02:45 UTC 2018|
|bf||Mon Mar 19 08:18:25 UTC 2018|
For the usual parse/show roundtrip property we need a newtype wrapper for Strings that are valid hashes according to D.R.Cache.okayHash; which is a good idea anyway, so we expose ValidHash as part of the Inventory type.
|bf||Mon Mar 12 23:12:04 UTC 2018|
|bf||Sun Mar 11 11:38:55 UTC 2018|
This is a first step to making the huge D.R.Hashed more modular.
|bf||Sun Mar 11 10:38:15 UTC 2018|
|bf||Sat Mar 10 11:35:51 UTC 2018|
|bf||Sun Mar 11 11:09:26 UTC 2018|
|bf||Sun Mar 11 09:27:09 UTC 2018|
|bf||Sun Mar 11 09:23:26 UTC 2018|
|bf||Sun Mar 11 09:21:22 UTC 2018|
Due to the idiosyncratic format of the PatchInfo on disk (in patch files and inventories), the PatchInfo parser must make certain assumptions regarding the PatchInfo items. These are now codified in validation functions and enforced when building PatchInfo data. They are also used to provide correct Arbitrary instances for property tests.
|bf||Mon Mar 12 21:42:53 UTC 2018|
|gpiero||Mon Jan 8 13:57:34 UTC 2018|
|gh||Thu Mar 29 14:47:33 UTC 2018|