mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-30 06:11:09 -07:00
Moved certain meta data entries to seperate file
CURA-3856 & CURA-3712
This commit is contained in:
parent
015c253252
commit
44125d3275
54 changed files with 224 additions and 203 deletions
|
|
@ -10,13 +10,6 @@ upgrade = VersionUpgrade21to22.VersionUpgrade21to22()
|
|||
|
||||
def getMetaData():
|
||||
return {
|
||||
"plugin": {
|
||||
"name": catalog.i18nc("@label", "Version Upgrade 2.1 to 2.2"),
|
||||
"author": "Ultimaker",
|
||||
"version": "1.0",
|
||||
"description": catalog.i18nc("@info:whatsthis", "Upgrades configurations from Cura 2.1 to Cura 2.2."),
|
||||
"api": 3
|
||||
},
|
||||
"version_upgrade": {
|
||||
# From To Upgrade function
|
||||
("profile", 1000000): ("quality", 2000000, upgrade.upgradeProfile),
|
||||
|
|
|
|||
8
plugins/VersionUpgrade/VersionUpgrade21to22/plugin.json
Normal file
8
plugins/VersionUpgrade/VersionUpgrade21to22/plugin.json
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"name": "Version Upgrade 2.1 to 2.2",
|
||||
"author": "Ultimaker",
|
||||
"version": "1.0",
|
||||
"description": "Upgrades configurations from Cura 2.1 to Cura 2.2.",
|
||||
"api": 4,
|
||||
"catalog": "cura"
|
||||
}
|
||||
|
|
@ -10,13 +10,6 @@ upgrade = VersionUpgrade.VersionUpgrade22to24()
|
|||
|
||||
def getMetaData():
|
||||
return {
|
||||
"plugin": {
|
||||
"name": catalog.i18nc("@label", "Version Upgrade 2.2 to 2.4"),
|
||||
"author": "Ultimaker",
|
||||
"version": "1.0",
|
||||
"description": catalog.i18nc("@info:whatsthis", "Upgrades configurations from Cura 2.2 to Cura 2.4."),
|
||||
"api": 3
|
||||
},
|
||||
"version_upgrade": {
|
||||
# From To Upgrade function
|
||||
("machine_instance", 2000000): ("machine_stack", 3000000, upgrade.upgradeMachineInstance),
|
||||
|
|
|
|||
8
plugins/VersionUpgrade/VersionUpgrade22to24/plugin.json
Normal file
8
plugins/VersionUpgrade/VersionUpgrade22to24/plugin.json
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"name": "Version Upgrade 2.2 to 2.4",
|
||||
"author": "Ultimaker",
|
||||
"version": "1.0",
|
||||
"description": "Upgrades configurations from Cura 2.2 to Cura 2.4.",
|
||||
"api": 4,
|
||||
"catalog": "cura"
|
||||
}
|
||||
|
|
@ -10,13 +10,6 @@ upgrade = VersionUpgrade25to26.VersionUpgrade25to26()
|
|||
|
||||
def getMetaData():
|
||||
return {
|
||||
"plugin": {
|
||||
"name": catalog.i18nc("@label", "Version Upgrade 2.5 to 2.6"),
|
||||
"author": "Ultimaker",
|
||||
"version": "1.0",
|
||||
"description": catalog.i18nc("@info:whatsthis", "Upgrades configurations from Cura 2.5 to Cura 2.6."),
|
||||
"api": 3
|
||||
},
|
||||
"version_upgrade": {
|
||||
# From To Upgrade function
|
||||
("preferences", 4000000): ("preferences", 4000001, upgrade.upgradePreferences),
|
||||
|
|
|
|||
8
plugins/VersionUpgrade/VersionUpgrade25to26/plugin.json
Normal file
8
plugins/VersionUpgrade/VersionUpgrade25to26/plugin.json
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"name": "Version Upgrade 2.5 to 2.6",
|
||||
"author": "Ultimaker",
|
||||
"version": "1.0",
|
||||
"description": "Upgrades configurations from Cura 2.5 to Cura 2.6.",
|
||||
"api": 4,
|
||||
"catalog": "cura"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue