Subversion Repositories DevTools

Rev

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

Rev Author Line No. Line
119 ghuddy 1
/*
2
 ***** HELP TIPS ****
3
 */
3932 dpurdie 4
// stdTip: width, Title, Body
5
function stdTip( w,t,b) {
6
    return newTip(10,0,w,10,t,b);
7
}
8
// newTip( x,y,width,height, title, body)
9
function newTip(x,y,w,h,t,b) {
10
    var tip = new Array(x,y,w,h,10);
11
    tip[4] = '<img src="images/i_help.gif" width="12" height="12" hspace="2" align="absmiddle">' +
12
    t + '<hr size="1" noshade>' + b;
13
    return tip;
14
} 
15
 
119 ghuddy 16
 
17
var formTips = new TipObj('formTips');
18
with (formTips)
19
{
3932 dpurdie 20
 tips.group                = newTip('page.scrollX()', 'page.scrollY()', 150, 10, 'Base&nbsp;View','Move package to a different Base View by selecting it from a dropdown list.<br>' +
21
                                                                                 'To move package to a new Base View, click on <img src="images/i_new_group.gif" width="17" height="17" align="absmiddle">');
22
 tips.depsant              = newTip(-150, 0, 150, 10, 'DEPENDENCIES','Paste in <b>sandbox</b> tags.');
23
 tips.dependencies         = newTip(-150, 0, 150, 10, 'DEPENDENCIES','Paste <b>BuildPackageArchive</b> lines from build.pl file.<br>' +
24
                                                      'You may use single ( \' ) OR double ( \" ) quotes.');
25
 tips.addoldpkg            = newTip(-150, 0, 150, 10, 'PACKAGES','Select package(s) and click NEXT. Hold CTRL key to select multiple packages.' +
26
                                                                 '<br>To add package(s) not shown in the list, click on <img src="images/i_new_pkg.gif" width="17" height="18" align="absmiddle">');
27
 tips.depnotdef            = newTip(10, 0, 150, 10, 'DEPENDENCIES&nbsp;NOT&nbsp;DEFINED','Dependencies for this package was never defined. Click on DEPENDENCIES link above to define it.');
28
 tips.pkg_label            = newTip(-150, 20, 150, 10, 'LABEL','Enter the ClearCase label used to tag all the source code in this release.');
29
 tips.deployable           = newTip(-150, 20, 150, 10, 'DEPLOYABLE','Select YES if this package or certain files of this package have to be deployed to the field.');
30
 tips.ripple_type          = newTip(-150, 20, 150, 10, 'RIPPLE TYPE','This enables a package to advertise how it will be numbered when rippled.');
31
 tips.ripple_build         = newTip(-150, 20, 150, 10, 'BUILD INCLUSION','When set to No, this package and all packages which depend on this package will be excluded from the build.');
32
 tips.advisory_ripple      = newTip(-150, 20, 150, 10, 'ADVISORY RIPPLE','When set to Yes, it will have a benign ripple build impact.');
33
 tips.src_path             = newTip(-180, 20, 180, 10, 'SOURCE PATH','Enter the path to the source code in a ClearCase VOB. This is used to create a "load rule". ie: /MASS_Dev/%package_name%');
34
 tips.pubread              = newTip(-150, 0, 150, 10, 'PUBLIC&nbsp;READ','Allow other users to use your view with no permissions to alter.');
35
 tips.domain_user          = newTip(10, 0, 150, 10, 'DOMAIN&nbsp;USER','Authenticates the username against a Domain. This means that you can use your workstation login.');
36
 tips.pkg_info_short_desc  = newTip(-150, 20, 150, 10, 'SHORT DESCRIPTION','Describe the meaning of the package name.');
37
 tips.pkg_info_overview    = newTip(-150, 20, 150, 10, 'PACKAGE OVERVIEW','Describe in a paragraph what does the package do.<br>NOTE: You have to do this only once!');
38
 tips.build_environment    = newTip(-150, 20, 150, 10, 'BUILD ENVIRONMENT','Select which build environments are used to build this package.');
39
 tips.ut_test_type         = newTip(-150, 0, 150, 10, 'TEST TYPE','Describes the type of test performed.');
40
 tips.ut_passed            = newTip(-150, 0, 150, 10, 'PASSED # / Total','Number of tests passed and total number of tests performed (e.g. 9/10).<br>For Coverage test, give the total line coverage for the package in %.');
41
 tips.ut_summary           = newTip(-150, 0, 150, 10, 'TEST SUMMARY','It is optional if the test document is attached.<br>If not, detail the setup, stimulus, and what to check for.');
42
 tips.ut_review_comments   = newTip(-150, 0, 150, 10, 'REVIEW COMMENTS','If the package is not accepted, this will be the Issue number that contains the details of what needs to be done.');
43
 tips.v_ext                = newTip(-150, 0, 150, 10, 'VERSION EXTENSION','Supply version extension if required. <br>(e.g. .mas, .syd, .project)');
44
 tips.existingVersion      = newTip(-150, 20, 150, 10, 'EXISTING VERSION','Select a version from a list of existing versions.');
119 ghuddy 45
 
3932 dpurdie 46
 tips.Codestriker          = newTip(-150, 20, 150, 10, 'CODESTRIKER','ClearCase Only.<br>Use this jats command to make a difference report for uploading to codestriker when creating a new code review topic.');
47
 tips.BeyondCompare        = newTip(-150, 20, 150, 10, 'BEYOND COMPARE','Use this jats command to manually inspect and compare two versions of the package using Beyond Compare.');
48
 tips.JatsTest             = newTip(-150, 20, 150, 10, 'JATS TEST','Use this jats command to test-build a package before release.');
1370 dpurdie 49
 
3932 dpurdie 50
 tips.PreviousSignificantVcsTag= newTip(-150, 20, 200, 10, 'PREVIOUS SIGNIFICANT VCS TAG',
161 iaugusti 51
                                                           'This is a vcs tag of an ancestor version immediately preceding a significant (non-ripple) change that led to the current package version.'+
125 ghuddy 52
                                                           '<br><br>NOTE:<br>Derivation of this has no sensitivity to the selected release.');
53
 
3932 dpurdie 54
 tips.PreviousVcsTag       = newTip(-150, 20, 150, 10, 'PREVIOUS VCS TAG','This is a vcs tag of the immediate ancestor version to the current package version.');
125 ghuddy 55
 
3932 dpurdie 56
 tips.AdditionPending      = newTip(-150, 20, 160, 10, 'ADDITION PENDING', 'This item is pending approval in Release B (the destination release).<p></p><p>'+
57
                                                                           'Go to the Pending Tab in Release B to approve this and other similar items.</p>');
125 ghuddy 58
 
3932 dpurdie 59
 tips.RemovalPending       = newTip(-150, 20, 160, 10,  'REMOVAL PENDING',
60
                                                        'This items removal is pending approval in Release B (the destination release).<p></p><p>'+
61
                                                        'Go to the Pending Tab in Release B to approve this and other similar items.</p>');
125 ghuddy 62
 
3932 dpurdie 63
 tips.Top10ChangeCounts    = newTip(-150, 20, 250, 10,  'CHANGE COUNTS',
64
                                                        'These counts include changes to these packages that may have occured in other releases.<p></p><p>'+
65
                                                        'The selected and enclosing release is used just to select names of packages, '+
66
                                                        'and extensions of package versions that are to be included in the metric data set.</p>');
125 ghuddy 67
 
3932 dpurdie 68
 tips.svn_tag              = newTip(-180, 20, 180, 10,  'SUBVERSION TAG',
69
                                                        'Enter the Subversion tag. This is a named directory within the packages \'tags\' directory. It may be pegged.');
1339 dpurdie 70
 
3932 dpurdie 71
 tips.svn_source_path      = newTip(-180, 20, 180, 10,  'SUBVERSION SOURCE PATH',
72
                                                        'Enter the Subversion path to the development branch of the package. <p>The first element will be a symbolic repository reference. '+
73
                                                        '<p>The last element will be the packages development branch - which may be the trunk.');
1339 dpurdie 74
 
129 ghuddy 75
 
3932 dpurdie 76
 tips.pegged_version       = newTip(-100, 10, 400, 10,  'PEGGED VERSION',
131 ghuddy 77
                                                           'If a package version in a release is denoted as pegged, it means: '+
78
                                                           '<p>The release will use the package at the pegged version, and the package will '+
79
                                                           'not be ripple built within the release.</p>'+
80
                                                           '<p>The release will NOT have to contain the dependecies of the pegged package.</p>'+
81
                                                           '<p>The state (good or otherwise) of the package\'s dependencies will have no effect upon the '+
151 ghuddy 82
                                                           'release, or the ability to build packages that depend upon it.</p>' +
83
                                                           '<p></P><p>Modifying this setting can only be done when editing the ripple properties of an official/released package version</p>');
131 ghuddy 84
 
3932 dpurdie 85
 tips.advisory_ripple_version= newTip(-100, 10, 400, 10,'ADVISORY RIPPLE VERSION',
151 ghuddy 86
                                                           'If a package in a release is marked with advisory ripple, it means that when '+
87
                                                           'a new version of the package is made official (i.e. released), it will not cause '+
88
                                                           'higher level packages that depend upon it to be rippled.' +
89
                                                           '<p></P><p>Modifying this setting can only be done when editing the ripple properties of an official/released package version</p>');
90
 
91
 
3932 dpurdie 92
 tips.err1 = newTip(10, 0, 150, 10, 'VERSION&nbsp;NOT&nbsp;FOUND','Specified version was never used before and it will be CREATED for this package.');
93
 tips.err3 = newTip(10, 0, 150, 10, 'DUPLICATE&nbsp;PACKAGE&nbsp;NAME','Duplicate package names are found. First occurrence will be used and other duplicates will be IGNORED.');
94
 tips.err4 = newTip(10, 0, 150, 10, 'CIRCULAR&nbsp;DEPENDENCY','This package is dependent on the same package you are trying to update. It could be directly dependent or through a few levels of dependencies.<br>This package will be IGNORED.');
95
 tips.err5 = newTip(10, 0, 150, 10, 'EXISTS&nbsp;IN&nbsp;THIS&nbsp;RELEASE','This package already exists in your release.<br>This package will be IGNORED.');
119 ghuddy 96
 
3932 dpurdie 97
 tips.firefox_root_cause = newTip(-300, 10, 400, 100,'ATTENTION FIREFOX USERS',
157 ghuddy 98
                                                       'Downloading local files via a UNC path is a security hazard and Firefox (silently) ignores such links by default.<p>'+
99
                                                       'Please follow this link to read the instructions on how to enable local file downloads in the Firefox browser.');
119 ghuddy 100
 
101
 
3932 dpurdie 102
 tips.RepRDS_pv = newTip(10, 0, 150, 10, 'PACKAGE&nbsp;VERSION&nbsp;FILTER','Specify what type of Release Manager Package Versions to enquire upon, and whether to include versions that do not (yet) have any issues assigned to them.');
157 ghuddy 103
 
3932 dpurdie 104
 tips.RepRDS_iss = newTip(10, 0, 150, 10, 'ISSUE&nbsp;LIST&nbsp;FILTER','Specify which Release Manager issue list(s) to consider.');
157 ghuddy 105
 
3932 dpurdie 106
 tips.RepRDS_trav = newTip(10, 0, 350, 10, 'FROM&nbsp;RELEASED&nbsp;FILTER','These options are only relevant when the "From Released" checkbox is checked. '+
159 ghuddy 107
                                              '<p>Selecting to traverse ripples forces the report to look back over the history of released package versions until it finds '+
108
                                              'versions that were not ripple built. It will list the issues it finds in those found versions against the latest ripple versions '+
109
                                              'in the release.</p><p>Selecting this option can drammatically slow down report generation. To counter this, users are advised to '+
110
                                              'set the date limit back in time to no more than a few weeks or perhaps 1 month (the default limit)</p>');
1370 dpurdie 111
 
3932 dpurdie 112
 tips.JatsExtraction_SVN  = stdTip(250,'Subversion', 'Various extraction commands.<br>Choose a command that suits the current requirements.' +
113
                                                     '<p>Default - suits most requirements' +
114
                                                     '<br>Tag - Trace Tag back to development branch' +
115
                                                     '<br>Tip - Tip of the development branch' +
116
                                                     '<br>Work - Default' +
117
                                                     '<br>Exact - Extract the tagged instance' );
1370 dpurdie 118
 
3932 dpurdie 119
 tips.JatsExtraction_CC   = stdTip(200, 'ClearCase', 'Various extraction commands.<br>Choose a command that suits the current requirements.' +
120
                                                     '<p>A Project Branch will be displayed if configured, but it may not be suitable for all packages.');
1370 dpurdie 121
 
3932 dpurdie 122
 tips.JatsExtraction_CVS  = stdTip(200,'CVS','Various extraction commands.<br>Choose a command that suits the current requirements.' );
123
 tips.JatsExtraction_     = stdTip(200,'Unknown Version Control System','Various extraction commands.<br>Choose a command that suits the current requirements.' );
159 ghuddy 124
 
3932 dpurdie 125
 tips.ad_action       = stdTip(200, 'ACTION', 'The internal name of the access control element.' );
3933 dpurdie 126
 tips.ad_description  = stdTip(200, 'DESCRIPTION', 'A description of the access control element.' );
3932 dpurdie 127
 tips.ad_access       = stdTip(200, 'Project Independent Permissions', 'These are the basic permissions before project specific control elements have been applied.' );
128
 tips.ad_data         = stdTip(200, 'Project Specific Permissions', 'These are the permissions after project-specfic control elements have been applied.' );
129
 tips.ad_active       = stdTip(200, 'ACTIVE', 'The associated action should be available.<br>Controls do not need to visible for an action to be available.' );
130
 tips.ad_visible      = stdTip(200, 'VISIBLE', 'The associated action may have a control button that is shown to the user.<br>If the action is not active then the action should not be available to the user.' );
1370 dpurdie 131
 
3932 dpurdie 132
 
1370 dpurdie 133
 
119 ghuddy 134
 // TIP TEMPLATE
135
 template = '<table bgcolor="#000000" cellpadding="1" cellspacing="0" width="%2%" border="0">' +
136
  '<tr><td><table bgcolor="#FFFFCC" cellpadding="2" cellspacing="0" width="100%" border="0">' +
137
  '<tr><td height="%3%" class="tipClass">%4%</td></tr></table></td></tr></table>';
138
}