Skip to content
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

Skip registry upgrade only #2244

Closed
rikkimax opened this issue Apr 26, 2022 · 1 comment
Closed

Skip registry upgrade only #2244

rikkimax opened this issue Apr 26, 2022 · 1 comment

Comments

@rikkimax
Copy link
Contributor

It would be a good addition to add support for skipping the registry unless an explicit call to upgrade or if dub.selections.json becomes out of sync from the package descriptor.

Reference: https://forum.dlang.org/post/t4986c$1r40$1@digitalmars.com

@WebFreak001
Copy link
Member

duplicate of #559

copying my response for closing:

DUB doesn't check for package updates when packages are already fetched & selected inside the dub.selections.json.

DUB only checks for upgrades:

  1. with branch-based dependencies (~master) - they are discouraged/deprecated
  2. for packages that don't have any selection yet in dub.selections.json or are not yet downloaded

Forcing no internet lookup (and causing a build fail for missing dependencies) can be forced with --nodeps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants