-
Notifications
You must be signed in to change notification settings - Fork 371
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
The dev manual is wrong regarding config files #2245
Comments
@samoht do you suggest then that |
I came up with the 2 names so I have no opinion on which one is best. But we should be at least consistent ... there's also |
Note: storing the config file in the directory is good because that's less implicit installation magic (although we already move the |
since it is user-defined and should imho be persistent across reinstallations (otherwise, I'm not sure whether there should be a single file (and variables being prefixed by package name), or one file per package (slightly prefer the former). |
I don't think it makes sense to persist the data across reinstallation. The |
@dbuenzli right, these are two different things, and information about the installation should be kept in |
Yes, the rationale for this was made here. So this means that maybe we could use the |
and provide a default value. I'm writing up a proposal and thinking this with assemblage in mind in the sense that theses new variable declarations could be automatically added during |
http://opam.ocaml.org/doc/manual/dev-manual.html#sec40 says
$prefix/config/$name.config
but it should be$prefix/lib/$name/opam.config
. I am not sure that's the best name ever (as we already haveopam
,$name.install
and nowopam.config
) so this should also be re-design properly -- as there is no user yet, that's a good time.Moreover, few people have expressed an interest in having an
opam config set <var> <value>
or something similar. I think that's a good idea.The text was updated successfully, but these errors were encountered: