Re: [Haskell-cafe] hoogle command line program on Linux

2011-01-15 Thread Neil Mitchell
Hi Joachim, >> The Hoogle databases are expected to change very rarely - most users >> will install them when they install Hoogle. A small number will update >> them occasionally as the packages update. I'm using the Cabal datadir >> to store the databases, but does Cabal provide a more sensible p

Re: [Haskell-cafe] hoogle command line program on Linux

2011-01-15 Thread Joachim Breitner
Hi, Am Samstag, den 15.01.2011, 13:38 + schrieb Neil Mitchell: > >> Thanks to Erik's help testing preview versions I've now released > >> Hoogle 4.1.4 that sets the file creation mask appropriately. > > > > Shouldn't data like this really go in /var rather than /usr ? To > > quote Wikipedia [

Re: [Haskell-cafe] hoogle command line program on Linux

2011-01-15 Thread Neil Mitchell
>> Thanks to Erik's help testing preview versions I've now released >> Hoogle 4.1.4 that sets the file creation mask appropriately. > > Shouldn't data like this really go in /var rather than /usr ?  To > quote Wikipedia [1]: "/var/: Variable files—files whose content is > expected to continually ch

Re: [Haskell-cafe] hoogle command line program on Linux

2011-01-15 Thread Ivan Lazar Miljenovic
On 15 January 2011 22:53, Neil Mitchell wrote: > On Mon, Jan 10, 2011 at 10:17 PM, Neil Mitchell wrote: If so, I'll make a new release that just changes the file creation mask to the above during hoogle data (and sets it back after). > > Thanks to Erik's help testing preview versio

Re: [Haskell-cafe] hoogle command line program on Linux

2011-01-15 Thread Neil Mitchell
On Mon, Jan 10, 2011 at 10:17 PM, Neil Mitchell wrote: >>> If so, I'll make a new release that just changes the >>> file creation mask to the above during hoogle data (and sets it back >>> after). Thanks to Erik's help testing preview versions I've now released Hoogle 4.1.4 that sets the file cre

Re: [Haskell-cafe] hoogle command line program on Linux

2011-01-10 Thread Neil Mitchell
>> If so, I'll make a new release that just changes the >> file creation mask to the above during hoogle data (and sets it back >> after). > > That makes sense. If you have a darcs repo of the code (or even a > tarball), I can check it before create a package. That would be very useful. I'll try a

Re: [Haskell-cafe] hoogle command line program on Linux

2011-01-10 Thread Erik de Castro Lopo
Neil Mitchell wrote: > Should all files created by hoogle data always have world > read/execute? I'm not sure what the Unix conventions are - would that > be reasonable? The files created by the 'hoogle data' command in /usr/share/hoogle should probably all be world readable. The directories sho

Re: [Haskell-cafe] hoogle command line program on Linux

2011-01-09 Thread Neil Mitchell
Hi Erik, > The next problem is that hoogle installed as a Debian package would > install as root as /usr/bin/hoogle. Then, when I run "hoogle data" it > wants to install the database at /usr/share/hoogle/hoogle-4.1.3/databases > which fails because I'm not running as root. So, to install the datab

Re: [Haskell-cafe] hoogle command line program on Linux

2011-01-09 Thread Erik de Castro Lopo
Neil Mitchell wrote: > Hoogle 4.1.3 is now released, which reads and writes Hoogle input > files in UTF8 throughout. Please let me know if this doesn't fix your > problem. Thanks Neil for the quick response. That definitely has fixed thet problem. The next problem is that hoogle installed as a D

Re: [Haskell-cafe] hoogle command line program on Linux

2011-01-09 Thread Neil Mitchell
Hi Erik, Hoogle 4.1.3 is now released, which reads and writes Hoogle input files in UTF8 throughout. Please let me know if this doesn't fix your problem. Thanks, Neil On Sun, Jan 9, 2011 at 11:22 AM, Neil Mitchell wrote: > Hi Erik, > > I'll release Hoogle 4.1.3 with a fix later today. > > Thank

Re: [Haskell-cafe] hoogle command line program on Linux

2011-01-09 Thread Neil Mitchell
Hi Erik, I'll release Hoogle 4.1.3 with a fix later today. Thanks, Neil On Sun, Jan 9, 2011 at 5:07 AM, Erik de Castro Lopo wrote: > Hi all, > > I'm testing out hoogle 4.1.2 on Debian Linux and getting the > following when trying to update the local hoogle databases: > >    erik > sudo hoogle d