Re: [Haskell-cafe] Complete package description list
* Paterson, Ross [2011-12-06 09:09:36+] > Shakthi Kannan writes: > > So, how would I know if there is a new package in it, other than > > having to compare it to the previous snapshot? Does the filename > > (00-index.tar.gz) change? > > The filename doesn't change. You could use the RSS feed or the upload > log (http://hackage.haskell.org/packages/archive/log), both of which are > updated at the same time as the index. You can also try using Last-Modified or ETag information. % curl --head http://hackage.haskell.org/packages/archive/00-index.tar.gz HTTP/1.1 200 OK Date: Tue, 06 Dec 2011 17:41:50 GMT Server: Apache/2.2.9 (Debian) mod_python/3.3.1 Python/2.5.2 Last-Modified: Tue, 06 Dec 2011 16:49:59 GMT ETag: "1888003-352566-4b36f39c81bc0" Accept-Ranges: bytes Content-Length: 3482982 Content-Type: application/x-tar Content-Encoding: x-gzip -- Roman I. Cheplyaka :: http://ro-che.info/ ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Complete package description list
Shakthi Kannan writes: > So, how would I know if there is a new package in it, other than > having to compare it to the previous snapshot? Does the filename > (00-index.tar.gz) change? The filename doesn't change. You could use the RSS feed or the upload log (http://hackage.haskell.org/packages/archive/log), both of which are updated at the same time as the index. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Complete package description list
Hi, --- On Tue, Dec 6, 2011 at 2:15 PM, Paterson, Ross wrote: | It is updated each time a new package is uploaded, and contains the | .cabal files for all available packages. \-- So, how would I know if there is a new package in it, other than having to compare it to the previous snapshot? Does the filename (00-index.tar.gz) change? Thanks for your reply, SK -- Shakthi Kannan http://www.shakthimaan.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] Complete package description list
Shakthi Kannan writes: > How often does the 00-index.tar.gz file from: > > http://hackage.haskell.org/packages/archive/00-index.tar.gz > > get updated? It is updated each time a new package is uploaded, and contains the .cabal files for all available packages. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe