Change PackageSupplier interface to accept VersionRange
This is a leftover of the time when everything in dub accepted Dependency.
While the mess had been untangled, doing so on this interface proved harder,
as there is no good way to deprecate it in a fully backward-compatible manner
without introducing a lot of overhead (a new type). Instead, this uses
a middle ground approach, where the external implementers (which most likely
do not exists) would break (although the fix is trivial), but callers would not.
1 parent 13ee9ce commit b77bc6ac186be23945889360d6e9c6b4af4eaf82
@Mathias Lang Mathias Lang authored on 18 Dec 2023
The Dlang Bot committed on 18 Dec 2023
Showing 6 changed files
View
source/dub/dub.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