From e26a6090561f991e895df3345c7a3fccbd237b26 Mon Sep 17 00:00:00 2001 From: Raja Boujbel Date: Tue, 25 Jan 2022 18:40:36 +0100 Subject: [PATCH] update changes --- master_changes.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/master_changes.md b/master_changes.md index 24b2bd50026..5f2aa9e7897 100644 --- a/master_changes.md +++ b/master_changes.md @@ -65,11 +65,10 @@ users) * Make `opam show --list-files ` fail with not found when `` is not installed [#4956 @kit-ty-kate - fix #4930] * Improve performance of opam show by 300% when the package to show is given explicitly or unique [#4998 @kit-ty-kate - fix #4997 and partially #4172] -## Var - * - -## Option - * +## Var/Option + * Don't error when displaying if switch is not set [#5027 @rjbou - fix #5025] + * Try to set a variable with option `--switch ` fails instead of writing a wrong `switch-config` file [#5027 @rjbou] + * When a field is defined in switch and global scope, try to determine the scope also by checking switch selection [#5027 @rjbou] ## Exec * [NEW] Add `opam exec --no-switch` [#4957 @kit-ty-kate - fix #4951] @@ -216,6 +215,7 @@ users) * Update list with co-instabillity [#5024 @AltGr] * Add lint test [#4967 @rjbou] * Add lock test [#4963 @rjbou] + * Update var-option test with no switch examples [#5025] ### Engine * Add `opam-cat` to normalise opam file printing [#4763 @rjbou @dra27] [2.1.0~rc2 #4715] * Fix meld reftest: open only with failing ones [#4913 @rjbou] @@ -275,6 +275,7 @@ users) * `OpamClient`: fix `update_with_init_config`, when ``jobs` was set in `init_config`, it dropped rest of `config` update [#5056 @rjbou] * Add an optional argument to `OpamArg.mk_subdoc` for extra default elements: `?extra_defaults:(validity * string * string) list` [#4910 @kit-ty-kate] * Add `OpamSwitchCommand.previous_switch` [#4910 @kit-ty-kate] + * `OpamConfigCommand`: `set_opt_switch`, `set_var_switch`, `options_list_switch`, and `var_list_switch` now raise configuration error exception (50) if no switch is found [#5027 @rjbou] ## opam-repository * `OpamRepositoryConfig`: add in config record `repo_tarring` field and as an argument to config functions, and a new constructor `REPOSITORYTARRING` in `E` environment module and its access function [#5015 @rjbou] * New download functions for shared source, old ones kept [#4893 @rjbou]