source: orange/install-scripts/linux/index.asp @ 3213:94f5915c9986

Revision 3213:94f5915c9986, 2.3 KB checked in by cvso <cvso@…>, 7 years ago (diff)

no message

Line 
1<%@ Language=Python %>
2<%
3import os, time
4
5def timeLinkOrNotFound(fname, desc):
6    return os.path.exists(fname) and "<a href=%s>%s</a> (%s)" % (fname, desc, time.ctime(os.path.getmtime(fname))) or "%s (not found)" % (desc)
7
8def includeOrNotFound(fname):
9    return os.path.exists(fname) and file(fname, "rt").read() or "not found!"
10%>
11
12<HTML>
13<HEAD>
14<TITLE>Orange daily build report</TITLE>
15<link rel="shortcut icon" href="orange.ico">
16</HEAD>
17<BODY>
18
19<table>
20<tr>
21<td valign=top><b>Linux</b></td>
22<td>
23 <P><%=timeLinkOrNotFound("linux.output.log", "Full log for Orange daily build")%></p>
24 <p><%=timeLinkOrNotFound("linux.compiling.log", "compile log")%><br>
25 <%=timeLinkOrNotFound("linux.install.log", "local install log")%><br>
26 <%=timeLinkOrNotFound("linux.regress.log", "regression tests log")%></p>
27</td>
28</tr>
29<tr><td>&nbsp;</td></tr>
30<tr><td valign=top><b>Windows&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</b></td>
31<td>
32 <p><a href="index.asp#windowsLog">Full log for Orange daily build</a></p>
33 <p><%=timeLinkOrNotFound("windows.compiling.log", "compile log (daily snapshots)")%><br>
34 <table><tr><td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td>
35<%
36for ver in range(23, 26):
37    fn = "win-compile-%s.log" % ver
38    if os.path.exists(fn):
39        l1 = None
40        for l in file(fn):
41            l2 = l1
42            l1 = l
43        Response.Write('<a href="index.asp#win-compile-py%i">Build for Python %2.1f</a> (%s; %s)<br/>\n' % (ver, ver/10., time.ctime(os.path.getmtime(fn)), l2.replace("=","").replace("Build: ", "").strip()))
44    else:
45        Response.Write('Build for Python %2.1f: log file not found<br/>\n' % (ver/10., ))
46%>
47  </td></tr></table>
48<%=timeLinkOrNotFound("windows.regress.log", "install and regression tests log")%></P>
49</td></tr>
50</table>
51
52<P>&nbsp;</P>
53<P><a href="regressionTests">Regression test output files</a></p>
54<P>&nbsp;</P>
55
56<h3>Full Log on Linux</h3>
57<pre>
58<%=includeOrNotFound("linux.output.log")%>
59</pre>
60
61<a name="windowsLog"></a>
62<h3>Full Log on Windows</h3>
63<pre>
64<%=includeOrNotFound("windows.compiling.log")%>
65</pre>
66
67<%
68for ver in range(23, 26):
69    fname = "win-compile-%s.log" % ver
70    if os.path.exists(fn):
71        Response.Write('<a name="win-compile-py%i"></a><h3>Compiling for Python %2.1f</h3><pre>%s</pre>' % (ver, ver/10., file(fname, "rt").read()))
72       
73
74%>
75<h3>Regression tests</h3>
76
77<pre>
78<%=includeOrNotFound("windows.regress.log")%>
79</pre>
80
81</BODY>
82</HTML>
Note: See TracBrowser for help on using the repository browser.