Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yesod-core-1.2.17: Fix Haddock on Hackage #775

Closed
spl opened this issue Jul 16, 2014 · 9 comments
Closed

yesod-core-1.2.17: Fix Haddock on Hackage #775

spl opened this issue Jul 16, 2014 · 9 comments

Comments

@spl
Copy link

spl commented Jul 16, 2014

No documentation on Hackage means that (at least):

  • links from other packages such as yesod don't work and
  • Hayoo doesn't index the names.

Is it possible to upload a minor version fix to this?

@spl spl changed the title yesod-core: Fix Haddock on Hackage yesod-core-1.2.17: Fix Haddock on Hackage Jul 16, 2014
@spl
Copy link
Author

spl commented Jul 18, 2014

Also yesod-static 1.2.2.5, 1.2.3, and 1.2.4.

@snoyberg
Copy link
Member

Following this comment, I just tried the following:

curl -X DELETE http://MichaelSnoyman:mypassword@hackage.haskell.org/package/yesod-static-1.2.4/docs

Hopefully that will resolve the issue.

@spl
Copy link
Author

spl commented Jul 21, 2014

Do you think it's a problem with Hackage itself?

Also, there's this.

@snoyberg
Copy link
Member

It's usually a safe assumption that it's a problem with Hackage.

Is that link for instructions on uploading my own copy of the docs? I'm not opposed to that.

@spl
Copy link
Author

spl commented Jul 21, 2014

It's usually a safe assumption that it's a problem with Hackage.

Ah, didn't know Hackage was having so much trouble these days. It used to be a safe assumption that the package was doing something different, e.g. with TH or whatever.

Is that link for instructions on uploading my own copy of the docs?

Yes, it's from a thread with other people having trouble with Hackage building the docs. Earlier in the thread Erik Hesselink said the DELETE didn't do the job for him. I haven't tried any of these myself, so I don't know how successful each approach is.

@snoyberg
Copy link
Member

I was just being facetious, Hackage isn't usually that bad. I'll give one of those approaches a shot now.

@spl
Copy link
Author

spl commented Jul 21, 2014

Okay, missed that. 😄

@snoyberg
Copy link
Member

Turns out the problem was with building aeson:

http://hackage.haskell.org/package/yesod-core-1.2.17/reports/1/log

I used the script at https://gist.github.com/Fuuzetsu/8276421, which seems to be working pretty well. The docs should now all be working.

@spl
Copy link
Author

spl commented Jul 21, 2014

Great! Thanks so much, @snoyberg.

@spl spl closed this as completed Jul 21, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants