2 $URL_HANDLERS["*"] = "GLCASRepo";
6 function __construct($config)
8 $this->config = $config;
13 error_log("repo:go called");
14 GLCASpageBuilder($this, "body");
19 echo "for the repo, i am the repo $url";
22 function getRepoDetailsYum($url, $ismirrorlist=false)
24 $actionurl = $url."/repodata/repomd.xml";
26 error_log("Getting for action of $actionurl");
28 $ld = file_get_contents($actionurl);
30 // so here we try and get what this repository provides (os, version, arch), for yum this
31 // should come straight off the url... i.e. centos/6.0/os/x86_64/ (centos, 6.0, base os, 64bit arch)
33 if(!$ld) return false;
35 $glt["OS"] = "Fedora";
36 $glt["version"] = "15";
37 $glt["arch"] = "x86_64";