aboutsummaryrefslogtreecommitdiffstats
path: root/make_report.php
diff options
context:
space:
mode:
authorRomain d'Alverny <rda@mageia.org>2011-05-04 13:26:54 +0000
committerRomain d'Alverny <rda@mageia.org>2011-05-04 13:26:54 +0000
commitd08c07b68d0e88d863f597fe5e9ed72d84229ab7 (patch)
tree30b86dbcb4af35e87f2a76c637a214583022a0db /make_report.php
parent25cbfbccf63d176683a3da50913679cab311e21c (diff)
downloaddashboard-d08c07b68d0e88d863f597fe5e9ed72d84229ab7.tar
dashboard-d08c07b68d0e88d863f597fe5e9ed72d84229ab7.tar.gz
dashboard-d08c07b68d0e88d863f597fe5e9ed72d84229ab7.tar.bz2
dashboard-d08c07b68d0e88d863f597fe5e9ed72d84229ab7.tar.xz
dashboard-d08c07b68d0e88d863f597fe5e9ed72d84229ab7.zip
initial import
Diffstat (limited to 'make_report.php')
-rw-r--r--make_report.php28
1 files changed, 28 insertions, 0 deletions
diff --git a/make_report.php b/make_report.php
new file mode 100644
index 0000000..be11d18
--- /dev/null
+++ b/make_report.php
@@ -0,0 +1,28 @@
+<?php
+/**
+ * Generate dashboard static report page.
+ *
+ * Should be called by a cron job, every 15 minutes.
+ *
+ * PHP version 5
+ *
+ * @category Dashboard
+ * @package Buildsystem
+ * @author Romain d'Alverny <rda@mageia.org>
+ * @license MIT License, see LICENSE.txt
+ * @link http://svnweb.mageia.org/svn/soft/dashboard/
+*/
+
+require 'Report/Box.php';
+require 'Report/HTML.php';
+
+Report_Box::run_report();
+die;
+
+// todo locales/languages summary : how many in total, which coverage globally?
+
+$a = new Report_Box_SourcePackage();
+//$a->update();
+print_r($a->render());
+
+echo "\n"; \ No newline at end of file