| 119 |
ghuddy |
1 |
<%@LANGUAGE="VBSCRIPT"%>
|
|
|
2 |
<%
|
|
|
3 |
Option explicit
|
|
|
4 |
Response.Expires = 0 ' always load the page, dont store
|
|
|
5 |
%>
|
|
|
6 |
<%
|
|
|
7 |
'=====================================================
|
|
|
8 |
' Generate Release Notes
|
|
|
9 |
'=====================================================
|
|
|
10 |
%>
|
|
|
11 |
<!--#include file="common/conf.asp"-->
|
|
|
12 |
<!--#include file="common/globals.asp"-->
|
|
|
13 |
<!--#include file="common/formating.asp"-->
|
|
|
14 |
<!--#include file="common/qstr.asp"-->
|
|
|
15 |
<!--#include file="common/common_subs.asp"-->
|
|
|
16 |
<!--#include file="common/common_dbedit.asp"-->
|
| 123 |
ghuddy |
17 |
<!--#include file="common/common_make_release_subs.asp"-->
|
| 119 |
ghuddy |
18 |
<%
|
|
|
19 |
'------------ ACCESS CONTROL ------------------
|
|
|
20 |
%>
|
|
|
21 |
<!--#include file="_access_control_general.asp"-->
|
|
|
22 |
<%
|
|
|
23 |
'------------ Variable Definition -------------
|
|
|
24 |
Dim parPv_id
|
|
|
25 |
Dim parRfile
|
|
|
26 |
Dim rsPkgInfo
|
|
|
27 |
Dim retERRmsg
|
|
|
28 |
Dim retParameters
|
|
|
29 |
'------------ Constants Declaration -----------
|
|
|
30 |
'------------ Variable Init -------------------
|
|
|
31 |
parPv_id = QStrPar("pv_id")
|
|
|
32 |
parRtag_id = QStrPar("rtag_id")
|
|
|
33 |
parRfile = QStrPar("rfile")
|
|
|
34 |
'----------------------------------------------
|
|
|
35 |
%>
|
|
|
36 |
<%
|
|
|
37 |
'---------------------------------- MAIN LINE ----------------------------------------
|
|
|
38 |
|
| 167 |
brianf |
39 |
' if URL called from the daemon, "gen_rel_notes", therefore no rfile parameter exists in the URL then call the release changed script
|
|
|
40 |
If Request("rfile").Count = 0 Then
|
|
|
41 |
Dim objRC: Set objRC = New ReleaseChanged
|
|
|
42 |
Call objRC.Run_ReleaseChanged(parRtag_id, parPv_id,enumRELEASE_CHANGE_MODE_PKG_RELEASED,true)
|
|
|
43 |
Set objRC = Nothing
|
|
|
44 |
End If
|
|
|
45 |
|
| 119 |
ghuddy |
46 |
' REQUREMENTS CHECK
|
| 129 |
ghuddy |
47 |
If PUBLIC_Run_onMakeOfficial ( parRtag_id, parPv_id ) = TRUE Then
|
|
|
48 |
Call PUBLIC_NotifyInterestManualBuild ( parRtag_id, parPv_id )
|
|
|
49 |
Else
|
|
|
50 |
' do nothing - the reality is that the exception handling done in PUBLIC_Run_onMakeOfficial redirects on an error anyway.
|
|
|
51 |
End If
|
| 119 |
ghuddy |
52 |
|
|
|
53 |
'Return Page
|
|
|
54 |
If parRfile = "" Or parRfile = "_generate_release_notes.asp" Then
|
|
|
55 |
Response.Redirect ( "fixed_issues.asp?pv_id="& parPv_id &"&rtag_id="& parRtag_id )
|
|
|
56 |
Else
|
|
|
57 |
Response.Redirect ( parRfile &"?pv_id="& parPv_id &"&rtag_id="& parRtag_id )
|
|
|
58 |
End If
|
| 123 |
ghuddy |
59 |
|
| 119 |
ghuddy |
60 |
%>
|
|
|
61 |
|
|
|
62 |
|
|
|
63 |
<!-- DESTRUCTOR ------->
|
|
|
64 |
<!--#include file="common/destructor.asp"-->
|