From 1d9140560f969d4545e5b1ba762a90a5385f62f4 Mon Sep 17 00:00:00 2001
From: Remi Collet Repositories last updated %s. Any feedback, RFE and patches are welcome.
+ Reports home
+
+ All packages
+
+
+
+
Choose a criteria from the search menu
";
+
+ //echo ""; print_r($rpms); echo "
";
+
+}
+catch(PDOException $e) {
+ printf("%s ERREUR : %s\n", date("r"), $e->getMessage());
+}
+
+?>
+
+
+
+ Legend:
+Repo: bold for latest release.
+
+
+
+
+ Reports home
+
+
+
+
Packages in Fedora repositories
+ Package reports
+
+
+ Analysed repositories
+
+
+\n";
+ echo " \n";
+
+ $sql='SELECT * FROM repo ORDER BY ID';
+ $res=$db->query($sql);
+ if ($res) for ($i=0, $prev="xx" ; $repo=$res->fetchObject() ; $i++, $prev=$repo->main) {
+ printf ("Main Active Sub Url Last update \n",
+ ($i%2 ? 'odd' : 'even'),
+ ($repo->main != $prev ? $repo->main : " "),
+ ($repo->main != $prev ? ($repo->active ? "Yes" : "no") : " "),
+ $repo->sub, $repo->url, $repo->url, date("r", $repo->stamp));
+ }
+ echo "\n";
+
+}
+catch(PDOException $e) {
+ printf("%s ERREUR : %s\n", date("r"), $e->getMessage());
+}
+
+?>
+
+%s %s %s %s %s Script sources
+
+
+ "This page",
+ "all.php" => "All Packages in Fedora",
+ "rpm.php" => "PHP Extensions in Fedora",
+ "refresh.php" => "The metadata refresh script launch twice a day by cron",
+ "zoom.php" => "Package detail");
+
+ $i=0;
+ foreach ($pages as $page => $name) if (is_file($page) && is_link($page."s")) {
+ $stat=stat($page);
+ printf ("Name Description Date \n",
+ ($i%2 ? 'odd' : 'even'), $page, $page, $name, date("r", $stat["mtime"]));
+ $i++;
+ }
+?>
+%s %s %s Installation Base pour RPM-PHP
+%s\n", $Sql);
+ $nb=$db->exec($Sql);
+ if ($nb === false) {
+ $err=$db->errorInfo();
+ printf("Erreur SQL : %s\n", $err[2]);
+ if ($AbortIfError) die("
** Abandon **");
+ }
+ else {
+ $ret = $db->lastInsertId();
+ if ($nb) printf("Nombre de rangées affectées : %d
%s\n", $Sql); + $res=$db->query($Sql); + if (!$res) { + $err=$db->errorInfo(); + printf("Erreur SQL : %s\n", $err[2]); + } else { + echo "
"; print_r($meta); echo " | ";
+ printf("%s | ", $meta["name"]); + } + while ($row = $res->fetch()) { + echo "
---|---|
"; print_r($row); echo " | ";
+ for ($i=0 ; $i<$res->columnCount() ; $i++) {
+ printf("%s | ", $row[$i]); + } + echo "
Verion PHP : %s
\n", phpversion());
+foreach ($db->query("SELECT VERSION() AS Version") as $Row)
+ printf ("Version du serveur : %s
Repositories last updated %s.
", date("r", $row->stamp)); + } + + Report($db, $type); + echo " 
"; + +} +catch(PDOException $e) { + printf("%s ERREUR : %s\n", date("r"), $e->getMessage()); +} + +?> + +Legend: | +Upstream: bold if stable. Repo: bold for latest release. | +Lastest released (stable if exists) |
+Lastest in testing |
+Lastest not available |
+
---|
Upstream info | |
---|---|
"; $i++; + echo "Summary | ". $rpm->summary . " |
"; $i++; + echo "Summary | ". $owner->summary . " |
"; $i++; + echo "URL | ". $rpm->url . " |
"; $i++; + echo "Type | ". $up->type . " |
"; $i++; + echo "Channel | ". $up->channel . " |
"; $i++; + echo "Stable version | ". $up->stable . " |
"; $i++; + echo "Unstable version | ". $up->unstable . ""; + if ($up->state) { + echo " (". $up->state . ")\n"; + } + echo " |
"; $i++; + echo "Owner | ". $owner->owner . ""; + if ($owner->cc) { + echo " (". $owner->cc . ")\n"; + } + } + echo " |
Packages available in Fedora Repositories | ||
---|---|---|
".($rpm->repo_main==$prev ? " " : $prev=$rpm->repo_main)." | "; + echo "".$rpm->repo_sub." | "; + echo "".($rpm->epoch ? $rpm->epoch.":" : "").$rpm->ver."-".$rpm->rel." | "; + echo "