public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] data/gentoo-news:master commit in: 2021-08-19-mc-legacy-config-dirs/
@ 2021-08-19 15:50 Marek Szuba
  0 siblings, 0 replies; only message in thread
From: Marek Szuba @ 2021-08-19 15:50 UTC (permalink / raw
  To: gentoo-commits

commit:     6eba14b16d3cbb8fb5be9959c911a40b477ac3ca
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 19 15:50:12 2021 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Thu Aug 19 15:50:40 2021 +0000
URL:        https://gitweb.gentoo.org/data/gentoo-news.git/commit/?id=6eba14b1

Add 2021-08-19-mc-legacy-config-dirs

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 .../2021-08-19-mc-legacy-config-dirs.en.txt        | 37 ++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/2021-08-19-mc-legacy-config-dirs/2021-08-19-mc-legacy-config-dirs.en.txt b/2021-08-19-mc-legacy-config-dirs/2021-08-19-mc-legacy-config-dirs.en.txt
new file mode 100644
index 0000000..fe7d6ce
--- /dev/null
+++ b/2021-08-19-mc-legacy-config-dirs/2021-08-19-mc-legacy-config-dirs.en.txt
@@ -0,0 +1,37 @@
+Title: >=app-misc/mc-4.8.27 to drop support for ~/.mc
+Author: Marek Szuba <marecki@gentoo.org>
+Posted: 2021-08-19
+Revision: 1
+News-Item-Format: 2.0
+Display-If-Installed: app-misc/mc
+
+app-misc/mc versions between 4.8.1 and 4.8.26, inclusive, would look
+for their user configuration in two possible places:
+
+ * if built with USE=-xdg, only the legacy directory ~/.mc is used;
+
+ * if built with USE=xdg, mc uses appropriate XDG user directories
+   (e.g. ~/.config/mc, ~/.local/share/mc) if present and attempts
+   to automatically migrate the contents of ~/.mc otherwise.
+
+However, starting with version 4.8.27 Midnight Commander will use _only
+XDG user directories_ for its configuration and no longer automatically
+migrate the contents of ~/.mc. For more information, see:
+
+    https://midnight-commander.org/wiki/NEWS-4.8.27
+    https://midnight-commander.org/ticket/3682
+
+For everyone who currently uses app-misc/mc[-xdg], or has not started
+mc for so long that it hasn't had a chance to migrate its configuration,
+upgrading to 4.8.27 or newer will result in Midnight Commander
+effectively reverting to default user configuration. In order to prevent
+this from happening, make sure automatic migration is available:
+
+    echo 'app-misc/mc xdg' >> /etc/portage/package.use
+    emerge --oneshot <app-misc/mc-4.8.27
+
+and have every user on your system with ~/.mc present run both 'mc'
+and 'mcedit' at least once prior to the version upgrade.
+
+No action is required of everyone currently using app-misc/mc
+with USE=xdg enabled.


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-08-19 15:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-19 15:50 [gentoo-commits] data/gentoo-news:master commit in: 2021-08-19-mc-legacy-config-dirs/ Marek Szuba

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox