wok-current annotate tazbb/stuff/web/index.php @ rev 3738
add cclfox
author | Allan Pinto <allan316@gmail.com> |
---|---|
date | Thu Jul 23 11:23:03 2009 +0000 (2009-07-23) |
parents | 3a4db8353759 |
children | 885cb81bbcba |
rev | line source |
---|---|
pankso@3512 | 1 <?php |
pankso@3512 | 2 include("conf.php"); |
pankso@3512 | 3 ?> |
pankso@3512 | 4 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
pankso@3512 | 5 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
pankso@3512 | 6 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
pankso@3512 | 7 <head> |
pankso@3512 | 8 <title>SliTaz Build Bot</title> |
pankso@3512 | 9 <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /> |
pankso@3512 | 10 <meta name="description" content="Tazbb web interface" /> |
pankso@3512 | 11 <meta name="robots" content="index nofollow" /> |
pankso@3512 | 12 <link rel="shortcut icon" href="favicon.ico" /> |
pankso@3512 | 13 <link rel="stylesheet" type="text/css" href="slitaz.css" /> |
pankso@3512 | 14 </head> |
pankso@3512 | 15 |
pankso@3512 | 16 <body bgcolor="#ffffff"> |
pankso@3512 | 17 <!-- Header --> |
pankso@3512 | 18 <div id="header"> |
pankso@3512 | 19 <a name="top"></a> |
pankso@3512 | 20 <!-- Access --> |
pankso@3512 | 21 <div id="access"> |
pankso@3512 | 22 <a href="http://forum.slitaz.org/">Forum</a> |
pankso@3512 | 23 <a href="http://wiki.slitaz.org/">Wiki</a> |
pankso@3512 | 24 <a href="http://art.slitaz.org/">Art</a> |
pankso@3512 | 25 <a href="http://labs.slitaz.org/">Labs</a> |
pankso@3512 | 26 <a href="http://pkgs.slitaz.org/">Packages</a> |
pankso@3512 | 27 <a href="http://hg.slitaz.org/">Hg</a> |
pankso@3512 | 28 </div> |
pankso@3512 | 29 <a href="http://bb.slitaz.org/"><img id="logo" |
pankso@3512 | 30 src="pics/website/logo.png" title="bb.slitaz.org" alt="bb.slitaz.org" |
pankso@3512 | 31 style="border: 0px solid ; width: 200px; height: 74px;" /></a> |
pankso@3512 | 32 <p id="titre">#!/bb/packages</p> |
pankso@3512 | 33 </div> |
pankso@3512 | 34 |
pankso@3512 | 35 <!-- Content top. --> |
pankso@3512 | 36 <div id="content_top"> |
pankso@3512 | 37 <div class="top_left"></div> |
pankso@3512 | 38 <div class="top_right"></div> |
pankso@3512 | 39 </div> |
pankso@3512 | 40 |
pankso@3512 | 41 <!-- Content --> |
pankso@3512 | 42 <div id="content"> |
pankso@3512 | 43 |
pankso@3512 | 44 <h1><font color="#3E1220">Build Bot</font></h1> |
pankso@3512 | 45 <h2><font color="#DF8F06">/usr/bin/tazbb</font></h2> |
pankso@3512 | 46 |
pankso@3512 | 47 <p> |
paul@3527 | 48 Tazbb is a <a href="http://www.slitaz.org/">SliTaz GNU/Linux</a> Build Bot, |
paul@3527 | 49 it automatically cooks and tests packages commited in the wok. SliTaz |
pankso@3512 | 50 <a href="http://pkgs.slitaz.org/">packages</a> are cooked on the project |
pankso@3512 | 51 main server: code name <a href="http://tank.slitaz.org">Tank</a>. This |
paul@3527 | 52 web interface gives the current status of the build bot and the last report |
paul@3527 | 53 about any packages modified by the SliTaz contributors in the Mercurial |
paul@3527 | 54 <a href="http://hg.slitaz.org/">Hg repos</a>. |
pankso@3512 | 55 </p> |
pankso@3512 | 56 |
pankso@3512 | 57 <p> |
pankso@3512 | 58 <form action="log.php" method="get"> |
pankso@3512 | 59 Show cooklog: <input type="text" name="package" /> |
pankso@3512 | 60 <!-- <input type="submit" value="Show" /> --> |
pankso@3512 | 61 </form> |
pankso@3512 | 62 </p> |
pankso@3512 | 63 |
pankso@3512 | 64 <h3>Summary</h3> |
pankso@3512 | 65 <pre class="package"> |
pankso@3512 | 66 <?php |
pankso@3512 | 67 |
pankso@3512 | 68 // Check curent status (update in real time) and display summary. |
pankso@3512 | 69 |
pankso@3512 | 70 if (file_exists($lockfile)) { |
pankso@3512 | 71 echo "Status : Running "; |
pankso@3512 | 72 include("$db_dir/running"); |
pankso@3512 | 73 } |
pankso@3512 | 74 else { |
pankso@3512 | 75 echo "Status : Not currently running\n"; |
pankso@3512 | 76 } |
pankso@3512 | 77 include("$db_dir/summary"); |
pankso@3512 | 78 |
pankso@3512 | 79 ?> |
pankso@3512 | 80 </pre> |
pankso@3512 | 81 |
pankso@3512 | 82 <h3>Report</h3> |
pankso@3512 | 83 <pre class="package"> |
pankso@3512 | 84 <?php |
pankso@3512 | 85 include("$db_dir/report"); |
pankso@3512 | 86 ?> |
pankso@3512 | 87 </pre> |
pankso@3512 | 88 |
pankso@3512 | 89 <h3>Cooklist</h3> |
pankso@3512 | 90 <pre class="package"> |
pankso@3512 | 91 <?php |
pankso@3512 | 92 include("$db_dir/cooklist"); |
pankso@3512 | 93 ?> |
pankso@3512 | 94 </pre> |
pankso@3512 | 95 |
pankso@3512 | 96 <h3>Unbuilt</h3> |
pankso@3512 | 97 <pre class="package"> |
pankso@3512 | 98 <?php |
pankso@3524 | 99 include("$db_dir/unbuilt"); |
pankso@3512 | 100 ?> |
pankso@3512 | 101 </pre> |
pankso@3512 | 102 |
pankso@3512 | 103 <h3>Blocked</h3> |
pankso@3512 | 104 <pre class="package"> |
pankso@3512 | 105 <?php |
pankso@3512 | 106 include("$db_dir/blocked.urls"); |
pankso@3512 | 107 ?> |
pankso@3512 | 108 </pre> |
pankso@3512 | 109 |
pankso@3512 | 110 <h3>Corrupted</h3> |
pankso@3512 | 111 <pre class="package"> |
pankso@3512 | 112 <?php |
pankso@3512 | 113 include("$db_dir/corrupted"); |
pankso@3512 | 114 ?> |
pankso@3512 | 115 </pre> |
pankso@3512 | 116 |
pankso@3512 | 117 <h3>Last cooked packages</h3> |
pankso@3512 | 118 <pre class="package"> |
pankso@3512 | 119 <?php |
pankso@3512 | 120 system("cd $packages && ls -1t *.tazpkg | head -20 | \ |
pankso@3512 | 121 while read file; do echo -n \$(stat -c '%y' $packages/\$file | \ |
pankso@3512 | 122 cut -d. -f1); echo ' '\$file; done"); ?> |
pankso@3512 | 123 </pre> |
pankso@3512 | 124 |
pankso@3512 | 125 <h3>Last removed packages</h3> |
pankso@3512 | 126 <pre class="package"> |
pankso@3512 | 127 <?php |
pankso@3512 | 128 include("$db_dir/removed"); |
pankso@3512 | 129 ?> |
pankso@3512 | 130 </pre> |
pankso@3512 | 131 |
pankso@3512 | 132 <!-- End of content with round corner --> |
pankso@3512 | 133 </div> |
pankso@3512 | 134 <div id="content_bottom"> |
pankso@3512 | 135 <div class="bottom_left"></div> |
pankso@3512 | 136 <div class="bottom_right"></div> |
pankso@3512 | 137 </div> |
pankso@3512 | 138 |
pankso@3512 | 139 <!-- Start of footer and copy notice --> |
pankso@3512 | 140 <div id="copy"> |
pankso@3512 | 141 <p> |
pankso@3512 | 142 Copyright © 2009 <a href="http://www.slitaz.org/">SliTaz</a> - |
pankso@3512 | 143 <a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a> |
pankso@3512 | 144 </p> |
pankso@3512 | 145 <!-- End of copy --> |
pankso@3512 | 146 </div> |
pankso@3512 | 147 |
pankso@3512 | 148 <!-- Bottom and logo's --> |
pankso@3512 | 149 <div id="bottom"> |
pankso@3512 | 150 <p> |
pankso@3512 | 151 <a href="http://validator.w3.org/check?uri=referer"><img |
pankso@3512 | 152 src="pics/website/xhtml10.png" alt="Valid XHTML 1.0" |
pankso@3512 | 153 title="Code validé XHTML 1.0" |
pankso@3512 | 154 style="width: 80px; height: 15px;" /></a> |
pankso@3512 | 155 </p> |
pankso@3512 | 156 </div> |
pankso@3512 | 157 |
pankso@3512 | 158 </body> |
pankso@3512 | 159 </html> |