| Line 1... |
Line 1... |
| 1 |
<%@LANGUAGE="VBSCRIPT"%>
|
1 |
<%@LANGUAGE="VBSCRIPT"%>
|
| 2 |
<%
|
2 |
<%
|
| 3 |
'=====================================================
|
3 |
'=====================================================
|
| 4 |
'| |
|
4 |
'| |
|
| 5 |
'| RequestReleasePackages.asp |
|
5 |
'| RequestReleasePackages.asp |
|
| 6 |
'| |
|
6 |
'| |
|
| 7 |
'=====================================================
|
7 |
'=====================================================
|
| 8 |
%>
|
8 |
%>
|
| 9 |
<%
|
9 |
<%
|
| 10 |
Option explicit
|
10 |
Option explicit
|
| 11 |
' Good idea to set when using redirect
|
11 |
' Good idea to set when using redirect
|
| 12 |
Response.Expires = 0 ' always load the page, dont store
|
12 |
Response.Expires = 0 ' always load the page, dont store
|
| 13 |
%>
|
13 |
%>
|
| 14 |
<!--#include file="common/conf.asp"-->
|
14 |
<!--#include file="common/conf.asp"-->
|
| 15 |
<!--#include file="common/globals.asp"-->
|
15 |
<!--#include file="common/globals.asp"-->
|
| 16 |
<!--#include file="common/formating.asp"-->
|
16 |
<!--#include file="common/formating.asp"-->
|
| 17 |
<!--#include file="common/qstr.asp"-->
|
17 |
<!--#include file="common/qstr.asp"-->
|
| 18 |
<!--#include file="common/common_subs.asp"-->
|
18 |
<!--#include file="common/common_subs.asp"-->
|
| 19 |
<%
|
19 |
<%
|
| 20 |
'------------ Variable Definition -------------
|
20 |
'------------ Variable Definition -------------
|
| 21 |
Dim rsTemp
|
21 |
Dim rsTemp
|
| 22 |
Dim PageInfoHash
|
22 |
Dim PageInfoHash
|
| 23 |
Dim Query_String
|
- |
|
| 24 |
Dim Auto
|
- |
|
| 25 |
'------------ Constants Declaration -----------
|
23 |
'------------ Constants Declaration -----------
|
| 26 |
'------------ Variable Init -------------------
|
24 |
'------------ Variable Init -------------------
|
| 27 |
Set PageInfoHash = CreateObject("Scripting.Dictionary")
|
25 |
Set PageInfoHash = CreateObject("Scripting.Dictionary")
|
| 28 |
'----------------------------------------------
|
26 |
'----------------------------------------------
|
| 29 |
%>
|
27 |
%>
|
| Line 34... |
Line 32... |
| 34 |
<%
|
32 |
<%
|
| 35 |
'------------------------ MAIN LINE ---------------------------------
|
33 |
'------------------------ MAIN LINE ---------------------------------
|
| 36 |
'--------------------------------------------------------------------
|
34 |
'--------------------------------------------------------------------
|
| 37 |
%>
|
35 |
%>
|
| 38 |
<table width="100%" border="0" cellspacing="1" cellpadding="1">
|
36 |
<table width="100%" border="0" cellspacing="1" cellpadding="1">
|
| - |
|
37 |
<tr>
|
| - |
|
38 |
<td background="images/bg_form_lightbluedark.gif">
|
| - |
|
39 |
<table width="100%" border="0" cellspacing="1" cellpadding="1">
|
| - |
|
40 |
<td background="images/bg_form_lightgray.gif" nowrap class="body_txt">
|
| - |
|
41 |
<SPAN id="IMG_EXPAND_RTAG_<%=Request("rtag_id")%>_TOP10_1_WEEK" style="display:block;">
|
| - |
|
42 |
<a href="javascript:;" class="txt_linked" onClick="RequestTop10ChangesInLastWeek('?rtag_id=<%=Request("rtag_id")%>&Interval=1', '<%=Request("rtag_id")%>');">
|
| - |
|
43 |
<img src="images/bt_plus.gif" border="0" align="absmiddle" hspace="3"><img src="images/i_world.gif" border="0" align="absmiddle" hspace="3">
|
| - |
|
44 |
Top 10 Changed Packages In Last Week
|
| - |
|
45 |
</a>
|
| - |
|
46 |
</SPAN>
|
| - |
|
47 |
<SPAN id="IMG_COLLAPSE_RTAG_<%=Request("rtag_id")%>_TOP10_1_WEEK" style="display:none;">
|
| - |
|
48 |
<a href="javascript:;" class="txt_linked" onClick="ToggleDisplay( 'DIVRTAG_<%=Request("rtag_id")%>_TOP10_1_WEEK', 'IMG_EXPAND_RTAG_<%=Request("rtag_id")%>_TOP10_1_WEEK', 'IMG_COLLAPSE_RTAG_<%=Request("rtag_id")%>_TOP10_1_WEEK');">
|
| - |
|
49 |
<img src="images/bt_minus.gif" border="0" align="absmiddle" hspace="3"><img src="images/i_world.gif" border="0" align="absmiddle" hspace="3">
|
| - |
|
50 |
Top 10 Changed Packages In Last Week
|
| - |
|
51 |
</a>
|
| - |
|
52 |
</SPAN>
|
| - |
|
53 |
</td>
|
| - |
|
54 |
</table>
|
| - |
|
55 |
</td>
|
| - |
|
56 |
</tr>
|
| - |
|
57 |
<tr>
|
| - |
|
58 |
<td nowrap class="body_txt" colspan="3">
|
| - |
|
59 |
<div id="DIVRTAG_<%=Request("rtag_id")%>_TOP10_1_WEEK" style="display:none;"><%=enumLOADING%></div>
|
| - |
|
60 |
</td>
|
| - |
|
61 |
</tr>
|
| - |
|
62 |
|
| - |
|
63 |
|
| - |
|
64 |
<tr>
|
| - |
|
65 |
<td background="images/bg_form_lightbluedark.gif">
|
| - |
|
66 |
<table width="100%" border="0" cellspacing="1" cellpadding="1">
|
| - |
|
67 |
<td background="images/bg_form_lightgray.gif" nowrap class="body_txt">
|
| - |
|
68 |
<SPAN id="IMG_EXPAND_RTAG_<%=Request("rtag_id")%>_TOP10_1_MONTH" style="display:block;">
|
| - |
|
69 |
<a href="javascript:;" class="txt_linked" onClick="RequestTop10ChangesInLastMonth('?rtag_id=<%=Request("rtag_id")%>&Interval=2', '<%=Request("rtag_id")%>');">
|
| - |
|
70 |
<img src="images/bt_plus.gif" border="0" align="absmiddle" hspace="3"><img src="images/i_world.gif" border="0" align="absmiddle" hspace="3">
|
| - |
|
71 |
Top 10 Changed Packages In Last Month
|
| - |
|
72 |
</a>
|
| - |
|
73 |
</SPAN>
|
| - |
|
74 |
<SPAN id="IMG_COLLAPSE_RTAG_<%=Request("rtag_id")%>_TOP10_1_MONTH" style="display:none;">
|
| - |
|
75 |
<a href="javascript:;" class="txt_linked" onClick="ToggleDisplay( 'DIVRTAG_<%=Request("rtag_id")%>_TOP10_1_MONTH', 'IMG_EXPAND_RTAG_<%=Request("rtag_id")%>_TOP10_1_MONTH', 'IMG_COLLAPSE_RTAG_<%=Request("rtag_id")%>_TOP10_1_MONTH');">
|
| - |
|
76 |
<img src="images/bt_minus.gif" border="0" align="absmiddle" hspace="3"><img src="images/i_world.gif" border="0" align="absmiddle" hspace="3">
|
| - |
|
77 |
Top 10 Changed Packages In Last Month
|
| - |
|
78 |
</a>
|
| - |
|
79 |
</SPAN>
|
| - |
|
80 |
</td>
|
| - |
|
81 |
</table>
|
| - |
|
82 |
</td>
|
| - |
|
83 |
</tr>
|
| - |
|
84 |
<tr>
|
| - |
|
85 |
<td nowrap class="body_txt" colspan="3">
|
| - |
|
86 |
<div id="DIVRTAG_<%=Request("rtag_id")%>_TOP10_1_MONTH" style="display:none;"><%=enumLOADING%></div>
|
| - |
|
87 |
</td>
|
| - |
|
88 |
</tr>
|
| - |
|
89 |
|
| 39 |
<tr>
|
90 |
<tr>
|
| 40 |
<td background="images/bg_form_lightbluedark.gif">
|
91 |
<td background="images/bg_form_lightbluedark.gif">
|
| 41 |
<table width="100%" border="0" cellspacing="1" cellpadding="3">
|
92 |
<table width="100%" border="0" cellspacing="1" cellpadding="1">
|
| - |
|
93 |
<td background="images/bg_form_lightgray.gif" nowrap class="body_txt">
|
| - |
|
94 |
<SPAN id="IMG_EXPAND_RTAG_<%=Request("rtag_id")%>_TOP10_3_MONTHS" style="display:block;">
|
| - |
|
95 |
<a href="javascript:;" class="txt_linked" onClick="RequestTop10ChangesInLast3Months('?rtag_id=<%=Request("rtag_id")%>&Interval=3', '<%=Request("rtag_id")%>');">
|
| - |
|
96 |
<img src="images/bt_plus.gif" border="0" align="absmiddle" hspace="3"><img src="images/i_world.gif" border="0" align="absmiddle" hspace="3">
|
| - |
|
97 |
Top 10 Changed Packages In Last 3 Months
|
| - |
|
98 |
</a>
|
| - |
|
99 |
</SPAN>
|
| - |
|
100 |
<SPAN id="IMG_COLLAPSE_RTAG_<%=Request("rtag_id")%>_TOP10_3_MONTHS" style="display:none;">
|
| - |
|
101 |
<a href="javascript:;" class="txt_linked" onClick="ToggleDisplay( 'DIVRTAG_<%=Request("rtag_id")%>_TOP10_3_MONTHS', 'IMG_EXPAND_RTAG_<%=Request("rtag_id")%>_TOP10_3_MONTHS', 'IMG_COLLAPSE_RTAG_<%=Request("rtag_id")%>_TOP10_3_MONTHS');">
|
| - |
|
102 |
<img src="images/bt_minus.gif" border="0" align="absmiddle" hspace="3"><img src="images/i_world.gif" border="0" align="absmiddle" hspace="3">
|
| - |
|
103 |
Top 10 Changed Packages In Last 3 Months
|
| - |
|
104 |
</a>
|
| - |
|
105 |
</SPAN>
|
| - |
|
106 |
</td>
|
| - |
|
107 |
</table>
|
| - |
|
108 |
</td>
|
| - |
|
109 |
</tr>
|
| - |
|
110 |
<tr>
|
| - |
|
111 |
<td nowrap class="body_txt" colspan="3">
|
| - |
|
112 |
<div id="DIVRTAG_<%=Request("rtag_id")%>_TOP10_3_MONTHS" style="display:none;"><%=enumLOADING%></div>
|
| - |
|
113 |
</td>
|
| - |
|
114 |
</tr>
|
| - |
|
115 |
|
| - |
|
116 |
|
| 42 |
<tr>
|
117 |
<tr>
|
| - |
|
118 |
<td background="images/bg_form_lightbluedark.gif">
|
| - |
|
119 |
<table width="100%" border="0" cellspacing="1" cellpadding="1">
|
| - |
|
120 |
<tr>
|
| 43 |
<td nowrap class="body_txt" valign="top" background="images/bg_form_lightbluedark.gif">Package Version</td>
|
121 |
<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>
|
122 |
<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>
|
123 |
<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>
|
124 |
<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>
|
125 |
<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>
|
126 |
<td nowrap class="body_txt" valign="top" background="images/bg_form_lightbluedark.gif">Branches</td>
|
| - |
|
127 |
<td nowrap class="body_txt" valign="top" background="images/bg_form_lightbluedark.gif">Last Modified</td>
|
| 49 |
</tr>
|
128 |
</tr>
|
| 50 |
|
129 |
|
| 51 |
<%
|
130 |
<%
|
| 52 |
OraDatabase.Parameters.Add "RTAG_ID", Request("rtag_id"), ORAPARM_INPUT, ORATYPE_NUMBER
|
131 |
OraDatabase.Parameters.Add "RTAG_ID", Request("rtag_id"), ORAPARM_INPUT, ORATYPE_NUMBER
|
| 53 |
|
132 |
|
| 54 |
Set rsTemp = OraDatabase.DbCreateDynaset( GetQuery("PackageMetricsList.sql"), cint(0))
|
133 |
Set rsTemp = OraDatabase.DbCreateDynaset( GetQuery("PackageMetricsList.sql"), cint(0))
|
| 55 |
|
134 |
|
| 56 |
OraDatabase.Parameters.Remove "RTAG_ID"
|
135 |
OraDatabase.Parameters.Remove "RTAG_ID"
|
| 57 |
|
136 |
|
| 58 |
If rsTemp.RecordCount < 1 Then
|
137 |
If rsTemp.RecordCount < 1 Then
|
| 59 |
%>
|
138 |
%>
|
| 60 |
<tr>
|
139 |
<tr>
|
| 61 |
<td colspan="7" background="images/bg_form_lightgray.gif" nowrap> </td>
|
140 |
<td colspan="7" background="images/bg_form_lightgray.gif" nowrap> </td>
|
| 62 |
</tr>
|
141 |
</tr>
|
| 63 |
<%
|
142 |
<%
|
| 64 |
Else
|
143 |
Else
|
| 65 |
|
144 |
|
| 66 |
While ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF))
|
145 |
While ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF))
|
| 67 |
%>
|
146 |
%>
|
| - |
|
147 |
|
| - |
|
148 |
<tr>
|
| - |
|
149 |
<td background="images/bg_form_lightgray.gif" nowrap class="body_txt">
|
| - |
|
150 |
<SPAN id="IMG_EXPAND_RTAG_<%=Request("rtag_id")%>_<%=rsTemp("pv_id")%>_PREV_PKG_VERS" style="display:block;">
|
| - |
|
151 |
<a href="javascript:;" class="txt_linked" onClick="RequestPreviousPackageVersions('?rtag_id=<%=Request("rtag_id")%>&pv_id=<%=rsTemp("pv_id")%>', '<%=Request("rtag_id")&"_"&rsTemp("pv_id")%>');">
|
| - |
|
152 |
<img src="images/bt_plus.gif" border="0" align="absmiddle" hspace="3"><img src="images/i_world.gif" border="0" align="absmiddle" hspace="3">
|
| - |
|
153 |
</a>
|
| - |
|
154 |
<a class="txt_linked" href="dependencies.asp?pv_id=<%=rsTemp("pv_id")%>&rtag_id=<%=rsTemp("rtag_id")%>">
|
| - |
|
155 |
<%=rsTemp("pkg_name")%>
|
| - |
|
156 |
<%=VBNEWLine%><%=rsTemp("pkg_version")%>
|
| - |
|
157 |
</a>
|
| - |
|
158 |
</SPAN>
|
| - |
|
159 |
<SPAN id="IMG_COLLAPSE_RTAG_<%=Request("rtag_id")%>_<%=rsTemp("pv_id")%>_PREV_PKG_VERS" style="display:none;">
|
| 68 |
<tr>
|
160 |
<a href="javascript:;" class="txt_linked" onClick="ToggleDisplay( 'DIVRTAG_<%=Request("rtag_id")%>_<%=rsTemp("pv_id")%>_PREV_PKG_VERS', 'IMG_EXPAND_RTAG_<%=Request("rtag_id")%>_<%=rsTemp("pv_id")%>_PREV_PKG_VERS', 'IMG_COLLAPSE_RTAG_<%=Request("rtag_id")%>_<%=rsTemp("pv_id")%>_PREV_PKG_VERS');">
|
| - |
|
161 |
<img src="images/bt_minus.gif" border="0" align="absmiddle" hspace="3"><img src="images/i_world.gif" border="0" align="absmiddle" hspace="3">
|
| - |
|
162 |
</a>
|
| 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>
|
163 |
<a class="txt_linked" href="dependencies.asp?pv_id=<%=rsTemp("pv_id")%>&rtag_id=<%=rsTemp("rtag_id")%>">
|
| - |
|
164 |
<%=rsTemp("pkg_name")%>
|
| - |
|
165 |
<%=VBNEWLine%><%=rsTemp("pkg_version")%>
|
| - |
|
166 |
</a>
|
| - |
|
167 |
</SPAN>
|
| - |
|
168 |
</td>
|
| 70 |
<td nowrap class="body_txt" background="images/bg_form_lightgray.gif">
|
169 |
<td nowrap class="body_txt" background="images/bg_form_lightgray.gif">
|
| 71 |
<%If rsTemp("is_autobuildable") = "Y" Then%>Yes<%Else%>No<%End If%>
|
170 |
<%If rsTemp("is_autobuildable") = "Y" Then%>Yes<%Else%>No<%End If%>
|
| 72 |
</td>
|
171 |
</td>
|
| 73 |
<td nowrap class="body_txt" background="images/bg_form_lightgray.gif"><%=rsTemp("code_lines")%></td>
|
172 |
<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">
|
173 |
<td nowrap class="body_txt" background="images/bg_form_lightgray.gif">
|
| 75 |
<%If rsTemp("unit_tested") = "Y" Then%>Yes<%Else%>No<%End If%>
|
174 |
<%If rsTemp("unit_tested") = "Y" Then%>Yes<%Else%>No<%End If%>
|
| 76 |
</td>
|
175 |
</td>
|
| 77 |
<td nowrap class="body_txt" background="images/bg_form_lightgray.gif">
|
176 |
<td nowrap class="body_txt" background="images/bg_form_lightgray.gif">
|
| 78 |
<%If rsTemp("autotested") = "Y" Then%>Yes<%Else%>No<%End If%>
|
177 |
<%If rsTemp("autotested") = "Y" Then%>Yes<%Else%>No<%End If%>
|
| 79 |
</td>
|
178 |
</td>
|
| 80 |
<td nowrap class="body_txt" background="images/bg_form_lightgray.gif"><%=rsTemp("branches")%></td>
|
179 |
<td nowrap class="body_txt" background="images/bg_form_lightgray.gif"><%=rsTemp("branches")%></td>
|
| - |
|
180 |
<td nowrap class="body_txt" background="images/bg_form_lightgray.gif"><%=EuroDate(rsTemp("modified_stamp"))%></td>
|
| 81 |
</tr>
|
181 |
</tr>
|
| 82 |
<!--
|
- |
|
| 83 |
<tr>
|
182 |
<tr>
|
| - |
|
183 |
<td nowrap class="body_txt" colspan="3">
|
| 84 |
<td colspan="6" background="images/bg_form_lightbluedark_line.gif"><img src="images/h_trsp_dot.gif" width="1" height="1"></td>
|
184 |
<div id="DIVRTAG_<%=Request("rtag_id")%>_<%=rsTemp("pv_id")%>_PREV_PKG_VERS" style="display:none;"><%=enumLOADING%></div>
|
| 85 |
</tr>
|
185 |
</td>
|
| 86 |
-->
|
186 |
</tr>
|
| - |
|
187 |
|
| 87 |
<%rsTemp.MoveNext
|
188 |
<%rsTemp.MoveNext
|
| 88 |
WEnd
|
189 |
WEnd
|
| 89 |
rsTemp.Close
|
190 |
rsTemp.Close
|
| 90 |
Set rsTemp = nothing
|
191 |
Set rsTemp = nothing
|
| 91 |
|
192 |
|
| 92 |
End If
|
193 |
End If
|
| 93 |
%>
|
194 |
%>
|
| 94 |
</table>
|
195 |
</table>
|
| 95 |
</td>
|
196 |
</td>
|
| 96 |
</tr>
|
197 |
</tr>
|
| 97 |
</table>
|
198 |
</table>
|
| 98 |
<br>
|
199 |
<br>
|
| 99 |
|
200 |
|
| 100 |
<%
|
201 |
<%
|
| 101 |
Call Destroy_All_Objects
|
202 |
Call Destroy_All_Objects
|
| 102 |
%>
|
- |
|
| 103 |
|
203 |
%>
|
| - |
|
204 |
|