Ticket #359 (closed defect: fixed)

Opened 5 years ago

Last modified 17 months ago

Warn if package index is older than X days

Reported by: duncan Owned by:
Priority: normal Milestone: cabal-install-0.6
Component: cabal-install tool Version: HEAD
Severity: normal Keywords:
Cc: Difficulty: very easy (<1 hour)
GHC Version: 6.8.2 Platform:

Description

People often trip up with getting older versions of packages than they expected because their package index is out of date. This is because people have to manually run cabal update occasionally. It would be nice if this could be done automatically, though we also need to support offline operation.

In the mean time we should at least warn if the package index looks rather old.

Change History

Changed 5 years ago by duncan

  • milestone set to cabal-install-0.6

Changed 4 years ago by duncan

  • status changed from new to closed
  • resolution set to fixed

I arbitrarily picked X=15. So for example it'll start printing messages like this after 15 days.

Warning: The package list for 'hackage.haskell.org' is 16 days old.
Run 'cabal update' to get the latest list of available packages.

Changed 17 months ago by elga

Note: See TracTickets for help on using tickets.