patch applied (hackage-server): "Fix bug in Core.State.mergePkg"

9 Aug
2013
9 Aug
'13
10:44 a.m.
Fri Aug 9 15:41:14 BST 2013 edsko@well-typed.com * Fix bug in Core.State.mergePkg Ignore-this: d28cb3e4bc86cfe480f16fc1ca1e84b5 There were a number of bugs in this function: - pkgUploadData of the package was not set at all - Sorting was incorrect - It incorrectly combined pkgData from the new package with pkgUploadData from the old This bug materialized as a roundtrip error for the backup of the core feature because it violated a database invariant (that the most recent cabal file was in pkgData, rather than in pkgDataOld). M ./Distribution/Server/Features/Core/State.hs -8 +16
4304
Age (days ago)
4304
Last active (days ago)
0 comments
1 participants
participants (1)
-
devnull@community.haskell.org