-
Notifications
You must be signed in to change notification settings - Fork 190
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
Implement --dir option to override where nimbleDir #114
Comments
Good discussion in IRC, but not quite complete.
Exactly. In fact, nimble should be workspace-oriented, like Go-install. It's fine to use If you don't use workspaces, then you'll inevitably end up with environment wrappers like virtualenv, rvm, or envirius (for Go). A command-line flag is fine, but not the usual workflow. I don't want to type extra flags repeatedly. Usually, I want nimble to learn the workspace from either my shell (via ENV-var) or possibly from looking up a few directories for a nimble-config file. Note that using an ENV-var has a big drawback: So I strongly recommend letting nimble search up the directory tree (at least 0 or 1 levels) for a file called But aside from |
Or maybe search for |
Could you tell me what the problem is exactly in terms of working with Nim? If you could explain a particular problem that you are having with Nimble then I would be eternally grateful. It seems to me that you are applying the workflow principles from other package managers, without (perhaps) having yet attempted to work with Nimble in the way that Nimble was designed to be worked with. Perhaps I am wrong, but I would like for you to give it a chance, apologies if you have already done so. |
I read the IRC discussion. There is much disagreement, but I thought there was at least some agreement that we often need a bit more flexibility than is currently offered. nimble checks out a package into Furthermore, I might have several "contours". While working on one package, I might need one set of versions of dependencies. For another, I need another set. I would Basically, I juggle lots of things at once. This was my normal workflow when I worked at Amazon. The package manager needs to allow this. I read the nimble docs, but maybe I have overlooked something. How should I be using this? Even aside from this, your plan (as I understand it) could be error-prone. If you set Go does pretty well with workspaces. How familiar are you with that system? |
For reasoning check discussion on IRC at about 6pm: http://irclogs.nim-lang.org/11-04-2015.html
The text was updated successfully, but these errors were encountered: