wok-6.x view tazbb/stuff/web/index.php @ rev 5195

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