Update upload script for new distro versions.

This commit is contained in:
John Maguire 2013-09-10 14:50:34 +02:00
parent 954b897ebe
commit f8b9d6968a
1 changed files with 15 additions and 23 deletions

View File

@ -21,16 +21,14 @@ LABELS = {
"deb": ["Type-Package", "OpSys-Linux"],
"rpm": ["Type-Package", "OpSys-Linux", "Distro-Fedora"],
"exe": ["Type-Package", "OpSys-Windows", "Arch-i386"],
"dmg": ["Type-Package", "OpSys-OSX", "Distro-SnowLeopard", "Arch-x86-64"],
"dmg": ["Type-Package", "OpSys-OSX", "Distro-Lion", "Arch-x86-64"],
32: ["Arch-i386"],
64: ["Arch-x86-64"],
"lucid": ["Distro-Ubuntu"],
"maverick": ["Distro-Ubuntu"],
"natty": ["Distro-Ubuntu"],
"oneiric": ["Distro-Ubuntu"],
"precise": ["Distro-Ubuntu"],
"quantal": ["Distro-Ubuntu"],
"raring": ["Distro-Ubuntu"],
"squeeze": ["Distro-Debian"],
"wheezy": ["Distro-Debian"],
}
@ -53,39 +51,33 @@ RPM_ARCH = {
}
DESCRIPTIONS = {
("deb", "lucid"): "for Ubuntu Lucid (10.04)",
("deb", "maverick"): "for Ubuntu Maverick (10.10)",
("deb", "natty"): "for Ubuntu Natty (11.04)",
("deb", "oneiric"): "for Ubuntu Oneiric (11.10)",
("deb", "precise"): "for Ubuntu Precise (12.04)",
("deb", "quantal"): "for Ubuntu Quantal (12.10)",
("deb", "raring"): "for Ubuntu Raring (13.04)",
("deb", "squeeze"): "for Debian Squeeze",
("rpm", "fc16"): "for Fedora 16",
("rpm", "fc17"): "for Fedora 17",
("deb", "wheezy"): "for Debian Wheezy",
("rpm", "fc18"): "for Fedora 18",
("rpm", "fc19"): "for Fedora 19",
("exe", None): "for Windows",
("dmg", None): "for Mac OS X",
("tar.gz", None): "source",
}
RELEASES = [
("deb", "lucid", 32),
("deb", "lucid", 64),
("deb", "maverick", 32),
("deb", "maverick", 64),
("deb", "natty", 32),
("deb", "natty", 64),
("deb", "oneiric", 32),
("deb", "oneiric", 64),
("deb", "precise", 32),
("deb", "precise", 64),
("deb", "quantal", 32),
("deb", "quantal", 64),
("deb", "raring", 32),
("deb", "raring", 64),
("deb", "squeeze", 32),
("deb", "squeeze", 64),
("rpm", "fc16", 32),
("rpm", "fc16", 64),
("rpm", "fc17", 32),
("rpm", "fc17", 64),
("deb", "wheezy", 32),
("deb", "wheezy", 64),
("rpm", "fc18", 32),
("rpm", "fc18", 64),
("rpm", "fc19", 32),
("rpm", "fc19", 64),
("exe", None, None),
("dmg", None, None),
("tar.gz", None, None),