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

OPAM 2.0 #48

Closed
db4 opened this issue Oct 4, 2018 · 4 comments
Closed

OPAM 2.0 #48

db4 opened this issue Oct 4, 2018 · 4 comments

Comments

@db4
Copy link

db4 commented Oct 4, 2018

Main OPAM repository now requires OPAM 2.0:

[default] git+https://github.com/ocaml/opam-repository.git updated
[ERROR] The current version of OPAM cannot read the repository "default". 
        You should upgrade to at least version 2.0.

[ERROR] Could not fetch repo: OpamStd.OpamSys.Exit(66)

Do you have any plans to port the latest OPAM to Windows?

@fdopen
Copy link
Owner

fdopen commented Oct 11, 2018

There is now https://github.com/fdopen/opam-repository-mingw/tree/opam2
and https://github.com/fdopen/opam-repository-mingw/releases/tag/0.0.0.2

It's largely untested, I've justed ensured that my old merge scripts
work again (they use just a limited number of commands, I did neither
test any new OPAM 2.0 features nor the interactive usage from the
command line).

Feel free to test it yourself and report any problems in this thread.

@kkirstein
Copy link

I just tried the opam2 version, by running the installation script opam64.tar.gz in my existing Cygwin environment. I renamed the existing .opam folder beforehand, so no conversion of existing "switches" took place.

Everything seems to work fine, thanks for the great work!

andyli added a commit to andyli/haxe that referenced this issue Mar 21, 2019
andyli added a commit to andyli/haxe that referenced this issue Mar 21, 2019
@yakobowski
Copy link

I would suggest that you change the Github default branch to opam2, as it is the one who gets updated. This will be less surprising to users!

@fdopen
Copy link
Owner

fdopen commented Apr 12, 2019

Sounds like a good idea. opam2 is now the default branch.

@fdopen fdopen closed this as completed Dec 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants