Moved certain meta data entries to seperate file

CURA-3856 & CURA-3712
This commit is contained in:
Jaime van Kessel 2017-06-21 11:22:35 +02:00
parent 015c253252
commit 44125d3275
54 changed files with 224 additions and 203 deletions

View file

@ -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),

View 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"
}

View file

@ -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),

View 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"
}

View file

@ -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),

View 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"
}