-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Spack --dirty in configuration #1925
Comments
Users should be able to set default flags for any command. I would personally love to tell |
You are absolutely right. Any proposals on the UI for this? I'll throw
I suppose this might get a bit verbose because certain flags are used again Any sketches on how to go about doing this? On Wed, Oct 5, 2016 at 10:37 PM, Adam J. Stewart notifications@github.com
|
@adamjstewart: Just out of curiosity did you know you can hit |
@tgamblin Yeah, I think I discovered that by accident forever ago, or you told it to me, I don't remember. But now I just compulsively add the |
@citibeth I wouldn't call it |
@citibeth @adamjstewart: do you know of any tool that has this feature? I suppose |
Clarification: I think it's fine to have this for |
Git has this feature, you can set things in |
Git has this implemented for particular features. The part that scares me is "all commands". I don't think all features map neatly to command options -- e.g. for this one do you really want to have to write 3 lines in your config file to enable dirty builds? Why not a single option for dirty installs in the config? Same for verbose -- why not a single default verbose flag? |
I agree that it isn't very crucial. I'd rather fix bugs than add new features. I don't think the implementation matters too much. I like the way One thing that will be problematic is that the option flags might change, meaning Spack won't be able to read your configuration file any more until it is updated. |
Fixed by #2152 |
There needs to be a way to configure Spack so when you say
spack install
,spack diy
, etc. --- it does it in "dirty" mode, but without you having to writespack install --dirty
on every command line.The configuration should probably be taken out of one of the files in the
.spack
directory.The text was updated successfully, but these errors were encountered: