Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGhostkeeper <rubend@tutanota.com>2022-03-29 11:34:21 +0300
committerGhostkeeper <rubend@tutanota.com>2022-03-29 11:34:21 +0300
commit8a546bb6ef45f124188363227e11e5e9e291a866 (patch)
treef8d81a279fb22c8d3f0952619c07f49a44ea6eda
parentcba956be193de02121159127a32095da27cb40b7 (diff)
Rename VersionUpgrade49to50 to VersionUpgrade413to50
It's going to upgrade from 4.13 to 5.0. We will not support an upgrade path from the alpha/preview-betas to the stable release. Contributes to issue CURA-8466.
-rw-r--r--plugins/VersionUpgrade/VersionUpgrade413to50/VersionUpgrade413to50.py (renamed from plugins/VersionUpgrade/VersionUpgrade49to50/VersionUpgrade49to50.py)4
-rw-r--r--plugins/VersionUpgrade/VersionUpgrade413to50/__init__.py (renamed from plugins/VersionUpgrade/VersionUpgrade49to50/__init__.py)6
-rw-r--r--plugins/VersionUpgrade/VersionUpgrade413to50/plugin.json8
-rw-r--r--plugins/VersionUpgrade/VersionUpgrade49to50/plugin.json8
4 files changed, 13 insertions, 13 deletions
diff --git a/plugins/VersionUpgrade/VersionUpgrade49to50/VersionUpgrade49to50.py b/plugins/VersionUpgrade/VersionUpgrade413to50/VersionUpgrade413to50.py
index a3fccb68ea..3278f6813f 100644
--- a/plugins/VersionUpgrade/VersionUpgrade49to50/VersionUpgrade49to50.py
+++ b/plugins/VersionUpgrade/VersionUpgrade413to50/VersionUpgrade413to50.py
@@ -1,4 +1,4 @@
-# Copyright (c) 2021 Ultimaker B.V.
+# Copyright (c) 2022 Ultimaker B.V.
# Cura is released under the terms of the LGPLv3 or higher.
import configparser
@@ -18,7 +18,7 @@ _removed_settings = {
}
-class VersionUpgrade49to50(VersionUpgrade):
+class VersionUpgrade413to50(VersionUpgrade):
def upgradePreferences(self, serialized: str, filename: str) -> Tuple[List[str], List[str]]:
"""
Upgrades preferences to remove from the visibility list the settings that were removed in this version.
diff --git a/plugins/VersionUpgrade/VersionUpgrade49to50/__init__.py b/plugins/VersionUpgrade/VersionUpgrade413to50/__init__.py
index 3bf4bea4e1..cf58afd26a 100644
--- a/plugins/VersionUpgrade/VersionUpgrade49to50/__init__.py
+++ b/plugins/VersionUpgrade/VersionUpgrade413to50/__init__.py
@@ -1,14 +1,14 @@
-# Copyright (c) 2020 Ultimaker B.V.
+# Copyright (c) 2022 Ultimaker B.V.
# Cura is released under the terms of the LGPLv3 or higher.
from typing import Any, Dict, TYPE_CHECKING
-from . import VersionUpgrade49to50
+from . import VersionUpgrade413to50
if TYPE_CHECKING:
from UM.Application import Application
-upgrade = VersionUpgrade49to50.VersionUpgrade49to50()
+upgrade = VersionUpgrade413to50.VersionUpgrade413to50()
def getMetaData() -> Dict[str, Any]:
return { # Since there is no VersionUpgrade from 48 to 49 yet, upgrade the 48 profiles to 50.
diff --git a/plugins/VersionUpgrade/VersionUpgrade413to50/plugin.json b/plugins/VersionUpgrade/VersionUpgrade413to50/plugin.json
new file mode 100644
index 0000000000..df3c53b5df
--- /dev/null
+++ b/plugins/VersionUpgrade/VersionUpgrade413to50/plugin.json
@@ -0,0 +1,8 @@
+{
+ "name": "Version Upgrade 4.13 to 5.0",
+ "author": "Ultimaker B.V.",
+ "version": "1.0.0",
+ "description": "Upgrades configurations from Cura 4.13 to Cura 5.0.",
+ "api": "7.9.0",
+ "i18n-catalog": "cura"
+}
diff --git a/plugins/VersionUpgrade/VersionUpgrade49to50/plugin.json b/plugins/VersionUpgrade/VersionUpgrade49to50/plugin.json
deleted file mode 100644
index bedc7d46e8..0000000000
--- a/plugins/VersionUpgrade/VersionUpgrade49to50/plugin.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "name": "Version Upgrade 4.9 to 5.0",
- "author": "Ultimaker B.V.",
- "version": "1.0.0",
- "description": "Upgrades configurations from Cura 4.9 to Cura 5.0.",
- "api": "7.4.0",
- "i18n-catalog": "cura"
-}