1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" id="sixapart-standard">
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6 <meta name="generator" content="Movable Type 5.2.3" />
8 <link rel="stylesheet" href="http://defaria.com/blogs/Status/styles-site.css" type="text/css" />
9 <link rel="alternate" type="application/atom+xml" title="Atom" href="http://defaria.com/blogs/Status/atom.xml" />
10 <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="http://defaria.com/blogs/Status/index.xml"$>" />
12 <title>Status for Andrew DeFaria: October 7, 2007 - October 13, 2007 Archives</title>
14 <link rel="start" href="http://defaria.com/blogs/Status/" title="Home" />
15 <link rel="prev" href="http://defaria.com/blogs/Status/archives/week_2007_09_30.html" title="September 30, 2007 - October 6, 2007" />
16 <link rel="next" href="http://defaria.com/blogs/Status/archives/week_2007_10_14.html" title="October 14, 2007 - October 20, 2007" />
18 <body class="layout-one-column">
20 <div id="container-inner" class="pkg">
23 <div id="banner-inner" class="pkg">
24 <h1 id="banner-header"><a href="http://defaria.com/blogs/Status/" accesskey="1">Status for Andrew DeFaria</a></h1>
25 <h2 id="banner-description">Searchable status reports and work log</h2>
30 <div id="pagebody-inner" class="pkg">
32 <div id="alpha-inner" class="pkg">
34 <p class="content-nav">
35 <a href="http://defaria.com/blogs/Status/archives/week_2007_09_30.html">« September 30, 2007 - October 6, 2007</a> |
36 <a href="http://defaria.com/blogs/Status/">Main</a>
37 | <a href="http://defaria.com/blogs/Status/archives/week_2007_10_14.html">October 14, 2007 - October 20, 2007 »</a>
42 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
43 xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
44 xmlns:dc="http://purl.org/dc/elements/1.1/">
46 rdf:about="http://defaria.com/blogs/Status/archives/week_2007_10_07.html#entry-000688"
47 trackback:ping="http://defaria.com/mt/mt-tb.cgi/75"
48 dc:title="UCMWB enhancements/Helpdesk Tickets"
49 dc:identifier="http://defaria.com/blogs/Status/archives/week_2007_10_07.html#entry-000688"
50 dc:subject="General Dynamics"
51 dc:description=" Added CreateWOR button and hooked it so that we can now create WORs in UCMWB (from File: Create New WOR or the Create WOR toolbar button) Added multiselection to View browser Enhanced Delete View to be Delete View(s) and..."
53 dc:date="2007-10-12T17:25:07-06:00" />
58 <h2 class="date-header">October 12, 2007</h2>
60 <div class="entry" id="entry-688">
61 <h3 class="entry-header">UCMWB enhancements/Helpdesk Tickets</h3>
62 <div class="entry-content">
63 <div class="entry-body">
65 <li>Added CreateWOR button and hooked it so that we can now create WORs in UCMWB (from <b>File: Create New WOR</b> or the Create WOR toolbar button)</li>
67 <li>Added multiselection to View browser</li>
69 <li>Enhanced Delete View to be Delete View(s) and to iterate over the selected views deleting them. Need to clean up the display of change sets and view private files when more than one view is selected.</li>
71 <li>Worked with Judy regarding <b>RANCQ00017440:</b> Update RanSimcello Switcher config spec for P4.0.24</li>
73 <li>Closed tickets:</li>
76 <li><b>RANCQ00016665:</b> UEH Tools Based on 4.0.6 versus 4.0.24 Config Spec</li>
78 <li><b>RANCQ00016964:</b> RoseRT does not open</li>
82 <p class="entry-footer">
83 <span class="post-footers">Posted by at 5:25 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000688.html">Permalink</a>
85 | <a href="http://defaria.com/blogs/Status/archives/000688.html#trackback">TrackBacks (0)</a>
92 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
93 xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
94 xmlns:dc="http://purl.org/dc/elements/1.1/">
96 rdf:about="http://defaria.com/blogs/Status/archives/week_2007_10_07.html#entry-000687"
97 trackback:ping="http://defaria.com/mt/mt-tb.cgi/74"
99 dc:identifier="http://defaria.com/blogs/Status/archives/week_2007_10_07.html#entry-000687"
100 dc:subject="General Dynamics"
101 dc:description=" Sent cqtool out for code review..."
103 dc:date="2007-10-10T15:08:55-06:00" />
108 <h2 class="date-header">October 10, 2007</h2>
110 <div class="entry" id="entry-687">
111 <h3 class="entry-header">cqtool</h3>
112 <div class="entry-content">
113 <div class="entry-body">
115 <li>Sent cqtool out for code review</li>
118 <h3>Introducing cqtool</h3>
120 <p>I have implemented a new script called cqtool. This is to replace
121 the unsupported /opt/rational/clearquest/bin/cqtool which is going
122 away as of Clearquest 7.0. UCMWB utilized IBM/Rational's cqtool to
123 perform certain actions. Additionally, as per Erik's RANCQ00014935
124 request to enhance UCMWB to be able to create child WORs a tool needed
125 to be developed to do that. So the new cqtool solves the following
129 <li>Provides a supported replacement for the following bits of UCMWB
132 <li>Cloning of WORs (Right click: Continue work in Clone on a
133 closed non-orphan WOR)<br>
135 <li> Creation of Helpdesk tickets (Tools: Submit Helpdesk Request)</li>
137 <li>Adds the following functionality:</li>
139 <li>Allows for creation of new WORs</li>
140 <li>Allows for linking of parent WOR to child WOR</li>
144 <p>Additionally, with the create WOR functionality, UCMWB can offer
145 the ability to create a new, non parent/child WOR. Finally, as has
146 been stated, with this new cqtool we don't have to worry about
147 IBM/Rational's cqtool disappearing in CQ 7.0.</p>
149 <p>This is an involved process so I created this in a modularized
150 fashion thus several Perl modules are involved. As per Ken's mandate,
151 I am calling for a code review of what I have so far. Next I will hook
154 <p>So far I have a cqperl script called cqtool. It relies on several Perl
155 Modules, some of which I have added to Clearcase and our <i>standard
156 lib</i> directory already
157 (/cleartrig/ent/SNSD/muos/ccadm_tools/vobs/ranccadm/scripts/lib):</p>
159 <table align="center" border="1" cellpadding="2" cellspacing="0"
163 <th bgcolor="#33ccff" valign="top">Module<br>
165 <th bgcolor="#33ccff" valign="top">Description<br>
167 <th bgcolor="#33ccff" valign="top">Location<br>
171 <td valign="top"><b>Display<br>
173 <td valign="top">Module for providing consistent output</td>
174 <td valign="top"><i>standard lib</i><br>
178 <td valign="top"><b>CQTool<br>
180 <td valign="top">Handles communications with Clearquest</td>
181 <td valign="top">~p6258c/adm/lib<br>
185 <td valign="top"><b>CreateWORUI</b></td>
186 <td valign="top">UI for CreateWOR</td>
187 <td valign="top">~p6258c/adm/lib</td>
190 <td valign="top"><b>CreateHelpDeskUI</b></td>
191 <td valign="top">UI for CreateHelpDesk</td>
192 <td valign="top">~p6258c/adm/lib</td>
195 <td valign="top"><b>Tk::MyText</b></td>
196 <td valign="top">Subclasses the Tk TextUndo<br>
197 widget. This is used for the description fields in both CreateWOR<br>
198 and CreateHelpDesk. The subclassing was necessary in order to<br>
199 provide for a modified callback that allows us to tell when the<br>
200 widget has text and thus can set the Submit button to active.</td>
201 <td valign="top">~p6258c/adm/lib</td>
206 <p>Additionally there is a cqtool script itself which is a command
207 line interface/driver that was initially used to test the
208 functionality provided in the above modules. It has been oriented to
209 be the primary interface to this functionality. The thought is that
210 UCMWB will fire up cqtool in the background at start up and then, if
211 and when it's functionality is needed, UCMWB will feed commands to the
212 already running cqtool.</p>
214 <p>When run interactively, cqtool prompts for a command. It will also
215 read commands from $ARGV, execute them and exit. So, in a sense,
216 cqtool works like cleartool.</p>
218 <p>If you type help at the prompt the following is displayed:</p>
220 <div class=code><pre>
221 cqtool Version 0.9: Program to talk to Clearquest
225 createwor: Create a new WOR
226 createhd: Create a new Help Desk Ticket
227 clone <wor> Clones a WOR
228 link <parent wor> <child wor> Link a parent WOR to a child
230 exit|quit: Exits cqtool
232 usage: Displays command line usage
233 version: Displays version of cqtool
236 <p>createwor and createhd both are Perl/Tk applications that interact
237 with Clearquest and display a GUI that obtains the necessary and
238 required fields to create a WOR or a Helpdesk ticket. Note, only the
239 bare minimum fields are available. IOW I didn't implement the whole UI
240 that Clearquest provides. Instead it's just enough to create the WOR
241 or Helpdesk ticket.</p>
243 <p>cqtool pays attention to a few environment variables:</p>
246 <dt><b>CQ_DBSET</b></dt>
248 <dd>Set to the dbset name of the Clearquest database to work with.
249 For testing purposes set this to XTST3. Production would be
252 <dt><b>CQ_USER</b></dt>
254 <dd>Name of the user to log in as. By default $USER is used. For
255 testing purposes set this to "ccadm" (for the XTST3 database that
258 <dt><b>CQ_PASSWORD</b></dt>
260 <dd>Set to the password for CQ_USER. For testing purposes set this
261 to "ccadm" (for the XTST3 database that is). If this is not set
262 then cqtool prompts for a password.</dd>
265 <p>So then, with the proper environment variables set one can:</p>
268 <div class=code><pre>
270 cqtool Version 0.9: Program to talk to Clearquest
274 createwor: Create a new WOR
275 createhd: Create a new Help Desk Ticket
276 clone <wor> Clones a WOR
277 link <parent wor> <child wor> Link a parent WOR to a child
279 exit|quit: Exits cqtool
281 usage: Displays command line usage
282 version: Displays version of cqtool
287 <div class=code><pre>
291 <p>Oh, where is cqtool? Well for now it's in ~p6258c/adm/cq/cqtool
292 (libs in ~p6258c/adm/lib/*).</p>
295 <p class="entry-footer">
296 <span class="post-footers">Posted by at 3:08 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000687.html">Permalink</a>
298 | <a href="http://defaria.com/blogs/Status/archives/000687.html#trackback">TrackBacks (0)</a>
305 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
306 xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
307 xmlns:dc="http://purl.org/dc/elements/1.1/">
309 rdf:about="http://defaria.com/blogs/Status/archives/week_2007_10_07.html#entry-000686"
310 trackback:ping="http://defaria.com/mt/mt-tb.cgi/73"
312 dc:identifier="http://defaria.com/blogs/Status/archives/week_2007_10_07.html#entry-000686"
313 dc:subject="General Dynamics"
314 dc:description=" Fixed issue with clone. Was core dumping cqperl. Should not be calling cloneWor unless the WOR is in a closed state. Changed code to check that the WOR is closed before attempting call to FireRecordScript for cloneWor. Resolved issues..."
316 dc:date="2007-10-09T19:14:26-06:00" />
321 <h2 class="date-header">October 9, 2007</h2>
323 <div class="entry" id="entry-686">
324 <h3 class="entry-header">cqtalk</h3>
325 <div class="entry-content">
326 <div class="entry-body">
328 <li>Fixed issue with clone. Was core dumping cqperl. Should not be calling cloneWor unless the WOR is in a closed state. Changed code to check that the WOR is closed before attempting call to FireRecordScript for cloneWor.</li>
330 <li>Resolved issues with cqtalk's createwor and createhd Perl/Tk apps. They used to blow up when run a second time. Turns out you need to make sure you destroy and undef all global objects first.</li>
332 <li>Fixed issue with link option. Turns out that if we hit an error say getting an entity, because it was provided to use incorrectly (say typo), then even though we are using eval to trap this error, internal state of the session variable gets screwed up. The workaround is to re-establish the session by closing and re-opening the database. Time consuming but it works.</li>
335 <p class="entry-footer">
336 <span class="post-footers">Posted by at 7:14 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000686.html">Permalink</a>
338 | <a href="http://defaria.com/blogs/Status/archives/000686.html#trackback">TrackBacks (0)</a>