-
-
Notifications
You must be signed in to change notification settings - Fork 238
Closed
Description
System information
- dub version: dub 1.33.0
- OS Platform and distribution: (Linux opensuse tumbleweed (up to date))
- compiler version LDC - the LLVM D compiler (1.32.0), based on DMD v2.102.2 and LLVM 15.0.7, built with LDC - the LLVM D compiler (1.32.0), Default target: x86_64-suse-linux
Bug Description
Dub issues a warning that the current package is at the wrong path. After moving the package to the suggested directory, dub doesn't see the package anymore.
Example: Warning Package at path '/home/alice/src/dlang-packages/ddbus/' should be under '/home/alice/src/dlang-packages/foo/$VERSION/foo'
After move the package into the suggested directory, dub doesn't see the package anymore.
How to reproduce?
- Add a local package directory
dub add-path <path> - Check the
$HOME/.dub/packages/local-packages.jsonand make sure the path is listed. - Add a package into the directory. (using the old structure without the version numbers)
- Issue
dub list - Notice that the package is listed and that dub issues a warning:
Package at path <path>/foo should be under <path>/$VERSION/foo - Move the package to the suggested directory(under a version number),
- Issue
dub list - Notice that the warning is gone but the package is not listed.
When trying to build a project it will not pick up the dependency.
Expected Behavior
Dub does see the package after moving it into the suggested directory.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels