| 6650 |
dpurdie |
1 |
<%@LANGUAGE="VBSCRIPT"%>
|
|
|
2 |
<%
|
|
|
3 |
'=====================================================
|
|
|
4 |
'| |
|
|
|
5 |
'| RequestReleasePackages.asp |
|
|
|
6 |
'| |
|
|
|
7 |
'=====================================================
|
|
|
8 |
%>
|
|
|
9 |
<%
|
|
|
10 |
Option explicit
|
|
|
11 |
' Good idea to set when using redirect
|
|
|
12 |
Response.Expires = 0 ' always load the page, dont store
|
|
|
13 |
%>
|
|
|
14 |
<!--#include file="common/conf.asp"-->
|
|
|
15 |
<!--#include file="common/globals.asp"-->
|
|
|
16 |
<!--#include file="common/formating.asp"-->
|
|
|
17 |
<!--#include file="common/qstr.asp"-->
|
|
|
18 |
<!--#include file="common/common_subs.asp"-->
|
|
|
19 |
<%
|
|
|
20 |
'------------ Variable Definition -------------
|
|
|
21 |
Dim rsTemp
|
|
|
22 |
Dim BaseId
|
|
|
23 |
'------------ Constants Declaration -----------
|
|
|
24 |
'------------ Variable Init -------------------
|
|
|
25 |
'----------------------------------------------
|
|
|
26 |
%>
|
|
|
27 |
<%
|
|
|
28 |
'------------------------ MAIN LINE ---------------------------------
|
|
|
29 |
%>
|
|
|
30 |
<!-- RequestReleasePackageList.asp -->
|
|
|
31 |
<table width="100%" border="0" cellspacing="1" cellpadding="1">
|
|
|
32 |
<tr class="form_field_bg">
|
|
|
33 |
<td>
|
|
|
34 |
<table width="100%" border="0" cellspacing="1" cellpadding="1" class="etable">
|
|
|
35 |
<tr class="form_field_bg">
|
| 6651 |
dpurdie |
36 |
<th nowrap class="body_row" valign="top">Package Version</th>
|
|
|
37 |
<th nowrap class="body_row" valign="top">Autobuilt</th>
|
|
|
38 |
<th nowrap class="body_row" valign="top">Lines Of Code</th>
|
|
|
39 |
<th nowrap class="body_row" valign="top">Unit Tested</th>
|
|
|
40 |
<th nowrap class="body_row" valign="top">Autotested</th>
|
|
|
41 |
<th nowrap class="body_row" valign="top">Last Modified</th>
|
| 6650 |
dpurdie |
42 |
</tr>
|
|
|
43 |
|
|
|
44 |
<%
|
|
|
45 |
OraDatabase.Parameters.Add "RTAG_ID", Request("rtag_id"), ORAPARM_INPUT, ORATYPE_NUMBER
|
|
|
46 |
Set rsTemp = OraDatabase.DbCreateDynaset( GetQuery("PackageMetricsList.sql"), cint(0))
|
|
|
47 |
OraDatabase.Parameters.Remove "RTAG_ID"
|
|
|
48 |
|
|
|
49 |
If rsTemp.RecordCount < 1 Then
|
|
|
50 |
%>
|
|
|
51 |
<tr class="form_field_grey_bg">
|
|
|
52 |
<td colspan="7" nowrap> </td>
|
|
|
53 |
</tr>
|
|
|
54 |
<%
|
|
|
55 |
Else
|
|
|
56 |
|
|
|
57 |
While ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF))
|
|
|
58 |
BaseId = "PREV_" & Request("rtag_id") & "_" & rsTemp("pv_id")
|
|
|
59 |
%>
|
| 6651 |
dpurdie |
60 |
<tr class="form_field_grey_bg csvData">
|
| 6650 |
dpurdie |
61 |
<td nowrap class="body_row">
|
|
|
62 |
<a href="javascript://rtag_id=<%=Request("rtag_id")%>&pv_id=<%=rsTemp("pv_id")%>;" class="txt_linked" onClick="ToggleLoadControl('<%=BaseId%>','RequestPackageVersionHistoryMetrics.asp?rtag_id=<%=Request("rtag_id")%>&pv_id=<%=rsTemp("pv_id")%>');"><img id='IMG_<%=BaseId%>' src="images/bt_plus.gif" border="0" align="absmiddle" hspace="3"><img src="images/i_world.gif" border="0" align="absmiddle" hspace="3"></a>
|
|
|
63 |
<a class="txt_linked" href="dependencies.asp?pv_id=<%=rsTemp("pv_id")%>&rtag_id=<%=rsTemp("rtag_id")%>"><%=rsTemp("pkg_name")%> <%=rsTemp("pkg_version")%></a>
|
|
|
64 |
</td>
|
|
|
65 |
<td nowrap class="body_row">
|
|
|
66 |
<%If rsTemp("is_autobuildable") = "Y" Then%>Yes<%Else%>No<%End If%>
|
|
|
67 |
</td>
|
|
|
68 |
<td nowrap class="body_row tright"><%=rsTemp("code_lines")%></td>
|
|
|
69 |
<td nowrap class="body_row">
|
|
|
70 |
<%If rsTemp("unit_tested") = "Y" Then%>Yes<%Else%>No<%End If%>
|
|
|
71 |
</td>
|
|
|
72 |
<td nowrap class="body_row tright">
|
|
|
73 |
<%If IsNull(rsTemp("autotested")) OR rsTemp("autotested") <> "Y" Then %>No<%ElseIf rsTemp("test_count") = "0" Then%>?<%Else%><%=rsTemp("test_count")%><%End If%>
|
|
|
74 |
</td>
|
|
|
75 |
<td nowrap class="body_row"><%=rsTemp("modified_stamp")%></td>
|
|
|
76 |
</tr>
|
|
|
77 |
<tr class="form_field_bg" id='TGL_<%=BaseId%>' style="display:none;">
|
|
|
78 |
<td nowrap class="body_row" colspan="6"><div class='subSectionIndent' id='<%=BaseId%>'><%=enumLOADING%></td></div>
|
|
|
79 |
</tr>
|
|
|
80 |
<%rsTemp.MoveNext
|
|
|
81 |
WEnd
|
|
|
82 |
rsTemp.Close
|
|
|
83 |
Set rsTemp = nothing
|
|
|
84 |
End If
|
|
|
85 |
%>
|
|
|
86 |
</table>
|
|
|
87 |
</td>
|
|
|
88 |
</tr>
|
|
|
89 |
</table>
|
|
|
90 |
<br>
|
|
|
91 |
<%
|
|
|
92 |
Call Destroy_All_Objects
|
|
|
93 |
%>
|
|
|
94 |
|