[Haskell-cafe] Hackage upload log
Duncan Coutts
duncan.coutts at googlemail.com
Fri Apr 11 13:01:46 UTC 2014
On Fri, 2014-04-11 at 14:32 +0300, Michael Snoyman wrote:
> On Fri, Apr 11, 2014 at 9:02 AM, Michael Snoyman <michael at snoyman.com>wrote:
>
> > There used to be a log of Hackage uploads available at [1], but "it's just
> > not here" anymore. Has that content moved to a different URL? Or is there
> > some new way to get that information? I'd like to know the upload dates of
> > every package. I could definitely screenscrape fro the date on the package
> > listing pages, but I was hoping for something a bit more elegant.
> >
> > [1] http://hackage.haskell.org/packages/archive/log
> >
>
> Just in case anyone else needs something like this, I ended up hacking
> together a quick screen scraper, though it would be nice if this was
> available via an API:
> ...
> withResponse ("http://hackage.haskell.org/package/conduit-1.1.0") $
> ...
It is available directly at:
http://hackage.haskell.org/package/conduit-1.1.0/upload-time
and you may also be interested in
http://hackage.haskell.org/package/conduit-1.1.0/uploader
How would you know this exists? The whole API is automatically (if not
brilliantly) documented:
http://hackage.haskell.org/api
(which itself is mentioned on the front page)
The goal has always been that all the info be publicly available in
human and machine readable formats (at least JSON). There are certainly
things missing, but we'll accept patches that exposes more stuff.
Duncan
More information about the Haskell-Cafe
mailing list