Skip to content
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

autodetection of git repo type in local remotes #1582

Closed
avsm opened this issue Aug 10, 2014 · 4 comments
Closed

autodetection of git repo type in local remotes #1582

avsm opened this issue Aug 10, 2014 · 4 comments

Comments

@avsm
Copy link
Member

avsm commented Aug 10, 2014

One behavioural change from OPAM 1.1 and 1.2 that surprised me is the auto-detection of the repo type.

If I have a local git checkout of opam-repository and do a opam remote add ~/opam-repository, it now becomes a git remote, and local changes are only reflected if I commit. The default used to be that this would be a local remote and rsynched (much more convenient for local use).

I can get the old behaviour back by adding -k local, but I just wanted to check that this was an intended change.

@dbuenzli
Copy link
Contributor

That seems consistent with the behaviour of pins see #1582

@dbuenzli
Copy link
Contributor

Well that 1582 was a #1555

@avsm
Copy link
Member Author

avsm commented Aug 10, 2014

Being consistent is good, and I'm not against the new behaviour. However, it's definitely worth noting in the release notes, as my old 1.1 workflow simply didn't work anymore without the -k local addition. More typing needed, but that's progress eh :-)

@AltGr
Copy link
Member

AltGr commented Aug 11, 2014

Yes, this is quite new, but otherwise confusing build artefacts could get in the way. Note that you can save one keystroke by using the now preferred -k path

Indeed this is not even in the changelog, and needs to be notified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants