[Haskell-cafe] ANN: Portackage - a hackage portal

Andrew Seniuk rasfar at gmail.com
Fri Jun 15 22:34:50 CEST 2012


Now all packages, including those without exposed modules, are
included. Also, I've attempted to parse the author lists into JSON
arrays. Due to the free format of many fields in the .cabal package
descriptions, including author list, there are many exceptional cases
where they are ill-parsed, but at least the JSON file is well-formed
and validates at jsonlint.com.

Once more:

JSON Schema:
http://www.fremissant.net/portackage/packages.schema.json.txt

Hopefully compressed JSON data:
http://www.fremissant.net/portackage/packages.php

Raw JSON data in case the compressed doesn't work:
http://www.fremissant.net/portackage/packages.json

The hackage data updated as of yesterday (June 14). Will work on daily
incremental updates from Hackage RSS feed soon.

-Andrew

On Thu, Jun 14, 2012 at 7:05 PM, Andrew Seniuk <rasfar at gmail.com> wrote:
> I discovered http://jsonlint.com/ and got it to validate. :)
>
> On Thu, Jun 14, 2012 at 6:18 PM, Andrew Seniuk <rasfar at gmail.com> wrote:
>> Hi ___,
>>
>> Thank you for your suggestion to provide JSON, which seconds Derek's
>> earlier suggestion. I have anonymised your name since you wrote to me
>> but didn't CC the list. :)
>>
>> As much as I wish the web interface was up to snuff, it is really too
>> slow. While I continue to try to resolve that, there is something like
>> a JSON feed available now. I'm new to these things and may be doing it
>> wrong. Any advice would be appreciated, either in accelerating the web
>> interface or in providing the JSON. I have no idea whether it parses
>> or not.
>>
>> JSON Schema:
>> http://www.fremissant.net/portackage/packages.schema.json.txt
>>
>> Hopefully compressed JSON data:
>> http://www.fremissant.net/portackage/packages.php
>>
>> Raw JSON data in case the compressed doesn't work:
>> http://www.fremissant.net/portackage/packages.json
>>
>> The hackage data updated as of today (June 14).
>>
>> For now this is only the packages which expose modules (i.e. not
>> including binary packages). No particular reason, I just ran out of
>> time this afternoon and thought I'd post what I've got.
>>
>> The fields present in the JSON are those available on the HTML table
>> version. There are several dozen other fields which come up more or
>> less infrequently in the Hackage packages, and they could all be
>> included. The complete list of modules is included (rather than the
>> summary versions used in the HTML table version).
>>
>> A next step would be for the server to incrementally update the JSON
>> data based on the Hackage RSS feed.
>>
>> Kind Regards,
>> Andrew
>>
>> On Wed, Jun 13, 2012 at 7:58 AM, ___ wrote:
>>> Hi Andrew
>>>
>>> Portackage is a great site for browsing packages, but it's really
>>> really slow for filtering per column. What about offering an
>>> additional non-javascript version of the pages -- searching with plain
>>> text in a browser works quite well.
>>>
>>> On 4/30/12, Andrew Seniuk <rasfar at gmail.com> wrote:
>>>> Oops, the three links in summary are:
>>>>
>>>> module tree: http://fremissant.net/portackage/modules.php
>>>> library packages: http://fremissant.net/portackage/portackage.php
>>>> other packages: http://fremissant.net/portackage/binary.php
>>>>
>>>> _______________________________________________
>>>> 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