Broken documentation on Hackage.
fuuzetsu at fuuzetsu.co.uk
Sun Jan 5 22:38:14 UTC 2014
On 05/01/14 14:14, Sven Panne wrote:
> My ALUT package is among the ones without documentation, and I have a
> theory what's wrong (probably a missing installed C library/package
> libalut-dev, see
> https://github.com/haskell-openal/ALUT/blob/master/.travis.yml). Two
> * As a package maintainer, how can I find out why the documentation
> is not built/published on Hackage? Logs, etc.?
I mention a link to a GitHub post in my opening post which outlines how
to access the log. In case of ALUT, the build log is at 
http://hackage.haskell.org/package/ALUT-22.214.171.124/reports/1/log and indeed
a C library is missing.
> * Who should be contacted to polish the server a bit (i.e. install
No idea, but I'd love to find out myself! I'm just a disgruntled Hackage
> Currently things are very opaque from the outside, both from a
> technical and from an organizational point of view, and manually
> uploading documentation which is effectively guaranteed to be
> wrong/outdated/etc. sooner or later is not a solution IMHO.
You would be uploading documentation for a specific package version. So
for example, if you upload something for ALUT 126.96.36.199 and later upload
upload ALUT 2.4, either the docs will be built fine (which would be
ideal) or you will have to upload them yourself again for that version.
I agree that this is subpar but I think it's better than nothing. There
should really be a ‘upload documentation’ button on the site or maybe
even a Cabal flag or maybe even ability to bundle documentation in the
package tarball when uploading it, to act as a fallback if package fails
to build. I suppose this is something that has to be discussed. Ideally,
it should just work.
More information about the cabal-devel