fix Issue #528 - fetch doesn't work for recently updated package
Revert "store metadata cache on disk"

This reverts commit 161aad0.

We only ask the package suppliers for metadata when upgrading or
searching a specific package version. In particular building an already
fetched package does not ask the package suppliers (only the package
manager responsible for locally installed packages).

In all cases where we get data from a package supplier we want to get
the latest available information. Therefor it doesn't make sense to
cache any metadata from the package suppliers on disk.

Not sure whether we still need the in memory metadata cache (e.g. for
multiple queries during dependency resolution).
1 parent 54b6922 commit 0ff3594a2159995a3d79081f323cfff0a6617585
@Martin Nowak Martin Nowak authored on 27 Jan 2016
Showing 3 changed files
View
source/dub/commandline.d
View
source/dub/dub.d
View
source/dub/packagesupplier.d