You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: opam-devel.opam
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
opam-version: "2.0"
2
-
version: "2.2.0~rc1"
2
+
version: "2.3.0~alpha~dev"
3
3
synopsis: "Bootstrapped development binary for opam 2.2"
4
4
description: """
5
5
This package compiles (bootstraps) opam. For consistency and safety of the installation, the binaries are not installed into the PATH, but into lib/opam-devel, from where the user can manually install them system-wide.
Copy file name to clipboardexpand all lines: opam-installer.opam
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
opam-version: "2.0"
2
-
version: "2.2.0~rc1"
2
+
version: "2.3.0~alpha~dev"
3
3
synopsis: "Installation of files to a prefix, following opam conventions"
4
4
description: """
5
5
opam-installer is a small tool that can read *.install files, as defined by opam [1], and execute them to install or remove package files without going through opam.
Copy file name to clipboardexpand all lines: tests/reftests/cli-versioning.test
+9-6
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,7 @@
1
1
N0REP0
2
+
### <opam-version.sh>
3
+
opam --version | cut -f -2 -d '.'
4
+
### sh opam-version.sh >$ OPAMMAJORVERSION
2
5
### <pkg:baz.1>
3
6
opam-version: "2.0"
4
7
flags: compiler
@@ -7,8 +10,8 @@ opam-version: "2.0"
7
10
flags: compiler
8
11
### opam option depext=false
9
12
Set to 'false' the field depext in global configuration
10
-
### opam switch install cli-versioning --empty
11
-
opam: install was removed in version 2.1 of the opam CLI, but version 2.2 has been requested. Use create instead or set OPAMCLI environment variable to 2.0.
opam: install was removed in version 2.1 of the opam CLI, but version CURRENTMAJOR has been requested. Use create instead or set OPAMCLI environment variable to 2.0.
[WARNING] OPAMNODEPEXTS was ignored because CLI 2.0 was requested and it was introduced in 2.1.
@@ -62,8 +65,8 @@ The following actions would be performed:
62
65
The following actions would be performed:
63
66
=== install 1 package
64
67
- install baz 2
65
-
### opam install baz.2 --unlock-base
66
-
opam: --unlock-base was removed in version 2.1 of the opam CLI, but version 2.2 has been requested. Use --update-invariant instead or set OPAMCLI environment variable to 2.0.
opam: --unlock-base was removed in version 2.1 of the opam CLI, but version CURRENTMAJOR has been requested. Use --update-invariant instead or set OPAMCLI environment variable to 2.0.
67
70
# Return code 2 #
68
71
### # opam option uses mk_command_ret
69
72
### opam option foo
@@ -134,8 +137,8 @@ The following actions will be performed:
134
137
-> removed env-2-1.1
135
138
Done.
136
139
### # Environement variables cli versioning
137
-
### OPAMBUILDDOC=1 opam var share
138
-
[WARNING] OPAMBUILDDOC was ignored because CLI 2.2 was requested and it was removed in 2.1, set OPAMCLI environment variable to 2.0.
140
+
### OPAMBUILDDOC=1 opam var share | "${OPAMMAJORVERSION}" -> "CURRENTMAJOR"
141
+
[WARNING] OPAMBUILDDOC was ignored because CLI CURRENTMAJOR was requested and it was removed in 2.1, set OPAMCLI environment variable to 2.0.
139
142
${BASEDIR}/OPAM/cli-versioning/share
140
143
### OPAMCLI=2.0 OPAMBUILDDOC=1 opam config var share
141
144
[WARNING] OPAMNODEPEXTS was ignored because CLI 2.0 was requested and it was introduced in 2.1.
0 commit comments