-
-
Notifications
You must be signed in to change notification settings - Fork 227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dub fetch --annotate doesn't generate complete dub.selections.lock file #2965
Comments
I didn't consider However, there's a few questions here:
|
I discovered this issue while using To clarify, I am using |
Then Regarding the CLI tool, my understanding is that it will become unnecessary once #1723 is implemented ? |
Yes, if there's a proper hash based lockfile we will be able to mostly deprecate our custom lockfile format. |
Yes, when trying older dub versions, was when I realized I mixed up the two commands |
System information
Bug Description
Note: all of the examples below also work with
dub upgrade
instead ofdub fetch
Running
dub fetch --annotate
used to generate a complete dub.selections.json file.After dub 1.37.0 it only fetches some but misses some deeper subprojects deeper in the dependency tree.
Just running
dub fetch
without--annotate
will still work correctly, but it actually downloads the deps, which I do not want.How to reproduce?
rm -r ~/.dub
dub.selections.json
if it exists:rm dub.selections.json
dependency "dcv:core" version="~>0.3.0"
todub.sdl
dub fetch --annotate --verbose
Expected Behavior
dub fetch --annotate --verbose
dub fetch --verbose
without--annotate
Note: after having the dependencies downloaded into your DUB_HOME, the running the command with
--annotate
works as expectedThe text was updated successfully, but these errors were encountered: