
"Svein Ove Aas"
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.