-
Notifications
You must be signed in to change notification settings - Fork 366
changelog: update opam 2.1.4 post #1241
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
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
463860f
changelog: update opam 2.1.4 post
rjbou 6c43041
Add Merlin 2.0 announcement
tmattio bbce47d
Split opam and opam-publish announcements
tmattio afc9b86
Remove 2.1.5 changelog
tmattio 135a183
Update data/changelog/opam-publish/2022-12-14-opam-publish-2.2.0.md
tmattio 037c075
Update discuss post link
tmattio File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 12 additions & 7 deletions
19
data/changelog/opam-publish/2022-12-14-opam-publish-2.2.0.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,13 +1,18 @@ | ||
| --- | ||
| title: Opam-publish 2.2.0 | ||
| authors: [ "Kate Deplaix" ] | ||
| date: "2022-12-14" | ||
| tags: [opam-publish, platform, release] | ||
| changelog: | | ||
| * Fix the github markdown syntax generated by opam-publish [#131 @liyishuai] | ||
| * Disambiguate GitHub archive URL computed from repository and tag [#135 @ilankri] | ||
| * Upgrade to cmdliner >= 1.1.0 [#134 @ilankri] | ||
| * Support git remotes with multiple push targets [#137 @favonia] | ||
| * Fix broken state if the initial opam-repository clone fails [#140 @kit-ty-kate - fix #86] | ||
| * Shorten the generated branch name [#141 @kit-ty-kate - fix #139] | ||
| --- | ||
|
|
||
| We are pleased to announce the minor release of [opam-publish 2.2.0](https://github.com/ocaml-opam/opam-publish/releases/tag/2.2.0). | ||
|
|
||
| This opam-publish release consists of the following breaking change: | ||
| * Shorten the generated branch name. This is breaking change for people who want to force-push changes on an already opened PR using a previous version of opam-publish as the branch name might not be the same ([#141](https://github.com/ocaml-opam/opam-publish/issues/141)) | ||
|
|
||
| and the following fixes: | ||
| * Fix the github markdown syntax generated by opam-publish ([#131](https://github.com/ocaml-opam/opam-publish/issues/131)) | ||
| * Disambiguate GitHub archive URL computed from repository and tag ([#135](https://github.com/ocaml-opam/opam-publish/issues/135)) | ||
| * Upgrade to cmdliner >= 1.1.0 ([#134](https://github.com/ocaml-opam/opam-publish/issues/134)) | ||
| * Support git remotes with multiple push targets ([#137](https://github.com/ocaml-opam/opam-publish/issues/137)) | ||
| * Fix broken state if the initial opam-repository clone fails ([#140](https://github.com/ocaml-opam/opam-publish/issues/140)) | ||
88 changes: 0 additions & 88 deletions
88
data/changelog/opam/2021-11-15-opam-2-0-10-2-1-1-depext.md
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,58 @@ | ||
| --- | ||
| title: "opam 2.0.10" | ||
| authors: [ "David Allsopp", "Raja Boujbel", "Louis Gesbert"] | ||
| date: "2021-11-15" | ||
| description: "Release announcement for opam 2.0.10" | ||
| tags: [opam, platform, release] | ||
| changelog: | | ||
| * Fix reverting environment additions to PATH-like variables when several dirs | ||
| added at once [#4861 @dra27] | ||
| * Ensure setenv can use package variables defined during the build | ||
| [#4841 @dra27] | ||
| --- | ||
|
|
||
| _Feedback on this post is welcomed on [Discuss](https://discuss.ocaml.org/t/ann-opam-2-1-1-opam-2-0-10-opam-depext-1-2/8872)!_ | ||
|
|
||
| We are pleased to announce the release of [opam 2.0.10](https://github.com/ocaml/opam/releases/tag/2.0.10). | ||
|
|
||
| Two subtle fixes are included in opam 2.0.10. These actually affect the `ocaml` package. Both of these are Heisenbugs - investigating what's going wrong on your system may well have fixed them, they were both found on Windows! | ||
|
|
||
| `$(opam env --revert)` is the reverse of the more familiar `$(opam env)` but it's effectively called by opam whenever you change switch. It has been wrong since 2.0.0 for the case where several values are added to an environment variable in one `setenv` update. For example, if a package included a `setenv` field of the form `[PATH += "dir1:dir2"]`, then this would not be reverted, but `[[PATH += "dir1"] [PATH += "dir2"]]` would be reverted. As it happens, this bug affects the `ocaml` package, but it was masked by another `setenv` update in the same package. | ||
|
|
||
| The other fix is also to do with `setenv`. It can be seen immediately after creating a switch but before any additional packages are installed, as this `Dockerfile` shows: | ||
|
|
||
| ```dockerfile | ||
| FROM ocaml/opam@sha256:244b948376767fe91e2cd5caca3b422b2f8d332f105ef2c8e14fcc9a20b66e25 | ||
| RUN sudo apt-get install -y ocaml-nox | ||
| RUN opam --version | ||
| RUN opam switch create show-issue ocaml-system | ||
| RUN eval $(opam env) ; echo $CAML_LD_LIBRARY_PATH | ||
| RUN opam install conf-which | ||
| RUN eval $(opam env) ; echo $CAML_LD_LIBRARY_PATH | ||
| ``` | ||
|
|
||
| Immediately after switch creation, `$CAML_LD_LIBRARY_PATH` was set to `/home/opam/.opam/show-issue/lib/stublibs:`, rather than `/home/opam/.opam/show-issue/lib/stublibs:/usr/local/lib/ocaml/4.08.1/stublibs:/usr/lib/ocaml/stublibs` | ||
|
|
||
| --- | ||
|
|
||
| Opam installation instructions (unchanged): | ||
|
|
||
| 1. From binaries: run | ||
|
|
||
| ``` | ||
| bash -c "sh <(curl -fsSL https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh) --version 2.0.10" | ||
| ``` | ||
|
|
||
| or download manually from [the Github "Releases" page](https://github.com/ocaml/opam/releases/tag/2.1.1) to your PATH. In this case, don't forget to run `opam init --reinit -ni` to enable sandboxing if you had version 2.0.0~rc manually installed or to update you sandbox script. | ||
|
|
||
| 2. From source, using opam: | ||
|
|
||
| ``` | ||
| opam update; opam install opam-devel | ||
| ``` | ||
|
|
||
| (then copy the opam binary to your PATH as explained, and don't forget to run `opam init --reinit -ni` to enable sandboxing if you had version 2.0.0~rc manually installed or to update your sandbox script) | ||
|
|
||
| 3. From source, manually: see the instructions in the [README](https://github.com/ocaml/opam/tree/2.1.1#compiling-this-repo). | ||
|
|
||
| We hope you enjoy this new minor version, and remain open to [bug reports](https://github.com/ocaml/opam/issues) and [suggestions](https://github.com/ocaml/opam/issues). |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.