Closed joachifm closed 7 years ago
I've never done manual Hackage uploads. Is there a recommended process?
I've never had occasion to do this either. Seems like something which should be a one-click operation, but it appears to be a bit more complicated than that. See this post by one of the Haddock maintainers. Neil Mitchel has a script to automate the process (one of many such scripts, it seems ...). I have no idea whether these posts still reflect current best practice.
Anyway, this is just something that would be nice to have and that I thought would be a quick fix, no need to expend too much time on it.
Great! I'll take a look this weekend!
— Sent from Mailbox
On Tue, Mar 17, 2015 at 6:05 PM, joachifm notifications@github.com wrote:
I've never had occasion to do this either. Seems like something which should be a one-click operation, but it appears to be a bit more complicated than that. See this post by one of the Haddock maintainers. Neil Mitchel has [a script] to automate the process (one of many such scripts, it seems ...). I have no idea whether these posts still reflect current best practice. Anyway, this is just something that would be nice to have and that I thought would be a quick fix, no need to expend too much time on it.
[a script]: http://neilmitchell.blogspot.ca/2014/10/fixing-haddock-docs-on-hackage.html
Reply to this email directly or view it on GitHub: https://github.com/tel/saltine/issues/21#issuecomment-82616966
Using this script worked for me: https://gist.github.com/Fuuzetsu/8276421
hackagedocs saltine 0.0.0.3 username password
Taken from this blog post by Fūzetsu.
Incidentally this was resolved yesterday.
Hackage cannot build the package, so manually uploading the haddocks is necessary. Not essential, I suppose, but nice nonetheless and lowers the barrier to entry, IMO.