added a apt repo updater... that doesnt work
[glcas.git] / plugins / knownos.php
index eda7b96..1a8b447 100644 (file)
@@ -37,11 +37,36 @@ function getKnownOSList()
        $kos["repotype"]["apt"][0] = "baseurl";
        
        // OS's
-       $kos["os"]["Fedora"] = "Fedora";
-       $kos["os"]["Debian"] = "Debian";
-       $kos["os"]["RedHat"] = "RedHat Enterprise Linux";
-       $kos["os"]["Ubuntu"] = "Ubuntu";
-       $kos["os"]["CentOS"] = "Community Enterprise OS";
+       $kos["os"]["short"]["fedora"] = "Fedora";
+       $kos["os"]["short"]["debian"] = "Debian";
+       $kos["os"]["short"]["redhat"] = "RedHat";
+       $kos["os"]["short"]["ubuntu"] = "Ubuntu";
+       $kos["os"]["short"]["centos"] = "CentOS";
+       $kos["os"]["fedora"]["long"] = "Fedora";
+       $kos["os"]["debian"]["long"] = "Debian";
+       $kos["os"]["redhat"]["long"] = "RedHat Enterprise Linux";
+       $kos["os"]["ubuntu"]["long"] = "Ubuntu";
+       $kos["os"]["centos"]["long"] = "Community Enterprise OS";
+       
+       
+       // ubuntu bit for apt
+       // TODO uncomment these ones out of testing
+       $kos["apt"]["hardy"] = "Hardy Heron (8.04 LTS)";
+       $kos["apt"]["karmic"] = "Karmic Koala (9.10)";
+       $kos["apt"]["lucid"] = "Lucid Lynx (10.04 LTS)";
+       $kos["apt"]["maverick"] = "Maverick Meerkat (10.10)";
+       $kos["apt"]["natty"] = "Natty Narwhal (11.04)";
+       $kos["apt"]["oneiric"] = "Oneiric Ocelot (11.10)";
+       $kos["apt"]["lenny"] = "Debian Lenny";
+       $kos["apt"]["sid"] = "Debian Sid";
+       $kos["apt"]["squeeze"] = "Debian Squeeze";
+       $kos["apt"]["wheezy"] = "Debian Wheezy";
+       $kos["apt"]["stable"] = "Debian Stable";
+       $kos["apt"]["unstable"] = "Debian Unstable";
+       
+       
+
+                               
        
        // Repo types per os
        $kos["os"]["Fedora"]["repotype"] = "yum";
@@ -50,6 +75,12 @@ function getKnownOSList()
        $kos["os"]["Ubuntu"]["repotype"] = "apt";
        $kos["os"]["CentOS"]["repotype"] = "yum";
        
+       // architectyres
+       $kos["arch"]["intel32"] = "i386";
+       $kos["arch"]["amdcrazy"] = "i586";
+       $kos["arch"]["amd64"] = "x86_64";
+       $kos["arch"]["amd64_2"] = "amd64";
+       
        
        
        return $kos;