From 3e72768eeca3cba12646e5d018e2425d041b6848 Mon Sep 17 00:00:00 2001 From: Kenneth Skovhede Date: Thu, 6 Feb 2025 21:53:51 +0100 Subject: [PATCH] Added warning when using the Mega backend --- Duplicati/Library/Main/Controller.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Duplicati/Library/Main/Controller.cs b/Duplicati/Library/Main/Controller.cs index 7883ddfc8..d391b7fb3 100644 --- a/Duplicati/Library/Main/Controller.cs +++ b/Duplicati/Library/Main/Controller.cs @@ -865,6 +865,10 @@ namespace Duplicati.Library.Main if (string.Equals(new Library.Utility.Uri(m_backendUrl).Scheme, "tardigrade", StringComparison.OrdinalIgnoreCase)) Logging.Log.WriteWarningMessage(LOGTAG, "TardigradeRename", null, "The Tardigrade-backend got renamed to Storj DCS - please migrate your backups to the new configuration by changing the destination storage type to Storj DCS."); + //Inform the user about the unmaintained Mega support library + if (string.Equals(new Library.Utility.Uri(m_backendUrl).Scheme, "mega", StringComparison.OrdinalIgnoreCase)) + Logging.Log.WriteWarningMessage(LOGTAG, "MegaUnmaintained", null, "The Mega support library is currently unmaintained and may not work as expected. Mega has not published an official API so it may break at any moment. Please consider migrating to another backend."); + //TODO: Based on the action, see if all options are relevant }