X-Git-Url: http://git.pjr.cc/?p=glcas.git;a=blobdiff_plain;f=plugins%2Frepo.php;h=c85ff128b091b48680d0d1a58a81b85839e7b1c9;hp=804a5ce32251fa7562854143b4d42e5bd73617f6;hb=f99212f7d29b648f3698cf31cbcda6bc04cda182;hpb=17d5412ef5bdde749ce57dbdd627243eb0d701a8 diff --git a/plugins/repo.php b/plugins/repo.php index 804a5ce..c85ff12 100644 --- a/plugins/repo.php +++ b/plugins/repo.php @@ -9,7 +9,26 @@ class GLCASRepo { function go($url) { - echo "i am the repo man, i repo the repo"; + error_log("repo:go called"); + GLCASpageBuilder($this, "body"); + } + + function body($url) + { + echo "for the repo, i am the repo $url"; + } + + function getRepoDetailsYum($url) + { + $actionurl = $url."/repodata/repomd.xml"; + + error_log("Getting for action of $actionurl"); + + $ld = file_get_contents($actionurl); + + if(!$ld) return false; + + return $ld; } private $config;