Remove the need for intermediate `.zip` file in PackageSupplier
By using a different overload of `retryDownload`,
we return the data instead of writing to disk,
ensuring that we don't have a lingering file
in memory and reducing IO.

This follow the same approach for deprecations as previous
`PackageSupplier` deprecations: it's an inevitable, but
easily fixable, breaking change for classes that implement
`PackageSupplier`, but it's a proper deprecation for client
code, based on the assumption that all the classes implementing
`PackageSupplier` are in Dub.
1 parent c79adb2 commit dd9e2f66fe14c5cdf22c43e86dc732ecfcad9e6e
@Mathias Lang Mathias Lang authored on 21 Feb 2024
Mathias LANG committed on 24 Feb 2024
Showing 8 changed files
View
source/dub/dub.d
View
source/dub/packagemanager.d
View
source/dub/packagesuppliers/fallback.d
View
source/dub/packagesuppliers/filesystem.d
View
source/dub/packagesuppliers/maven.d
View
source/dub/packagesuppliers/packagesupplier.d
View
source/dub/packagesuppliers/registry.d
View
source/dub/test/base.d