[Haskell-cafe] cabal upgrade

Svein Ove Aas svein.ove at aas.no
Wed Oct 1 14:53:33 EDT 2008


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.


More information about the Haskell-Cafe mailing list