patch applied (hackage-server): "Factor out common PackageContents/PackageCandidates code"