wok annotate tazbb/stuff/web/index.php @ rev 5963
freeradius: fix depends
author | Antoine Bodin <gokhlayeh@mailoo.org> |
---|---|
date | Thu Aug 05 23:03:13 2010 +0200 (2010-08-05) |
parents | 93b7952261f9 |
children | 56e550ff1e77 |
rev | line source |
---|---|
pankso@3512 | 1 <?php |
pascal@5818 | 2 $version='cooking'; |
pascal@5819 | 3 $notversion='stable'; |
pascal@5818 | 4 $wok='wok'; |
pascal@5818 | 5 if (isset($_GET['stable'])) { |
pascal@5818 | 6 $version='stable'; |
pascal@5819 | 7 $notversion='cooking'; |
pascal@5818 | 8 $wok='wok-stable'; |
pascal@5818 | 9 } |
pankso@3512 | 10 include("conf.php"); |
pankso@3512 | 11 ?> |
pankso@3512 | 12 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
pankso@3512 | 13 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
pankso@3512 | 14 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
pankso@3512 | 15 <head> |
pankso@3512 | 16 <title>SliTaz Build Bot</title> |
pankso@3512 | 17 <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /> |
pankso@3512 | 18 <meta name="description" content="Tazbb web interface" /> |
pankso@3512 | 19 <meta name="robots" content="index nofollow" /> |
pankso@3512 | 20 <link rel="shortcut icon" href="favicon.ico" /> |
pankso@3512 | 21 <link rel="stylesheet" type="text/css" href="slitaz.css" /> |
pankso@3512 | 22 </head> |
pankso@3512 | 23 |
pankso@3512 | 24 <body bgcolor="#ffffff"> |
pankso@3512 | 25 <!-- Header --> |
pankso@3512 | 26 <div id="header"> |
pascal@5845 | 27 <a name="top"></a> |
pascal@5818 | 28 <!-- Access --> |
pascal@5818 | 29 <div id="access"> |
pascal@5818 | 30 <a href="/<?php if ($version != 'stable') |
pascal@5818 | 31 echo "?stable"; ?>" title="Slitaz <?php |
pascal@5819 | 32 echo $notversion ?> packages"><?php echo $notversion ?></a> |
pascal@5818 | 33 </div> |
pankso@3512 | 34 <a href="http://bb.slitaz.org/"><img id="logo" |
pankso@3512 | 35 src="pics/website/logo.png" title="bb.slitaz.org" alt="bb.slitaz.org" |
pankso@3512 | 36 style="border: 0px solid ; width: 200px; height: 74px;" /></a> |
pascal@5845 | 37 <p id="titre">#!/bb/packages/<?php echo $version; ?></p> |
pankso@3512 | 38 </div> |
pankso@3512 | 39 |
pankso@5094 | 40 <!-- Navigation menu --> |
pankso@5094 | 41 <div id="nav"> |
pankso@5094 | 42 |
pankso@5094 | 43 <div class="nav_box"> |
pankso@5094 | 44 <h4>SliTaz Network</h4> |
pankso@5094 | 45 <ul> |
pankso@5094 | 46 <li><a href="http://www.slitaz.org/">Main Website</a></li> |
pankso@5094 | 47 <li><a href="http://doc.slitaz.org/">Documentation</a></li> |
pankso@5094 | 48 <li><a href="http://forum.slitaz.org/">Community Forum</a></li> |
pankso@5094 | 49 <li><a href="http://labs.slitaz.org/">SliTaz Labs</a></li> |
pankso@5094 | 50 <li><a href="http://pkgs.slitaz.org/">Packages Database</a></li> |
pankso@5094 | 51 <li><a href="http://twitter.com/slitaz">SliTaz on Twitter</a></li> |
pankso@5094 | 52 <li><a href="http://www.distrowatch.com/slitaz">SliTaz on DistroWatch</a></li> |
pankso@5094 | 53 </ul> |
pankso@5094 | 54 </div> |
pankso@5094 | 55 |
pankso@5094 | 56 <div class="nav_box"> |
pankso@5094 | 57 <h4>SliTaz Developers</h4> |
pankso@5094 | 58 <ul> |
pankso@5094 | 59 <li><a href="http://hg.slitaz.org/">Hg Repositories</a></li> |
pankso@5094 | 60 <li><a href="http://tank.slitaz.org/">Tank Server</a></li> |
pankso@5094 | 61 <li><a href="http://people.slitaz.org/">People Stuff</a></li> |
pankso@5094 | 62 <li><a href="http://labs.slitaz.org/wiki/distro">Distro Wiki</a></li> |
pankso@5094 | 63 |
pankso@5094 | 64 </ul> |
pankso@5094 | 65 </div> |
pankso@5094 | 66 |
pankso@5094 | 67 <!-- End navigation menu --> |
pankso@5094 | 68 </div> |
pankso@5094 | 69 |
pankso@3512 | 70 <!-- Content top. --> |
pankso@3512 | 71 <div id="content_top"> |
pankso@3512 | 72 <div class="top_left"></div> |
pankso@3512 | 73 <div class="top_right"></div> |
pankso@3512 | 74 </div> |
pankso@3512 | 75 |
pankso@3512 | 76 <!-- Content --> |
pankso@3512 | 77 <div id="content"> |
pankso@3512 | 78 |
pankso@3512 | 79 <h1><font color="#3E1220">Build Bot</font></h1> |
pankso@3512 | 80 <h2><font color="#DF8F06">/usr/bin/tazbb</font></h2> |
pankso@3512 | 81 |
pankso@3512 | 82 <p> |
paul@3527 | 83 Tazbb is a <a href="http://www.slitaz.org/">SliTaz GNU/Linux</a> Build Bot, |
paul@3527 | 84 it automatically cooks and tests packages commited in the wok. SliTaz |
pankso@3512 | 85 <a href="http://pkgs.slitaz.org/">packages</a> are cooked on the project |
pankso@3512 | 86 main server: code name <a href="http://tank.slitaz.org">Tank</a>. This |
paul@3527 | 87 web interface gives the current status of the build bot and the last report |
paul@3527 | 88 about any packages modified by the SliTaz contributors in the Mercurial |
pascal@4450 | 89 repositories, aka <a href="http://hg.slitaz.org/">Hg repos</a>. |
pankso@3512 | 90 </p> |
pankso@3512 | 91 |
pankso@3512 | 92 <p> |
pankso@3512 | 93 <form action="log.php" method="get"> |
pascal@5823 | 94 <?php |
pascal@5823 | 95 if ($version == 'stable') |
pascal@5823 | 96 echo '<input type="hidden" name="stable" value="1" />'; |
pascal@5823 | 97 ?> Show cooklog: <input type="text" name="package" /> |
pankso@3512 | 98 <!-- <input type="submit" value="Show" /> --> |
pankso@3512 | 99 </form> |
pankso@3512 | 100 </p> |
pankso@3512 | 101 |
pankso@3512 | 102 <h3>Summary</h3> |
pankso@3512 | 103 <pre class="package"> |
pankso@3512 | 104 <?php |
pankso@3512 | 105 |
pankso@3512 | 106 // Check curent status (update in real time) and display summary. |
pankso@3512 | 107 |
pankso@3512 | 108 if (file_exists($lockfile)) { |
pankso@3512 | 109 echo "Status : Running "; |
pankso@3512 | 110 include("$db_dir/running"); |
pankso@3512 | 111 } |
pankso@3512 | 112 else { |
pankso@3512 | 113 echo "Status : Not currently running\n"; |
pankso@3512 | 114 } |
pankso@3512 | 115 include("$db_dir/summary"); |
pankso@3512 | 116 |
pankso@3512 | 117 ?> |
pankso@3512 | 118 </pre> |
pankso@3512 | 119 |
pankso@3512 | 120 <h3>Report</h3> |
pankso@3512 | 121 <pre class="package"> |
pankso@3512 | 122 <?php |
pankso@3512 | 123 include("$db_dir/report"); |
pankso@3512 | 124 ?> |
pankso@3512 | 125 </pre> |
pankso@3512 | 126 |
pankso@3512 | 127 <h3>Cooklist</h3> |
pankso@3512 | 128 <pre class="package"> |
pankso@3512 | 129 <?php |
pankso@3512 | 130 include("$db_dir/cooklist"); |
pankso@3512 | 131 ?> |
pankso@3512 | 132 </pre> |
pankso@3512 | 133 |
pankso@3512 | 134 <h3>Unbuilt</h3> |
pankso@3512 | 135 <pre class="package"> |
pankso@3512 | 136 <?php |
pankso@3524 | 137 include("$db_dir/unbuilt"); |
pankso@3512 | 138 ?> |
pankso@3512 | 139 </pre> |
pankso@3512 | 140 |
pankso@3512 | 141 <h3>Blocked</h3> |
pankso@3512 | 142 <pre class="package"> |
pankso@3512 | 143 <?php |
pankso@3512 | 144 include("$db_dir/blocked.urls"); |
pankso@3512 | 145 ?> |
pankso@3512 | 146 </pre> |
pankso@3512 | 147 |
pankso@3512 | 148 <h3>Corrupted</h3> |
pankso@3512 | 149 <pre class="package"> |
pankso@3512 | 150 <?php |
pankso@3512 | 151 include("$db_dir/corrupted"); |
pankso@3512 | 152 ?> |
pankso@3512 | 153 </pre> |
pankso@3512 | 154 |
pankso@3512 | 155 <h3>Last cooked packages</h3> |
pankso@3512 | 156 <pre class="package"> |
pankso@3512 | 157 <?php |
pankso@3512 | 158 system("cd $packages && ls -1t *.tazpkg | head -20 | \ |
pankso@3512 | 159 while read file; do echo -n \$(stat -c '%y' $packages/\$file | \ |
pankso@3512 | 160 cut -d. -f1); echo ' '\$file; done"); ?> |
pankso@3512 | 161 </pre> |
pankso@3512 | 162 |
pankso@3512 | 163 <h3>Last removed packages</h3> |
pankso@3512 | 164 <pre class="package"> |
pankso@3512 | 165 <?php |
pankso@3512 | 166 include("$db_dir/removed"); |
pankso@3512 | 167 ?> |
pankso@3512 | 168 </pre> |
pankso@3512 | 169 |
pascal@4447 | 170 <h3>Last cooked flavors</h3> |
pascal@4447 | 171 <pre class="package"> |
pascal@4447 | 172 <?php |
pascal@4447 | 173 system("cd $packages && ls -1t *.flavor | head -20 | \ |
pascal@4447 | 174 while read file; do echo -n \$(stat -c '%y' $packages/\$file | \ |
pascal@4447 | 175 cut -d. -f1); echo ' '\$file; done"); ?> |
pascal@4447 | 176 </pre> |
pascal@4447 | 177 |
pankso@3512 | 178 <!-- End of content with round corner --> |
pankso@3512 | 179 </div> |
pankso@3512 | 180 |
pankso@3512 | 181 <!-- Start of footer and copy notice --> |
pankso@3512 | 182 <div id="copy"> |
pankso@3512 | 183 <p> |
pankso@5094 | 184 Copyright © 2010 <a href="http://www.slitaz.org/">SliTaz</a> - |
pankso@3512 | 185 <a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a> |
pankso@3512 | 186 </p> |
pankso@3512 | 187 <!-- End of copy --> |
pankso@3512 | 188 </div> |
pankso@3512 | 189 |
pankso@3512 | 190 <!-- Bottom and logo's --> |
pankso@3512 | 191 <div id="bottom"> |
pankso@3512 | 192 <p> |
pankso@3512 | 193 <a href="http://validator.w3.org/check?uri=referer"><img |
pankso@3512 | 194 src="pics/website/xhtml10.png" alt="Valid XHTML 1.0" |
pankso@3512 | 195 title="Code validé XHTML 1.0" |
pankso@3512 | 196 style="width: 80px; height: 15px;" /></a> |
pankso@3512 | 197 </p> |
pankso@3512 | 198 </div> |
pankso@3512 | 199 |
pankso@3512 | 200 </body> |
pankso@3512 | 201 </html> |