Closed the-horo closed 10 months ago
✅ PR OK, no changes in deprecations or warnings
Total deprecations: 0
Total warnings: 0
Build statistics:
statistics (-before, +after)
-executable size=5277720 bin/dub
+executable size=5228376 bin/dub
rough build time=62s
I haven't hit it yet but can https://github.com/dlang/dub/blob/60d9cee3884ef6bd0700ee423da1c2b266d93483/source/dub/packagesuppliers/filesystem.d#L33
go from an enforce
to a continue
? There shouldn't be a problem if the directory contains misc files that start with the same name as a package.
When looking for versions of a package don't include other packages that start with the same name as the queried package. This is done by requiring that the first character after the - is a digit.
If a directory contains the files botan-1.zip and botan-math-2.zip the current implementation would report both 1 and math-2 as candidates followed by an error that math-2 is not a valid version: