[Haskell-cafe] Restarting doc build on hackage

Chris Wong lambda.fairy at gmail.com
Fri Jul 4 09:00:32 UTC 2014


Hi Erik,

I'm not sure how hackage.haskell.org is set up, but I do know the doc
builder keeps a private blacklist of failed packages.

If the docs don't appear within a few days, that might be the reason.

Chris

On Fri, Jul 4, 2014 at 8:49 PM, Erik Hesselink <hesselink at gmail.com> wrote:
> I did this yesterday, and there has not been a rebuild yet, so I'm
> guessing something is still wrong. The package in question is [1]. As
> you can see [2] there is only one build report, from the initial
> upload. Here's the curl command I did:
>
> $ curl -X DELETE
> http://hackage.haskell.org/package/rest-core-0.31.1/docs -u
> ErikHesselink -v
> Enter host password for user 'ErikHesselink':
> * Adding handle: conn: 0x7fb14180aa00
> * Adding handle: send: 0
> * Adding handle: recv: 0
> * Curl_addHandleToPipeline: length: 1
> * - Conn 0 (0x7fb14180aa00) send_pipe: 1, recv_pipe: 0
> * About to connect() to hackage.haskell.org port 80 (#0)
> *   Trying 88.198.224.242...
> * Connected to hackage.haskell.org (88.198.224.242) port 80 (#0)
> * Server auth using Basic with user 'ErikHesselink'
>> DELETE /package/rest-core-0.31.1/docs HTTP/1.1
>> Authorization: Basic blah
>> User-Agent: curl/7.30.0
>> Host: hackage.haskell.org
>> Accept: */*
>>
> < HTTP/1.1 204 No Content
> * Server nginx/1.6.0 is not blacklisted
> < Server: nginx/1.6.0
> < Date: Thu, 03 Jul 2014 17:51:14 GMT
> < Content-Type: text/plain
> < Connection: keep-alive
> <
> * Connection #0 to host hackage.haskell.org left intact
>
> Any ideas?
>
> Erik
>
> [1] http://hackage.haskell.org/package/rest-core-0.31.1
> [2] http://hackage.haskell.org/package/rest-core-0.31.1/reports/
>
> On Thu, Jul 3, 2014 at 4:32 PM, Erik Hesselink <hesselink at gmail.com> wrote:
>> I tried that, but I got a 404, and gave up. I just tried again, and of
>> course you have to do it on a specific version. For future reference:
>>
>> curl -X DELETE http://hackage.haskell.org/<pkg-name>-<version>/docs -u
>> <hackage-user>
>>
>> Thanks, it seems to have done something now!
>>
>> Erik
>>
>> On Thu, Jul 3, 2014 at 4:29 PM, Carter Schonwald
>> <carter.schonwald at gmail.com> wrote:
>>> Use the rest API to delete the current docs. That will reschedule a doc
>>> build.
>>>
>>>
>>> On Thursday, July 3, 2014, Erik Hesselink <hesselink at gmail.com> wrote:
>>>>
>>>> Hi cafe,
>>>>
>>>> Does anyone know if there is a way to restart a documentation build on
>>>> hackage? We have a package where the documentation failed to build due
>>>> to a dependency lacking upper bounds. That has recently been fixed
>>>> (using the new in-place cabal file editing feature), and we'd like to
>>>> get documentation for our package now. Is there any way to do this
>>>> (apart from uploading a new version without changes)?
>>>>
>>>> Erik
>>>> _______________________________________________
>>>> Haskell-Cafe mailing list
>>>> Haskell-Cafe at haskell.org
>>>> http://www.haskell.org/mailman/listinfo/haskell-cafe
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe


More information about the Haskell-Cafe mailing list