Subversion Repositories DevTools

Rev

Rev 7162 | Rev 7241 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

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