Subversion Repositories DevTools

Rev

Rev 7536 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
7573 dpurdie 1
<%
2
'=====================================================
3
'               CONFIG FILE
4
'=====================================================
5
%>
6
<!--#include file="base_conf.asp"-->
7
 
8
<%
9
' -- Variable Definition ------------------------------
10
Dim OraSession, OraDatabase      ' DB connection
11
Dim scriptName
12
Dim rootPath
13
Dim DocRepositiryLink, DocRepositiryLinkOld, DocBrowseLink
14
Dim APP_ROOT, QUERIES_PATH
15
Dim archive_server
16
Dim lxr_server
17
Dim LXR_URL
18
Dim dpkg_archiveURL
19
Dim HTTP_PKG_ARCHIVE
20
Dim release_archiveURL
21
Dim ACCESS_MANAGER_URL
22
Dim DEPLOYMENT_MANAGER_URL
23
Dim PRODUCTION_MANAGER_URL
24
Dim RELEASE_MANAGER_URL
25
Dim ABTLOG_URL
26
Dim strRelativePath             ' Rel Path from script to URL
27
Dim managerSuiteBase            ' Url to the base of the Manager Suite
28
Dim siteRootUrl                 ' Full url to the base of the site
29
Dim MAIL_SERVER
30
Dim FAULT_EMAIL_LIST
31
Dim FavIcon                     ' Favorite Icon
32
Dim ServiceConfig               ' All service config
33
Dim ForcePageLogon              ' Page Protection Mode
34
Dim IndefPause                  ' Global indication of error
35
Dim VixVerNum : VixVerNum = 39  ' Bump to force cache reload of many resources
36
 
37
' -- Variable Initialisation --------------------------
38
'Set OraSession = CreateObject("OracleInProcServer.XOraSession")
39
'OraSession.CreateDatabasePool 1,2,1, TNS_NAME, DB_AUTHENTICATION, 0
40
'Set OraDatabase = OraSession.GetDatabaseFromPool(5000)
41
 
42
'Set OraSession = Application("ORA_SESSION")
43
'Set OraDatabase =    OraSession.GetDatabaseFromPool(5000)
44
Set OraSession = CreateObject("OracleInProcServer.XOraSession")
45
Set OraDatabase = OraSession.OpenDatabase( TNS_NAME, DB_AUTHENTICATION, Cint(0))
46
Set ServiceConfig = CreateObject("Scripting.Dictionary")
47
GetServiceConfig()
48
GetIndefPause()
49
 
50
' Kludge for testing messages/msg_xxxx
51
' Session(enum_RELMGR_ERRDESCRIPTION)="111|222|3333|444"
52
 
53
'--------------------------------------------------------------------------------------
54
'Populate ServiceConfig
55
Sub GetIndefPause()
56
    IndefPause = FALSE
57
 
58
    Dim sqry : sqry = "select * from run_level_schedule rls where rls.indefinite_pause = 'P'"
59
    Dim rsTemp : Set rsTemp = OraDatabase.DbCreateDynaset( sqry , cint(0) )
60
 
61
    If rsTemp.RecordCount > 0 Then
62
        IndefPause = TRUE
63
    End If
64
   rsTemp.Close()
65
   Set rsTemp = Nothing
66
End Sub
67
 
68
'--------------------------------------------------------------------------------------
69
'Populate ServiceConfig
70
Sub GetServiceConfig()
71
   Dim sqry: sqry = "SELECT * FROM BUILD_SERVICE_CONFIG WHERE service NOT IN ('MUTEX','WEB SERVER')"
72
   Dim rsTemp : Set rsTemp = OraDatabase.DbCreateDynaset( sqry , cint(0) )
73
 
74
   Do While(rsTemp.EOF=FALSE)
75
        Dim name : name = rsTemp(0)
76
        Dim val : val  = rsTemp(1)
77
        ServiceConfig.Add name, val
78
        rsTemp.MoveNext
79
   Loop
80
 
81
   rsTemp.Close()
82
   Set rsTemp = Nothing
83
 
84
End Sub
85
 
86
'--------------------------------------------------------------------------------------
87
'Return a relative path to the server base. Used for relative pathing to 'images'
88
'Assumes server base is two directores below the web serve root (ManageSuite/Release_Manager)
89
Function GetPathToBase()
90
    Dim url,depth,rv,ii
91
    url = request.servervariables("URL")
92
    depth =  len(url) - len(replace(url, "/", ""))
93
    rv = ""
94
    For ii = 4 To depth
95
        rv = rv & "../"
96
    Next
97
    GetPathToBase = rv
98
End Function
99
 
100
' Return a URL to the base of the Manager suite
101
' Assumes this is one directory down from the web server root
102
Function GetManagerSuiteBase
103
    Dim data
104
    data = Split(request.servervariables("URL"),"/")
105
    GetManagerSuiteBase =  "/" & data(1)
106
End Function
107
 
108
'--------------------------------------------------------------------------------------
109
Function getSiteRootUrl()
110
    dim siteRootUrl, protocol, hostname, port
111
 
112
    if Request.ServerVariables("HTTPS") = "off" then
113
        protocol = "http"
114
    else
115
        protocol = "https"
116
    end if
117
    siteRootUrl = protocol & "://"
118
 
119
    hostname = Request.ServerVariables("HTTP_HOST")
120
    siteRootUrl = siteRootUrl & hostname        
121
 
122
    getSiteRootUrl = siteRootUrl
123
End Function
124
 
125
'--------------------------------------------------------------------------------------
126
' Determine if a variable or Const exists and is not empty
127
'   Use to check if a vbscript variable has been declared and contains a non-empty value
128
Function isDefined( var)
129
    If (not IsEmpty(Eval(var))) AND Eval(var & " <> """"") Then
130
        isDefined = TRUE
131
    Else
132
        isDefined = FALSE
133
   End If
134
End Function
135
 
136
'--------------------------------------------------------------------------------------
137
'   Get an application varibale as a Boolean with defult value
138
Function bGetApplication(name, defvalue)
139
    If IsEmpty (Application(name)) Then
140
        bGetApplication = CBool(defvalue)
141
    Else
142
        bGetApplication = CBool(Application(name))
143
   End If
144
End Function
145
 
146
'--------------------------------------------------------------------------------------
147
' Debug Support function
148
'   Add string to the debug string
149
Sub AddRmDebug(str)
150
    If Len(RmDebug) > 0  Then RmDebug = RmDebug + ":"
151
    RmDebug = RmDebug + Cstr(str)
152
End Sub
153
 
154
'-----------------------------------------------------------------------------------------------------------------------------
155
'   Destroy_All_Objects
156
'   Should be used by ALL pages and error handling code in order to reduce memory and handle leaks
157
'   Needs to kept in sync with common/destructor.asp
158
Sub Destroy_All_Objects
159
    On Error Resume Next
160
 
161
    '   Some global objects
162
    Set objAccessControl = Nothing
163
    Set objPMod = Nothing
164
    Set objEH = Nothing
165
    Set objTabControl = Nothing
166
    Set ServiceConfig = Nothing
167
 
168
    '   Global package info
169
    Set pkgInfoHash = Nothing
170
    Set releaseInfoHash = Nothing
171
 
172
    '   Delete ALL Oracle bound variables
173
    '   Note: Bound Variables that remain at the end of a Page Process will cause an Oracle Session leak
174
    If TypeName(OraDatabase) = "IOraDatabase" Then
175
        While OraDatabase.Parameters.Count > 0
176
            OraDatabase.Parameters.Remove(0)
177
        Wend
178
    End  If
179
 
180
    '   Some commonly used database objects
181
    rsTemp.Close
182
    Set rsTemp = Nothing
183
 
184
    rsRep.Close
185
    Set rsRep = Nothing
186
 
187
    rsQry.Close
188
    Set rsQry = Nothing
189
 
190
    '   Database objects
191
    set OraDatabase = Nothing
192
    set OraSession = Nothing
193
End Sub
194
'--------------------------------------------------------------------------------------
195
archive_server = ServiceConfig("ARCHIVE SERVER")
196
lxr_server = ServiceConfig("LXR SERVER")
197
LXR_URL = "http://" & lxr_server & "/lxr/source"
198
MAIL_SERVER = ServiceConfig("MAIL SERVER")
199
FAULT_EMAIL_LIST = ServiceConfig("FAULT EMAIL ADDRESS LIST")
200
strRelativePath = GetPathToBase()
201
managerSuiteBase = GetManagerSuiteBase()
202
siteRootUrl = getSiteRootUrl()
203
APP_ROOT = Server.MapPath(".")
204
QUERIES_PATH = APP_ROOT &"\queries"
205
scriptName = Mid(Request.ServerVariables("SCRIPT_NAME"), InStrRev(Request.ServerVariables("SCRIPT_NAME"), "/") + 1 )
206
rootPath = Left( Server.MapPath( scriptName ), InStrRev(Server.MapPath( scriptName ), "\") )
207
DocRepositiryLink = DOC_REPOSITORY_URL & "docLinkTo.asp?docnum="
208
DocRepositiryLinkOld = DOC_REPOSITORY_URL & "docLinkTo.asp?old=1&fileid="
209
DocBrowseLink = DOC_REPOSITORY_URL & "docbrowse.asp"
210
FavIcon = strRelativePath & "favicons/RM" & Application("FavIconSuffix") & ".png"
211
ForcePageLogon = TRUE
212
 
213
' -- Constants ----------------------------------------
214
HTTP_PKG_ARCHIVE        = "http://" & archive_server
215
dpkg_archiveURL         = HTTP_PKG_ARCHIVE & "/dpkg_archive/"
216
release_archiveURL      = HTTP_PKG_ARCHIVE & "/releases/"
217
ACCESS_MANAGER_URL      = ManagerSuiteBase & "/Access_Manager"
218
DEPLOYMENT_MANAGER_URL  = ManagerSuiteBase & "/Deployment_Manager"
219
PRODUCTION_MANAGER_URL  = ManagerSuiteBase & "/Production_Manager"
220
RELEASE_MANAGER_URL     = ManagerSuiteBase & "/Release_Manager"
221
ABTLOG_URL              = HTTP_PKG_ARCHIVE & "/devl/abtlog"
222
%>
223
<%
224
'-- ERROR MESSAGES ---------------------------
225
Const enum_MSG_ERROR    = "msg_error.asp"
226
Const enum_WMSG_ERROR   = "wmsg_error.asp"
227
 
228
Const enum_MSG_SELECTED_PACKAGES_NOW_OFFICIAL               = "msg_selected_packages_now_official.asp"
229
Const enum_MSG_PACKAGES_NOT_MADE_OFFICIAL                   = "msg_packages_not_made_official.asp"
230
Const enum_MSG_PACKAGE_NOT_MADE_OFFICIAL                    = "msg_package_not_made_official.asp"
231
Const enum_MSG_PACKAGE_NOT_MADE_OFFICIAL_2                  = "msg_package_not_made_official_2.asp"
232
Const enum_MSG_UNOFFICIAL_DEPENDENCIES                      = "msg_unofficial_dependencies.asp"
233
Const enum_MSG_PACKAGE_CHANGETYPE_INCOMPLETE                = "msg_change_type_incomplete.asp"
234
Const enum_MSG_PACKAGE_SBOMPRIORITY_INCOMPLETE              = "msg_sbom_priority_incomplete.asp"
235
Const enum_MSG_VERSION_EXISTS                               = "msg_version_exists.asp"
236
Const enum_DUPLICATE_RUNTIME_DEPENDENCY                     = "msg_duplicate_runtime_dependency.asp"
237
Const enum_DUPLICATE_BUILD_DEPENDENCIES_IGNORED             = "msg_duplicate_build_dependencies_ignored.asp"
238
Const enum_MSG_BROKEN_DEPENDENCIES_FOUND                    = "msg_broken_dependencies_found.asp"
239
Const enum_MSG_MISSING_DEPENDENCIES                         = "msg_missing_dependencies.asp"
240
Const enum_MSG_UNOFFICIAL_DEPENDENCIES_FOUND                = "msg_unofficial_dependencies_found.asp"
241
Const enum_MSG_RELEASE_IS_NOW_OFFICIAL                      = "msg_release_is_now_official.asp"
242
Const enum_MSG_NEW_UNOFFICIAL_RELEASE_CREATED               = "msg_new_unofficial_release_created.asp"
243
Const enum_MSG_DUPLICATE_AN                                 = "msg_duplicate_an.asp"
244
Const enum_MSG_DUPLICATE_UT                                 = "msg_duplicate_ut.asp"
245
Const enum_MSG_PACKAGE_INFORMATION_INCOMPLETE               = "msg_package_information_incomplete.asp"
246
Const enum_MSG_VCS_INFORMATION_INCOMPLETE                   = "msg_vcs_information_incomplete.asp"
247
Const enum_MSG_MIXED_VCS                                    = "msg_mixed_vcs.asp"
248
Const enum_MSG_VCS_SVN_NOT_PEGGED                           = "msg_vcs_svn_not_pegged.asp"
249
Const enum_MSG_AUTOBUILD_PACKAGE_IS_UNCONTROLLED            = "msg_autobuild_package_is_uncontrolled.asp"
250
Const enum_MSG_AUTOBUILD_PACKAGE_REQUIRES_BUILD_STD_AND_ENV = "msg_autobuild_package_requires_build_std_and_env.asp"
251
Const enum_MSG_UNIT_TESTS_NOT_SUPPLIED                      = "msg_unit_tests_not_supplied.asp"
252
Const enum_MSG_REASON_FOR_THIS_VERSION_NOT_SUPLIED          = "msg_reason_for_this_version_not_suplied.asp"
253
Const enum_MSG_CANNOT_REMOVE_PACKAGE                        = "msg_cannot_remove_package.asp"
254
Const enum_MSG_PACKAGE_IN_USE                               = "msg_package_in_use.asp"
255
Const enum_MSG_PROCESS_EXISTS                               = "msg_process_exists.asp"
256
Const enum_MSG_NO_LICENCES_EXIST                            = "msg_no_licences.asp"
257
Const enum_MSG_PACKAGE_VERSION_EXISTS                       = "msg_package_version_exists.asp"
258
Const enum_MSG_PACKAGE_WIP_EXISTS                           = "msg_package_wip_exists.asp"
259
Const enum_MSG_PACKAGE_VERSION_INVALID                      = "msg_package_version_invalid.asp"
260
Const enum_MSG_CANNOT_AUTO_GENERATE_COTS_PKG                = "msg_cannot_auto_generate_cots_pkg.asp"
261
Const enum_MSG_PACKAGE_WIP_EXISTS_BULK_RELEASE              = "msg_package_wip_exists_bulk_release.asp"
262
Const enum_MSG_PERMISSION_PROBLEMS_BULK_RELEASE             = "msg_permission_problems_bulk_release.asp"
263
Const enum_MSG_UNBUILDABLE_PACKAGE                          = "msg_unbuildable_package.asp"
264
'---------------------------------------------
265
%>
266
<%
267
'-- ICONS Package State ----------------------
268
Const enum_imgBlank               = "<img src='images/h_trsp_dot.gif' width='19' height='17' border='0'>"
269
Const enum_imgCritical            = "<img src='images/s_critical.gif' width='19' height='17' border='0' title='Not ready to be built.  Dependent packages, with a major or minor version, require building'>"
270
Const enum_imgDeprecated          = "<img src='images/bomb.gif' width='19' height='17' border='0' title='Deprecated'>"
271
Const enum_imgProductRejected     = "<img src='icons/i_product_rejected.gif' width='19' height='17' border='0' title='Rejected'>"
272
Const enum_imgDeprecatedDependent = "<img src='images/bomb_dependant.gif' width='19' height='17' border='0' title='Dependent deprecated'>"
273
Const enum_imgCReady              = "<img src='images/s_update_critical.gif' width='19' height='17' border='0' title='Ready to build, however at least one dependency has been superseded with a major or minor version'>"
274
Const enum_imgAR                  = "<img src='images/i_advisory_ripple.gif' width='19' height='17' border='0' title='Marked as advisory ripple'>"
275
Const enum_imgARD                 = "<img src='images/s_advisory_ripple_dependant.png' width='19' height='17' border='0' title='Dependent marked as advisory ripple'>"
276
Const enum_imgWarning             = "<img src='images/s_warning.gif' width='19' height='17' border='0' title='Not ready to be built.  Dependent packages, with a patch version, require building'>"
277
Const enum_imgWReady              = "<img src='images/s_update_warning.gif' width='19' height='17' border='0' title='Ready to build, however at least one dependency has been superseded with a patch version'>"
278
Const enum_imgBuilding            = "<img src='images/s_gear.gif' width='19' height='17' border='0' title='Work in progress'>"
279
Const enum_imgNotFound            = "<img src='images/s_not_found.gif' width='19' height='17' border='0' title='Not found'>"
280
Const enum_imgIgnoring            = "<img src='images/s_ignoring.gif' width='15' height='15' border='0' title='Latest version is ignored'>"
281
Const enum_imgPatchIgnoring       = "<img src='images/s_patch_ignoring.gif' width='19' height='17' border='0' title='Latest version is included in a patch'>"
282
Const enum_imgPatchAvailable      = "<img src='images/s_patch_available.gif' width='19' height='17' border='0' title='New patch is required'>"
283
Const enum_imgPatch               = "<img src='images/i_patch.gif' width='18' height='23' border='0' align='absmiddle' hspace='5' title='This is a patch'>"
284
Const enum_imgPatchObsolete       = "<img src='images/i_patch_obsolete.gif' width='18' height='23' border='0' align='absmiddle' hspace='5' title='Patch is obsolete'>"
285
Const enum_imgUser                = "<img src='images/i_user.gif' width='10' height='13' hspace='2' border='0' align='absmiddle' title='User'>"
286
Const enum_imgUserLg              = "<img src='images/i_user.gif' hspace='3' border='0' align='absmiddle' title='User'>"
287
Const enum_imgGreenPin            = "<img src='images/i_green_pin.gif' width='19' height='17' border='0' title='Pegged to prevent it being ripple built'>"
288
Const enum_imgPending             = "<img src='icons/i_pending.gif' width='11' height='17' border='0' title='Package Pending Build Approval'>"
289
Const enum_imgApproved            = "<img src='icons/i_approved.gif' width='11' height='17' border='0' title='Package Build Approved'>"
290
Const enum_imgReleasedLocked      = "<img src='images/i_locked.gif' width='13' height='15' border='0' title='Released and locked'>"
291
Const enum_imgReleasedUnlocked    = "<img src='images/i_unlocked.gif' width='16' height='15' border='0' title='Released and unlocked'>"
292
Const enum_imgNotInArchive        = "<img src='images/s_package_not_present.gif' width='16' height='15' border='0' title='Not found in archive'>"
293
Const enum_imgNotInRelease        = "<img src='images/s_not_inrelease.gif' width='16' height='15' border='0' title='This Version is not a member of this Release'>"
294
Const enum_imgSdkImport           = "<img src='images/i_sdkpkg.png' width='15' height='15' border='0' title='This version imported via an SDK'>"
295
Const enum_imgSdkDep              = "<img src='images/i_sdkdep.png' width='15' height='15' border='0' title='Not Found. Is a dependency only of the SDK and not required to be in this release.'>"
296
Const enum_imgUnBuildable         = "<img src='icons/s_unbuildable.png' width='15' height='15' border='0' title='This package is unbuildable.'>"
297
Const enum_imgRippleStop          = "<img src='images/RippleStop.gif' width='16' height='16' border='0' title='Package is waiting for user to release the ripple stop'>"
298
Const enum_imgRippleGo            = "<img src='images/RippleGo.gif' width='16' height='16' border='0' title='Ripple stop released. Package waiting to build.'>"
299
Const enum_imgClipBoard           = "<img src='images/CopyToClipboard.ico' width='15' height='15' border='0' title='Copy package details to clipboard'>"
300
Const enum_imgClipBoard10         = "<img src='images/CopyToClipboard.ico' width='10' height='10' border='0' title='Copy names to clipboard'>"
301
Const enum_imgClipBoard12         = "<img src='images/CopyToClipboard.ico' width='12' height='12' border='0' align='absmiddle' title='Copy names to clipboard'>"
302
Const enum_imgCompiling           = "<img src='images/compile.gif' width='17' height='17' border='0' title='Actively Building'>"
303
Const enum_imgScheduled           = "<img src='images/future.png' width='17' height='17' border='0' title='Scheduled to Build'>"
304
Const enum_imgBuildFail           = "<img src='images/build_failed.png' width='17' height='17' border='0' title='Package excluded from build'>"
305
Const enum_imgBuildExclude        = "<img src='images/build_excluded.png' width='17' height='17' border='0' title='Package indirectly excluded from build'>"
306
 
307
'------------ Release and Sdk States -----------
308
Const LIMG_OPEN_MODE = "<img src='images/i_rtag_open_mode.gif' border='0' align='absmiddle' hspace='2' title='Open Mode'>"
309
Const LIMG_RESTRICTIVE_MODE = "<img src='images/i_rtag_restrictive_mode.gif' border='0' align='absmiddle' hspace='2' title='Restrictive Mode'>"
310
Const LIMG_CCB_MODE = "<img src='images/i_rtag_ccb_mode.gif' border='0' align='absmiddle' hspace='2' title='CCB Mode'>"
311
Const LIMG_CLOSED_MODE = "<img src='images/i_rtag_closed_mode.gif' border='0' align='absmiddle' hspace='2' title='Closed Mode'>"
312
Const LIMG_CLOSED_MODE_WARN = "<img src='images/i_rtag_closed_mode_warn.gif' border='0' align='absmiddle' hspace='2'>"
313
Const LIMG_PRESERVE_MODE = "<img src='images/i_rtag_preserve_mode.gif' border='0' align='absmiddle' hspace='2' title='Preserved Mode'>"
314
Const LIMG_ARCHIVE_MODE = "<img src='images/i_rtag_archive_mode.gif' border='0' align='absmiddle' hspace='2' title='Archived'>"
315
Const LIMG_SNAPSHOT_MODE = "<img style='height:13px' src='images/snapshot.png' border='0' align='absmiddle' hspace='2' title='Snapshot'>"
316
 
317
'-- ICONS SMALL ------------------------------
318
Const enum_SMALL_imgOK           = "<img src='images/si_ok.gif' width='17' height='16' border='0' align='absmiddle' vspace='1' hspace='2'>"
319
Const enum_SMALL_imgCritical     = "<img src='images/si_critical.gif' width='17' height='16' border='0' align='absmiddle' vspace='1' hspace='2'>"
320
Const enum_SMALL_imgCReady       = "<img src='images/si_update_critical.gif' width='17' height='16' border='0' align='absmiddle' vspace='1' hspace='2'>"
321
Const enum_SMALL_imgWarning      = "<img src='images/si_warning.gif' width='17' height='16' border='0' align='absmiddle' vspace='1' hspace='2'>"
322
Const enum_SMALL_imgWReady       = "<img src='images/si_update_warning.gif' width='17' height='16' border='0' align='absmiddle' vspace='1' hspace='2'>"
323
Const enum_SMALL_imgBuilding     = "<img src='images/si_gear.gif' width='17' height='16' border='0' align='absmiddle' vspace='1' hspace='2'>"
324
Const enum_SMALL_imgNotFound     = "<img src='images/si_not_found.gif' width='17' height='16' border='0' align='absmiddle' vspace='1' hspace='2'>"
325
 
326
'-- ICONS MISC ------------------------------
327
Const enum_IMG_Critical           = "<img src='images/i_critical.gif' width='33' height='33' border='0' align='absmiddle' vspace='1' hspace='2'>"
328
Const imgPkgLocked                = "<img src='images/i_locked.gif' width='7' height='10' hspace='4' align='absmiddle'>"
329
Const imgPkgLockSpacer            = "<img src='images/spacer.gif' width='7' height='10' hspace='4' align='absmiddle'>"
330
 
331
Const LIMG_NDEL                   = "<img src='icons/i_remove.gif' width='16' height='16' hspace='2' border='0' align='absmiddle'>"
332
Const LIMG_NDEL_DISABLED          = "<img src='icons/i_remove_dis.gif' width='16' height='16' hspace='2' border='0' align='absmiddle' class='lessOpacity'>"
333
Const LIMG_USER                   = "<img src='images/i_user.gif' width='16' height='16' hspace='2' border='0' align='absmiddle'>"
334
Const LIMG_USER_DISABLED          = "<img src='images/i_user_disabled.gif' width='16' height='16' hspace='2' border='0' align='absmiddle'>"
335
Const LIMG_EDIT                   = "<img src='icons/i_edit.gif' width='16' height='16' hspace='2' border='0' align='absmiddle'>"
336
Const LIMG_EDIT_DISABLED          = "<img src='icons/i_edit.gif' width='16' height='16' hspace='2' border='0' align='absmiddle' class='lessOpacity'>"
337
 
338
 
339
 
340
'-- VERSION CONTROL CONSTANTS ------------------------------
341
Const enum_VCS_UNCONTROLLED_TAG  = "UC"
342
Const enum_VCS_CLEARCASE_TAG     = "CC"
343
Const enum_VCS_SUBVERSION_TAG    = "SVN"
344
Const enum_VCS_CVS_TAG           = "CVS"
345
Const enum_VCS_GIT_TAG           = "GIT"
346
 
347
'-- OP CODES for DAEMON INSTRUCTIONS, both in terms of strings and integers -------------------------------------------
348
'
349
'-- When adding to these, always update daemon_instructions.asp accordingly.
350
'-- Sometimes it might be necessary to update wAddDaemonInstruction.asp as well.
351
 
352
'-- human readable string names
353
Const OP_CODE_0_STR = "Ripple Build Package"          ' Corresponds to OP_CODE_0_RIPPLE_BUILD_PACKAGE
354
Const OP_CODE_1_STR = "Test Build Package"            ' Corresponds to OP_CODE_1_TEST_BUILD_PACKAGE
355
Const OP_CODE_2_STR = "Future Build"                  ' Corresponds to OP_CODE_2_FUTURE_BUILD
356
 
357
'-- equivalent integer values for use in query strings
358
Const OP_CODE_0_RIPPLE_BUILD_PACKAGE = "0"
359
Const OP_CODE_1_TEST_BUILD_PACKAGE   = "1"
360
Const OP_CODE_2_FUTURE_BUILD         = "2"
361
 
362
'-- PACKAGE AREA CONSTANTS ------------------------------
363
Const enum_PKG_AREA_WIP = 0
364
Const enum_PKG_AREA_PLANNED = 1
365
Const enum_PKG_AREA_RELEASED = 2
366
 
367
'-- BUILD DAEMON STATE CONSTANTS ------------------------------
368
Const enum_DAEMON_ENABLE = NULL
369
Const enum_DAEMON_PAUSE = 1
370
Const enum_DAEMON_DISABLE = 2
371
 
372
'-- Windows event logger types --------------------------------
373
' Used in Raise_Event
374
Const enumEVENT_SUCCESS = 0
375
Const enumEVENT_ERROR = 1
376
Const enumEVENT_WARNING = 2
377
Const enumEVENT_INFORMATION = 4
378
 
379
%>