[opam-devel] On the new mixed mode pins

Louis Gesbert louis.gesbert at ocamlpro.com
Mon Aug 3 10:45:13 BST 2015


I'd prefer to implement Daniel's proposition, when I get the time, if everyone agrees, that do another temporary change that would add more confusion.

> - Thomas Gazagnaire, 03/08/2015 10:30 -
> >> FWIW this just happened to me, lost an hour and half banging my head on the table (that may have helped with other things though).
> > 
> > How about moving mixed mode to "path" instead of "git" (as I think
> > someone suggested before)?
> > 
> > i.e.
> > 
> > "git pin -k path ..." (or just "git pin") will use mixed mode if possible
> > "git pin -k git ..." uses the Git commit, ignoring the working tree

Then it wouldn't be possible to ask for pure path pinning to a version-controlled directory anymore.

> 
> To avoid ambiguity: `git pin -k mixed` maybe? 
> 

we could have a hack: (mixed => auto, and allow mixed mode | git => implicitely add #HEAD | other vcs => ...)

But as I said above, I prefer to focus on a real improvement in the middle term.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.ocaml.org/pipermail/opam-devel/attachments/20150803/a9f7e50c/attachment.sig>


More information about the opam-devel mailing list