Re: download all of Hackage?

2015-09-15 Thread Kostiantyn Rybnikov
Stack tool has an option of a docker image with everything compiled. I think they claim whole image is 8 or 10 GB, please check (and don't forget that's with GHC and other tools inside). 14 вер. 2015 22:57 "Mike Izbicki" пише: > Does anyone know approximately how much disk space

Re: download all of Hackage?

2015-09-15 Thread Niklas Hambüchen
Thank you, this is exactly what I needed the other day to do a quick survey of language extensions. On 14/09/15 17:19, Alan & Kim Zimmerman wrote: > You could clone https://github.com/bitemyapp/hackage-packages ___ ghc-devs mailing list

download all of Hackage?

2015-09-14 Thread Richard Eisenberg
Hi devs, Is there an easy way to download (but not compile) all of Hackage? I know of the hackager package, but that's about compiling. I just want a whole big load of Haskell code to play with. I thought I could find a link on Hackage to do this, but failed. Thanks! Richard

Re: download all of Hackage?

2015-09-14 Thread Brandon Allbery
On Mon, Sep 14, 2015 at 10:43 AM, Richard Eisenberg wrote: > Is there an easy way to download (but not compile) all of Hackage? I know > of the hackager package, but that's about compiling. I just want a whole > big load of Haskell code to play with. I thought I could find a

Re: download all of Hackage?

2015-09-14 Thread Richard Eisenberg
That's perfect -- thanks! It's already humming away. On Sep 14, 2015, at 11:17 AM, Herbert Valerio Riedel wrote: > for PKG in $(cabal list --simple | awk '{ print $1 }' | uniq); do cabal get > $PKG;done ___ ghc-devs mailing list

Re: download all of Hackage?

2015-09-14 Thread Herbert Valerio Riedel
On 2015-09-14 at 16:43:44 +0200, Richard Eisenberg wrote: > Is there an easy way to download (but not compile) all of Hackage? I > know of the hackager package, but that's about compiling. I just want > a whole big load of Haskell code to play with. I thought I could find > a link on Hackage to do

Re: download all of Hackage?

2015-09-14 Thread Christopher Allen
It's a little out of date, but I've been using that repo I made to do surveys of Haskell code and figure out how frequently things are used. I could really do with a Haskell-source-code-aware grep though. Being able to specify type, data, etc. would be really nice! On Mon, Sep 14, 2015 at 10:19

Re: download all of Hackage?

2015-09-14 Thread Alan & Kim Zimmerman
You will probably not be able to compile everything. If you want a compilable subset, you should probably look at stackage Alan On Mon, Sep 14, 2015 at 9:57 PM, Mike Izbicki wrote: > Does anyone know approximately how much disk space all of hackage > takes up when compiled?

Re: download all of Hackage?

2015-09-14 Thread John Wiegley
> Brandon Allbery writes: > There's hackage-mirror, but I note it says it mirrors to S3. It mirrors into a directory as well: hackage-mirror --from="http://hackage.haskell.org; --to="/some/dir" Further, it can incrementally update very quickly. John

Re: download all of Hackage?

2015-09-14 Thread Mike Izbicki
Does anyone know approximately how much disk space all of hackage takes up when compiled? And about how long it takes to compile everything? On Mon, Sep 14, 2015 at 11:37 AM, John Wiegley wrote: >> Brandon Allbery writes: > >> There's