soc progress 6

First for the last week’s TODO: endianity conversion and magic word in index are now done. Other than that, I have been working on testing of hashed-storage, and I am happy to announce that I now have a working Arbitrary Tree instance and a bunch of QC properties, and also that the unit tests now also run outside of a darcs checkout of hashed-storage. A few still need a “darcs” binary present on the system, but I’ll fix that in a bit (this just comprises storing the relevant darcs outputs in the test data).

I have also fixed a stupid bug in hashed-storage that caused issues with darcs whatsnew in 2.3 beta 1 involving subtree queries of 2nd-level or deeper subdirectories. Together with the index upgrade functionality, this is now part of 0.3.4 release of hashed-storage.

In other news, I have fixed a bug in mmap that caused current darcs-hs to fail tests. While at it, I also improved error messages in mmap. Thanks to Gracjan’s prompt response, mmap-0.3 including my changes is now available through Hackage.

Nothing much else, not so much an exciting week, but a few things have solidified and darcs 2.3 is starting to look good.

The summary of hashed-storage changes for the week:

and for darcs-hs: