Skip to content

Commit

Permalink
Merge pull request ocaml#6236 from kit-ty-kate/rel-2.3.0-beta1
Browse files Browse the repository at this point in the history
Release 2.3.0~beta1
  • Loading branch information
kit-ty-kate authored Oct 14, 2024
2 parents 3a10cfc + 47e68c4 commit e16a04e
Show file tree
Hide file tree
Showing 12 changed files with 66 additions and 50 deletions.
41 changes: 41 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,47 @@ repositories (changes that are automatically handled by the format upgrade tools
are not marked). Those prefixed with "(+)" are new command/option (since
2.1.0~alpha2).

2.3.0~beta1:
* Fix an opam 2.1 regression where the initial pin of a local VCS directory
would store untracked and ignored files. Those files would usually be
cleaned before building the package, however git submodules would not be
cleaned and would cause issues when paired with the new behaviour added in
2.3.0~alpha1 which makes opam error when git submodules fail to update
(was previously a warning) [#6221 @rjbou - fix #5809]
* Fix a regression which would make opam crash on platforms where
`getconf LONG_BIT` is not available (e.g. OpenBSD)
[#6230 @kit-ty-kate - fix #6215]
* Fix the installed packages internal cache, which was storing the wrong
version of the opam file after a build failure. This could be triggered
easily for users with custom repositories with non-populated extra-files
[#6213 @kit-ty-kate]
* Fix a regression in lint W59 with local urls that are not archives
[#6219 @rjbou - fix #6218]
* Bump to lang dune to 2.8 and bump the requirement to dune >= 2.8, which was
actually required in the previous alpha release [#6204 @kit-ty-kate]
* Bump the vendored version of dune to 3.16.0, cppo to 1.7.0 and extlib to 1.8.0
[#6223 @kit-ty-kate]
* Fix compilation with OCaml 5.3 when using the vendored extlib by updating to
the 5.3 compatible version [#6223 @kit-ty-kate]
* Fix the compilation of opam on Windows with OCaml >= 5.0 (again)
[#6216 @kit-ty-kate]
* Fix the release script after the bump to dune lang 2.6 and the introduction of
`opam_core_stubs` [#6204 @kit-ty-kate]
* Improve the release script by ignoring interactive questions asked by the
FreeBSD package manager [#6204 @kit-ty-kate]
* Improve and extend the tests [#6135 #6221 #6213 #6219 @rjbou]
* Improve the test infrastructure [#6233 #6233 #6216 @rjbou @kit-ty-kate]
* API changes
* `OpamStd.Sys.{get_terminal_columns,uname,getconf,guess_shell_compat}`:
Harden the process calls to account for failures
[#6230 @kit-ty-kate - fix #6215]
* `OpamStd.Sys.{uname,getconf}`: now accepts only one argument as parameter,
as per their documentation [#6230 @kit-ty-kate]
* `OpamSwitchState.Installed_cache`: export `load` function [#6233 @rjbou]
* `OpamSystem`: add `is_archive_from_string` that does the same than
`is_archive` but without looking at the file, only analysing the string
(extension) [#6219 @rjbou]

2.3.0~alpha1:
* (*) When loading a repository, don't automatically populate `extra-files:`
field with found files in `files/` [#5564 @rjbou]
Expand Down
18 changes: 9 additions & 9 deletions configure

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dnl The line below must be formatted AC_INIT([opam],[VERSION]) with no extra spaces
AC_INIT([opam],[2.3.0~alpha2~dev])
AC_INIT([opam],[2.3.0~beta1])
AC_COPYRIGHT(Copyright 2012-2019 OcamlPro SAS)

AC_CONFIG_MACRO_DIR([m4])
Expand Down
25 changes: 0 additions & 25 deletions master_changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ moved, etc.), please update the _API updates_ part (it helps opam library
users)

## Version
* Bump the version of opam to 2.3.0~alpha2~dev [#6204 @kit-ty-kate]

## Global CLI

Expand All @@ -22,7 +21,6 @@ users)
## Config report

## Actions
* Fix the install cache storing the wrong version of the opam file after a build failure [#6213 @kit-ty-kate]

## Install

Expand All @@ -35,7 +33,6 @@ users)
## Config

## Pin
* [BUG] Fix first retrieval of local VCS pin done as local path [#6221 @rjbou - fix #5809]

## List

Expand All @@ -52,7 +49,6 @@ users)
## Source

## Lint
* [BUG] fix lint W59 with local urls that are not archives [#6219 @rjbou - fix #6218]

## Repository

Expand All @@ -73,17 +69,10 @@ users)
## VCS

## Build
* Bump the requirement for dune to 2.8 [#6204 @kit-ty-kate]
* Bump the vendored version of dune to 3.16.0, cppo to 1.7.0 and extlib to 1.8.0 [#6223 @kit-ty-kate]
* Fix compilation with OCaml 5.3 when using the vendored extlib by updating to the 5.3 compatible version (e.g. `make cold` or `./configure --with-vendored-deps`) [#6223 @kit-ty-kate]
* Fix the compilation of opam on Windows with OCaml >= 5.0 again [#6216 @kit-ty-kate]

## Infrastructure

## Release scripts
* Fix the release script after the bump of dune lang to 2.6 [#6204 @kit-ty-kate]
* Fix the release script after the introduction of opam\_core\_stubs [#6204 @kit-ty-kate]
* Improve the release script by ignoring interactive questions asked by the FreeBSD package manager [#6204 @kit-ty-kate]

## Install script

Expand Down Expand Up @@ -111,20 +100,10 @@ users)

## Reftests
### Tests
* Move pin test to pin-legacy [#6135 @rjbou]
* More exhaustive test for pin command: test different behaviour and cli options [#6135 @rjbou]
* pin: add a test for erroneous first fetch done as local path on local VCS pinned packages [#6221 @rjbou]
* Add cache test for installed packages cache update after an action failure [#6213 @kit-ty-kate @rjbou]
* Add more tests for lint W59 [#6219 @rjbou]

### Engine
* Update print file function [#6233 @rjbou]
* Add `opam-cache` command, to display internal cache content in reftest [#6233 @rjbou]

## Github Actions
* Add OCaml 5.2.0 to the build matrix [#6216 @kit-ty-kate]
* Allow to have more than one OCaml default version to run all jobs and add 5.2 to the list of default versions together with 4.14 [#6216 @kit-ty-kate]
* Bump 4.14 to the latest patch version (4.14.2) [#6216 @kit-ty-kate]

## Doc

Expand All @@ -136,13 +115,9 @@ users)
## opam-repository

## opam-state
* `OpamSwitchState.Installed_cache`: export `load` function [#6233 @rjbou]

## opam-solver

## opam-format

## opam-core
* `OpamStd.Sys.{get_terminal_columns,uname,getconf,guess_shell_compat}`: Harden the process calls to account for failures [#6230 @kit-ty-kate - fix #6215]
* `OpamStd.Sys.{uname,getconf}`: now accepts only one argument as parameter, as per their documentation [#6230 @kit-ty-kate]
* `OpamSystem`: add `is_archive_from_string` that does the same than `is_archive` but without looking at the file, only analysing the string (extension) [#6219 @rjbou]
4 changes: 2 additions & 2 deletions opam-client.opam
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
opam-version: "2.0"
version: "2.3.0~alpha2~dev"
synopsis: "Client library for opam 2.2"
version: "2.3.0~beta1"
synopsis: "Client library for opam 2.3"
description: """
Actions on the opam root, switches, installations, and front-end.
"""
Expand Down
4 changes: 2 additions & 2 deletions opam-core.opam
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
opam-version: "2.0"
version: "2.3.0~alpha2~dev"
synopsis: "Core library for opam 2.2"
version: "2.3.0~beta1"
synopsis: "Core library for opam 2.3"
description:
"Small standard library extensions, and generic system interaction modules used by opam."
maintainer: "opam-devel@lists.ocaml.org"
Expand Down
4 changes: 2 additions & 2 deletions opam-devel.opam
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
opam-version: "2.0"
version: "2.3.0~alpha2~dev"
synopsis: "Bootstrapped development binary for opam 2.2"
version: "2.3.0~beta1"
synopsis: "Bootstrapped development binary for opam 2.3"
description: """
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.
"""
Expand Down
4 changes: 2 additions & 2 deletions opam-format.opam
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
opam-version: "2.0"
version: "2.3.0~alpha2~dev"
synopsis: "Format library for opam 2.2"
version: "2.3.0~beta1"
synopsis: "Format library for opam 2.3"
description: """
Definition of opam datastructures and its file interface.
"""
Expand Down
2 changes: 1 addition & 1 deletion opam-installer.opam
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
opam-version: "2.0"
version: "2.3.0~alpha2~dev"
version: "2.3.0~beta1"
synopsis: "Installation of files to a prefix, following opam conventions"
description: """
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.
Expand Down
4 changes: 2 additions & 2 deletions opam-repository.opam
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
opam-version: "2.0"
version: "2.3.0~alpha2~dev"
synopsis: "Repository library for opam 2.2"
version: "2.3.0~beta1"
synopsis: "Repository library for opam 2.3"
description: """
This library includes repository and remote sources handling, including curl/wget, rsync, git, mercurial, darcs backends.
"""
Expand Down
4 changes: 2 additions & 2 deletions opam-solver.opam
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
opam-version: "2.0"
version: "2.3.0~alpha2~dev"
synopsis: "Solver library for opam 2.2"
version: "2.3.0~beta1"
synopsis: "Solver library for opam 2.3"
description: """
Solver and Cudf interaction. This library is based on the Cudf and Dose libraries, and handles calls to the external solver from opam.
"""
Expand Down
4 changes: 2 additions & 2 deletions opam-state.opam
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
opam-version: "2.0"
version: "2.3.0~alpha2~dev"
synopsis: "State library for opam 2.2"
version: "2.3.0~beta1"
synopsis: "State library for opam 2.3"
description: """
Handling of the ~/.opam hierarchy, repository and switch states.
"""
Expand Down

0 comments on commit e16a04e

Please sign in to comment.