Re: Hackers hacking on hackage: introductions

Hi all, After Duncan's mail I figured I should say hello and mention what I'm keen to work on etc... I'm planning on splitting my free-Haskell work about 50/50 between my side projects and doing pretty much anything in the Hacakge / Cabal space. That might only end up being 4-8 hours a week, but every little bit helps, right? I'm currently an approximation to an intermediate Haskell programmer and am steadily converging, so if anyone wants a minion for any work they have planned feel free to drop me a line. My current thinking is that unless someone snags me for minion-work I'll start on some of the backup / restore work mentioned in the TODO file, hopefully sometime in the next week or so. Is there some kind of test plan or general level of testing that's hoped for? Should I add Arbitrary instances for the data being backed up so we can use QuickCheck to test that (more or less) backup . restore = id? Cheers, Dave

Hi David,
On 11 October 2011 07:02, David Laing
Is there some kind of test plan or general level of testing that's hoped for? Should I add Arbitrary instances for the data being backed up so we can use QuickCheck to test that (more or less) backup . restore = id?
I *think* this is what Duncan had in mind. I just added support for backing up download counts, and fixed some small bugs in other parts of the backup/restore system. I have not attempted to write any test code. I would do more but I don't want to clash with your work - have you found time to do anything so far? Cheers, Max

On 17 October 2011 13:29, Max Bolingbroke
I *think* this is what Duncan had in mind.
I spoke to him on IRC today and found that he actually had something different in mind, which I've implemented as the "hackage-server test-backup" command. This approach doesn't generate any arbitrary data at all - it just tests that it is possible to roundtrip the *current* server's data through a tarball. Generation of arbitrary data to stress-test the roundtripping functionality could be an interesting project, though, I guess. Max

Hi Max,
I just added support for backing up download counts, and fixed some small bugs in other parts of the backup/restore system. I have not attempted to write any test code. I would do more but I don't want to clash with your work - have you found time to do anything so far?
I've just been reading code so far while waiting for various employer-related forms to go through (basically making sure that work can't claim any cabal/hackage work I do as theirs). So don't let me stop you doing anything. I think I'll start with generating arbitrary data for the backup/restore system, just in order to come up to speed with the relevant code, and then continue from there. Cheers, Dave
participants (2)
-
David Laing
-
Max Bolingbroke