-
Notifications
You must be signed in to change notification settings - Fork 189
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
nimble (install|build) --skipdeps
to install|build but skipping checking dependencies
#589
Comments
nimble install --skipdeps
to install but skipping checking dependenciesnimble (install|build) --skipdeps
to install but skipping checking dependencies
nimble (install|build) --skipdeps
to install but skipping checking dependenciesnimble (install|build) --skipdeps
to install|build but skipping checking dependencies
when developing a project you should use |
even for
|
Are you running a debug build of Nimble? That usually causes lots of slowness. Check by running |
not super sure; here's the output you asked:
as for slowness: some packages have lots of (recursive) dependencies, so majority time is spent on handling the dependencies as opposed to the actual build action when user already processed the dependencies successfully (and hasn't updated them in |
Looks like you don't have a debug build (You would see a stack trace with the error output by Nimble). I would prefer to make the dependency resolution faster rather than expect users to learn various flags like this. |
Wouldn't lockfiles solve this as well? |
/cc @dom96
making it faster would be nice, but is likely more effort, and I doubt it can ever be as fast as just skipping it (or even close to that);
/cc @GULPF what do you mean, can you elaborate (or give a link to issue?) |
@timotheecour See #127. With a lockfile, the dependencies would only be resolved once (until the dependencies are changed). After that, the lockfile will indicate which packages & versions are required. |
ok, makes sense, if #127 is implemented I'm happy to close this! |
when developping a project, after a successful
nimble install
ornimble build
it's wasteful to keep checking all dependencies (especially when there are a lot); a flagnimble install --skipdeps
nimble build --skipdeps
would just do the install part, skipping the
Verifying dependencies for foo@ver
partThe text was updated successfully, but these errors were encountered: