| 119 |
ghuddy |
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 PageInfoHash
|
|
|
23 |
Dim Query_String
|
|
|
24 |
Dim Auto
|
|
|
25 |
'------------ Constants Declaration -----------
|
|
|
26 |
'------------ Variable Init -------------------
|
|
|
27 |
Set PageInfoHash = CreateObject("Scripting.Dictionary")
|
|
|
28 |
'----------------------------------------------
|
|
|
29 |
%>
|
|
|
30 |
<%
|
|
|
31 |
'------------------------------------------------------------------------------------------------------------------------
|
|
|
32 |
'------------------------------------------------------------------------------------------------------------------------
|
|
|
33 |
%>
|
|
|
34 |
<%
|
|
|
35 |
'------------------------ MAIN LINE ---------------------------------
|
|
|
36 |
'--------------------------------------------------------------------
|
|
|
37 |
%>
|
|
|
38 |
<table width="100%" border="0" cellspacing="1" cellpadding="1">
|
|
|
39 |
<tr>
|
|
|
40 |
<td background="images/bg_form_lightbluedark.gif">
|
|
|
41 |
<table width="100%" border="0" cellspacing="1" cellpadding="3">
|
|
|
42 |
<tr>
|
|
|
43 |
<td nowrap class="body_txt" valign="top" background="images/bg_form_lightbluedark.gif">Package Version</td>
|
|
|
44 |
<td nowrap class="body_txt" valign="top" background="images/bg_form_lightbluedark.gif">Autobuilt</td>
|
|
|
45 |
<td nowrap class="body_txt" valign="top" background="images/bg_form_lightbluedark.gif">Lines Of Code</td>
|
|
|
46 |
<td nowrap class="body_txt" valign="top" background="images/bg_form_lightbluedark.gif">Unit Tested</td>
|
|
|
47 |
<td nowrap class="body_txt" valign="top" background="images/bg_form_lightbluedark.gif">Autotested</td>
|
|
|
48 |
<td nowrap class="body_txt" valign="top" background="images/bg_form_lightbluedark.gif">Branches</td>
|
|
|
49 |
</tr>
|
|
|
50 |
|
|
|
51 |
<%
|
|
|
52 |
OraDatabase.Parameters.Add "RTAG_ID", Request("rtag_id"), ORAPARM_INPUT, ORATYPE_NUMBER
|
|
|
53 |
|
|
|
54 |
Set rsTemp = OraDatabase.DbCreateDynaset( GetQuery("PackageMetricsList.sql"), cint(0))
|
|
|
55 |
|
|
|
56 |
OraDatabase.Parameters.Remove "RTAG_ID"
|
|
|
57 |
|
|
|
58 |
If rsTemp.RecordCount < 1 Then
|
|
|
59 |
%>
|
|
|
60 |
<tr>
|
|
|
61 |
<td colspan="7" background="images/bg_form_lightgray.gif" nowrap> </td>
|
|
|
62 |
</tr>
|
|
|
63 |
<%
|
|
|
64 |
Else
|
|
|
65 |
|
|
|
66 |
While ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF))
|
|
|
67 |
%>
|
|
|
68 |
<tr>
|
|
|
69 |
<td nowrap class="body_txt" background="images/bg_form_lightgray.gif"><a class="txt_linked" href="dependencies.asp?pv_id=<%=rsTemp("pv_id")%>&rtag_id=<%=rsTemp("rtag_id")%>"><%=rsTemp("pkg_name")%><%=VBNEWLine%><%=rsTemp("pkg_version")%></a></td>
|
|
|
70 |
<td nowrap class="body_txt" background="images/bg_form_lightgray.gif">
|
|
|
71 |
<%If rsTemp("is_autobuildable") = "Y" Then%>Yes<%Else%>No<%End If%>
|
|
|
72 |
</td>
|
|
|
73 |
<td nowrap class="body_txt" background="images/bg_form_lightgray.gif"><%=rsTemp("code_lines")%></td>
|
|
|
74 |
<td nowrap class="body_txt" background="images/bg_form_lightgray.gif">
|
|
|
75 |
<%If rsTemp("unit_tested") = "Y" Then%>Yes<%Else%>No<%End If%>
|
|
|
76 |
</td>
|
|
|
77 |
<td nowrap class="body_txt" background="images/bg_form_lightgray.gif">
|
|
|
78 |
<%If rsTemp("autotested") = "Y" Then%>Yes<%Else%>No<%End If%>
|
|
|
79 |
</td>
|
|
|
80 |
<td nowrap class="body_txt" background="images/bg_form_lightgray.gif"><%=rsTemp("branches")%></td>
|
|
|
81 |
</tr>
|
|
|
82 |
<!--
|
|
|
83 |
<tr>
|
|
|
84 |
<td colspan="6" background="images/bg_form_lightbluedark_line.gif"><img src="images/h_trsp_dot.gif" width="1" height="1"></td>
|
|
|
85 |
</tr>
|
|
|
86 |
-->
|
|
|
87 |
<%rsTemp.MoveNext
|
|
|
88 |
WEnd
|
|
|
89 |
rsTemp.Close
|
|
|
90 |
Set rsTemp = nothing
|
|
|
91 |
|
|
|
92 |
End If
|
|
|
93 |
%>
|
|
|
94 |
</table>
|
|
|
95 |
</td>
|
|
|
96 |
</tr>
|
|
|
97 |
</table>
|
|
|
98 |
<br>
|
|
|
99 |
|
|
|
100 |
<%
|
|
|
101 |
Call Destroy_All_Objects
|
|
|
102 |
%>
|