[Haskell-cafe] Re: cabal upgrade

Achim Schneider barsoap at web.de
Wed Oct 1 14:59:53 EDT 2008

"Svein Ove Aas" <svein.ove at aas.no> wrote:

> On Wed, Oct 1, 2008 at 7:54 PM, Duncan Coutts
> > Because we actually consult the index of available packages more
> > often than you think. Every time you cabal install in a local
> > directory we make sure all the required packages are available and
> > consistent. If we had to go to the network every time you would not
> > be happy.
> >
> > There should be a solution here that lets us update more
> > automatically while still allowing people to do offline operations.
> > I'm not sure what that solution is yet though.
> >
> The solution seems obvious to me, actually:
> Check the timestamp of the package file at every access. If it's older
> than some configurable value, and you have network access, start
> updating it.
Additionally, you could use rsync instead of a tbz download to speed
things up. Gentoo does this right.

(c) this sig last receiving data processing entity. Inspect headers
for copyright history. All rights reserved. Copying, hiring, renting,
performance and/or quoting of this signature prohibited.

More information about the Haskell-Cafe mailing list