Initial add of defaria.com
[clearscm.git] / defaria.com / blogs / Status / archives / 2007_09.html
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">
4 <head>
5    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6    <meta name="generator" content="Movable Type 5.2.3" />
7
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"$>" />
11
12    <title>Status for Andrew DeFaria: September 2007 Archives</title>
13
14    <link rel="start" href="http://defaria.com/blogs/Status/" title="Home" />
15    <link rel="prev" href="http://defaria.com/blogs/Status/archives/2007_08.html" title="August 2007" />
16    <link rel="next" href="http://defaria.com/blogs/Status/archives/2007_10.html" title="October 2007" />
17 </head>
18 <body class="layout-one-column">
19    <div id="container">
20       <div id="container-inner" class="pkg">
21
22          <div id="banner">
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>
26             </div>
27          </div>
28
29          <div id="pagebody">
30             <div id="pagebody-inner" class="pkg">
31                <div id="alpha">
32                   <div id="alpha-inner" class="pkg">
33                      
34                      <p class="content-nav">
35                         <a href="http://defaria.com/blogs/Status/archives/2007_08.html">&laquo; August 2007</a> |
36                         <a href="http://defaria.com/blogs/Status/">Main</a>
37                         | <a href="http://defaria.com/blogs/Status/archives/2007_10.html">October 2007 &raquo;</a>
38                      </p>
39                      
40                      
41                      <!--
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/">
45 <rdf:Description
46     rdf:about="http://defaria.com/blogs/Status/archives/2007_09.html#entry-000683"
47     trackback:ping="http://defaria.com/mt/mt-tb.cgi/70"
48     dc:title="doc_vis"
49     dc:identifier="http://defaria.com/blogs/Status/archives/2007_09.html#entry-000683"
50     dc:subject="General Dynamics"
51     dc:description=" Altered comptree, which used to compare file trees to and formulate a report that was then emailed, to instead produce the report into an html file which would then be visible through ranweb Worked with Darren and Chad regarding..."
52     dc:creator=""
53     dc:date="2007-09-27T17:08:03-06:00" />
54 </rdf:RDF>
55 -->
56
57
58                      <h2 class="date-header">September 27, 2007</h2>
59                      <a id="a000683"></a>
60                      <div class="entry" id="entry-683">
61                         <h3 class="entry-header">doc_vis</h3>
62                         <div class="entry-content">
63                            <div class="entry-body">
64                               <ul>
65   <li>Altered comptree, which used to compare file trees to and formulate a report that was then emailed, to instead produce the report into an html file which would then be visible through ranweb</li>
66
67   <li>Worked with Darren and Chad regarding RoseRT version issues. Seems PURIFYOPTIONS are set in cshrc.muosran. They would like us to implement hierarchical cshrc scripts by supporting project oriented cshrc scripts (e.g. cshrc.&lt;<em>project</em>&gt;)</li>
68 </ul>
69                               
70                               <p class="entry-footer">
71                                  <span class="post-footers">Posted by  at  5:08 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000683.html">Permalink</a>
72                                  
73                                  | <a href="http://defaria.com/blogs/Status/archives/000683.html#trackback">TrackBacks (0)</a>
74                               </p>
75                            </div>
76                         </div>
77                      </div>
78                      
79                      <!--
80 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
81          xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
82          xmlns:dc="http://purl.org/dc/elements/1.1/">
83 <rdf:Description
84     rdf:about="http://defaria.com/blogs/Status/archives/2007_09.html#entry-000682"
85     trackback:ping="http://defaria.com/mt/mt-tb.cgi/69"
86     dc:title="comptree2"
87     dc:identifier="http://defaria.com/blogs/Status/archives/2007_09.html#entry-000682"
88     dc:subject="General Dynamics"
89     dc:description=" Updated comptree2 to handle other specifying of opts on the command line properly Re-running comptree2 for UEH and the cade and cade_struct vobs..."
90     dc:creator=""
91     dc:date="2007-09-26T12:08:38-06:00" />
92 </rdf:RDF>
93 -->
94
95
96                      <h2 class="date-header">September 26, 2007</h2>
97                      <a id="a000682"></a>
98                      <div class="entry" id="entry-682">
99                         <h3 class="entry-header">comptree2</h3>
100                         <div class="entry-content">
101                            <div class="entry-body">
102                               <ul>
103   <li>Updated comptree2 to handle other specifying of opts on the command line properly</li>
104
105   <li>Re-running comptree2 for UEH and the cade and cade_struct vobs</li>
106 </ul>
107                               
108                               <p class="entry-footer">
109                                  <span class="post-footers">Posted by  at 12:08 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000682.html">Permalink</a>
110                                  
111                                  | <a href="http://defaria.com/blogs/Status/archives/000682.html#trackback">TrackBacks (0)</a>
112                               </p>
113                            </div>
114                         </div>
115                      </div>
116                      
117                      <!--
118 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
119          xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
120          xmlns:dc="http://purl.org/dc/elements/1.1/">
121 <rdf:Description
122     rdf:about="http://defaria.com/blogs/Status/archives/2007_09.html#entry-000681"
123     trackback:ping="http://defaria.com/mt/mt-tb.cgi/68"
124     dc:title="Improvements to comptree2"
125     dc:identifier="http://defaria.com/blogs/Status/archives/2007_09.html#entry-000681"
126     dc:subject="General Dynamics"
127     dc:description=" Changed comptree2 to use GetConfig Spoke with John regarding Release Records vs. Switch Config specs..."
128     dc:creator=""
129     dc:date="2007-09-25T12:04:08-06:00" />
130 </rdf:RDF>
131 -->
132
133
134                      <h2 class="date-header">September 25, 2007</h2>
135                      <a id="a000681"></a>
136                      <div class="entry" id="entry-681">
137                         <h3 class="entry-header">Improvements to comptree2</h3>
138                         <div class="entry-content">
139                            <div class="entry-body">
140                               <ul>
141   <li>Changed comptree2 to use GetConfig</li>
142
143   <li>Spoke with John regarding Release Records vs. Switch Config specs</li>
144 </ul>
145                               
146                               <h3>Release Records vs. Switch Config specs</h3>
147
148 <p>Meantime I spoke with John about this and <i>Release Records</i> and learned a little bit about them. From what I understand the work I did regarding config spec Switch Config files should more properly be moved to Release Records. John explained that in general there are 3 sections to config specs (well some config specs for some projects).</p>
149
150 <p>The first section is generated by the UCM process of creating UCM related views that have components. These are delineated by "ucm" and "end ucm" markers in the config spec.</p>
151
152 <p>After that are any custom rules that you may want. This is where Release Records come in. The whole WOR oriented Clearquest mechanism already knows about Release Records. They are actually stored in Clearquest and are added to the end of the config spec at view creation time (by createView.pl that is).</p>
153
154 <p>So what are Switch Config files (Nit: I don't like the term Switcher Config. The script is called switchConfig.pl not switcherConfig.pl...)? Well there are files which are stuffed into config specs <b>after</b> "end  ucm" but <b>before</b> Release Records by the switchConfig.pl script.</p>
155
156 <p>However the intent of Switch Config files is to allow you to switch target type things (e.g. Solaris vs. PPC vs. SimCello) while the intent of Release Records was to specify which versions of the tools you want to use. So eventually, I will need to migrate the tools related lines from Switch Config files to Release Records.</p>
157                               
158                               <p class="entry-footer">
159                                  <span class="post-footers">Posted by  at 12:04 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000681.html">Permalink</a>
160                                  
161                                  | <a href="http://defaria.com/blogs/Status/archives/000681.html#trackback">TrackBacks (0)</a>
162                               </p>
163                            </div>
164                         </div>
165                      </div>
166                      
167                      <!--
168 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
169          xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
170          xmlns:dc="http://purl.org/dc/elements/1.1/">
171 <rdf:Description
172     rdf:about="http://defaria.com/blogs/Status/archives/2007_09.html#entry-000680"
173     trackback:ping="http://defaria.com/mt/mt-tb.cgi/67"
174     dc:title="RoseRT/Purify"
175     dc:identifier="http://defaria.com/blogs/Status/archives/2007_09.html#entry-000680"
176     dc:subject="General Dynamics"
177     dc:description=" Created new switchConfig.pl config spec for UEH Wrote Perl process to validate this new config spec..."
178     dc:creator=""
179     dc:date="2007-09-20T11:50:11-06:00" />
180 </rdf:RDF>
181 -->
182
183
184                      <h2 class="date-header">September 20, 2007</h2>
185                      <a id="a000680"></a>
186                      <div class="entry" id="entry-680">
187                         <h3 class="entry-header">RoseRT/Purify</h3>
188                         <div class="entry-content">
189                            <div class="entry-body">
190                               <ul>
191   <li>Created new switchConfig.pl config spec for UEH</li>
192
193   <li>Wrote Perl process to validate this new config spec</li>
194 </ul>
195                               
196                               <p class="entry-footer">
197                                  <span class="post-footers">Posted by  at 11:50 AM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000680.html">Permalink</a>
198                                  
199                                  | <a href="http://defaria.com/blogs/Status/archives/000680.html#trackback">TrackBacks (0)</a>
200                               </p>
201                            </div>
202                         </div>
203                      </div>
204                      
205                      <!--
206 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
207          xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
208          xmlns:dc="http://purl.org/dc/elements/1.1/">
209 <rdf:Description
210     rdf:about="http://defaria.com/blogs/Status/archives/2007_09.html#entry-000679"
211     trackback:ping="http://defaria.com/mt/mt-tb.cgi/66"
212     dc:title="Helpdesk Tickets"
213     dc:identifier="http://defaria.com/blogs/Status/archives/2007_09.html#entry-000679"
214     dc:subject="General Dynamics"
215     dc:description=" Resolved two Helpdesk tickets for Christine and Patrick..."
216     dc:creator=""
217     dc:date="2007-09-19T16:14:38-06:00" />
218 </rdf:RDF>
219 -->
220
221
222                      <h2 class="date-header">September 19, 2007</h2>
223                      <a id="a000679"></a>
224                      <div class="entry" id="entry-679">
225                         <h3 class="entry-header">Helpdesk Tickets</h3>
226                         <div class="entry-content">
227                            <div class="entry-body">
228                               <ul>
229   <li>Resolved two Helpdesk tickets for Christine and Patrick</li>
230 </ul>
231                               
232                               <p class="entry-footer">
233                                  <span class="post-footers">Posted by  at  4:14 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000679.html">Permalink</a>
234                                  
235                                  | <a href="http://defaria.com/blogs/Status/archives/000679.html#trackback">TrackBacks (0)</a>
236                               </p>
237                            </div>
238                         </div>
239                      </div>
240                      
241                      <!--
242 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
243          xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
244          xmlns:dc="http://purl.org/dc/elements/1.1/">
245 <rdf:Description
246     rdf:about="http://defaria.com/blogs/Status/archives/2007_09.html#entry-000678"
247     trackback:ping="http://defaria.com/mt/mt-tb.cgi/65"
248     dc:title="comptree/libs"
249     dc:identifier="http://defaria.com/blogs/Status/archives/2007_09.html#entry-000678"
250     dc:subject="General Dynamics"
251     dc:description=" Implemented comptree in cron Submitted Perl Modules to General Dynamics Resolved help desk ticket regarding Ericson config spec Site prepped Windows release area. Handed Tia&apos;s hanging problem off to Will..."
252     dc:creator=""
253     dc:date="2007-09-18T17:03:56-06:00" />
254 </rdf:RDF>
255 -->
256
257
258                      <h2 class="date-header">September 18, 2007</h2>
259                      <a id="a000678"></a>
260                      <div class="entry" id="entry-678">
261                         <h3 class="entry-header">comptree/libs</h3>
262                         <div class="entry-content">
263                            <div class="entry-body">
264                               <ul>
265   <li>Implemented comptree in cron</li>
266
267   <li>Submitted Perl Modules to General Dynamics</li>
268
269   <li>Resolved help desk ticket regarding Ericson config spec</li>
270
271   <li>Site prepped Windows release area. Handed Tia's hanging problem off to Will</li>
272 </ul>
273                               
274                               <p class="entry-footer">
275                                  <span class="post-footers">Posted by  at  5:03 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000678.html">Permalink</a>
276                                  
277                                  | <a href="http://defaria.com/blogs/Status/archives/000678.html#trackback">TrackBacks (0)</a>
278                               </p>
279                            </div>
280                         </div>
281                      </div>
282                      
283                      <!--
284 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
285          xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
286          xmlns:dc="http://purl.org/dc/elements/1.1/">
287 <rdf:Description
288     rdf:about="http://defaria.com/blogs/Status/archives/2007_09.html#entry-000677"
289     trackback:ping="http://defaria.com/mt/mt-tb.cgi/64"
290     dc:title="ucmwb 1.2.3 release/Perl&apos;isms"
291     dc:identifier="http://defaria.com/blogs/Status/archives/2007_09.html#entry-000677"
292     dc:subject="General Dynamics"
293     dc:description=" Released ucmwb 1.2.3..."
294     dc:creator=""
295     dc:date="2007-09-14T12:51:03-06:00" />
296 </rdf:RDF>
297 -->
298
299
300                      <h2 class="date-header">September 14, 2007</h2>
301                      <a id="a000677"></a>
302                      <div class="entry" id="entry-677">
303                         <h3 class="entry-header">ucmwb 1.2.3 release/Perl'isms</h3>
304                         <div class="entry-content">
305                            <div class="entry-body">
306                               <ul>
307   <li>Released ucmwb 1.2.3</li>
308 </ul>
309                               
310                               <h3>FindBin, Getopt::Long and Display.pm</h3>
311
312 <p>Here's how I typically use <a
313  href="http://search.cpan.org/%7Enwclark/perl-5.8.8/lib/FindBin.pm">FindBin</a>:</p>
314
315 <div class=code><pre>
316 use FindBin;
317 ...
318 use lib "$FindBin::Bin/../lib";
319 ...
320 sub Usage ($) {
321   my ($msg) = @_;
322
323   display "ERROR: $msg\n" if defined $msg;
324   display &lt;&lt;END;
325 Usage: $FindBin::Script [-usage] [-verbose] [-debug] [-exec]
326                 -from_view &lt;view&gt; -label &lt;label_name&gt;
327 ...
328 END
329 </pre></div>
330
331 <p>Also I tend to use Getopt::Long. It is extremely flexible. Options can be specified in the GNU long method as in --debug or just -debug. Additionally you can abbreviate as in -d IFF there is no other option that starts with "d". Options can have parameters (-file myfile.txt or -file=myfile.txt), set boolean (-verbose can set say $verbose), automatic negation (-verbose or -noverbose), even call subroutines directly!k Here's an example.</p>
332
333 <div class=code><pre>
334 use GetOpt::Long;
335 ...
336 my $execute     = 0;
337 my $from_view;  # e.g. p6258c_RAN_FDD_Doc_Bld1_int
338 my $branch;     # e.g. ran_fdd_release_build2_integration
339 my $label;      # e.g. RAN_FDD_RELEASE_BUILD1
340
341 GetOptions (
342   "usage"       =&gt; sub { Usage "" },
343   "verbose"     =&gt; sub { set_verbose },
344   "debug"       =&gt; sub { set_debug },
345   "exec!"       =&gt; \$execute,
346   "from_view=s" =&gt; \$from_view,
347   "branch=s"    =&gt; \$branch,
348   "label=s"     =&gt; \$label,
349 ) || Usage "Unknown parameter";
350 </pre></div>
351
352 <p>Some notes about the above:</p>
353
354 <ul>
355   <li>Usage is a subroutine (most people have one) that takes one parameter for an extra message to display first.</li>
356
357   <li>Eat your own dog food! I use my <a href="http://clearscm.com/php/cvs_man.php?file=lib/Display.pm">Display</a> module which has display routines for verbose and debug, etc. It also has $verbose and $debug variables and exports the set_verbose and set_debug methods.</li>
358
359   <li>The "exec!" is a negation. So -exec and -noexec apply and set $execute accordingly</li>
360
361   <li>All of "from_view", "branch" and "label" are simple name/value type parameters so -branch &lt;branchname&gt; sets $branch to &lt;branchname&gt;.</li>
362 </ul>
363
364 <p>A word on Display.pm:</p>
365
366 <p>I find that often people do the following:</p>
367
368
369 <div class=code><pre>
370 print "In myspecial_subroutine: File = $file\n" if $debug;
371 </pre></div>
372
373 <p>for debugging. To me it's always been a hassle to have to remember to include the "\b" and the "if $debug", etc. Granted that's not a lot. But how can I make it better?</p>
374
375 <p>My thought was to name the procedure debug and include the "\n" by default. People oughta quickly discern that:</p>
376
377 <div class=code><pre>
378 debug "In myspecial_subroutine: File = $file";
379 </pre></div>
380
381 <p>probably only happens when debugging.</p>
382
383 <p>Additionally I support routines like verbose, debug, error, warning
384 (from Display.pm).</p>
385                               
386                               <p class="entry-footer">
387                                  <span class="post-footers">Posted by  at 12:51 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000677.html">Permalink</a>
388                                  
389                                  | <a href="http://defaria.com/blogs/Status/archives/000677.html#trackback">TrackBacks (0)</a>
390                               </p>
391                            </div>
392                         </div>
393                      </div>
394                      
395                      <!--
396 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
397          xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
398          xmlns:dc="http://purl.org/dc/elements/1.1/">
399 <rdf:Description
400     rdf:about="http://defaria.com/blogs/Status/archives/2007_09.html#entry-000676"
401     trackback:ping="http://defaria.com/mt/mt-tb.cgi/63"
402     dc:title="UCMWB su bug"
403     dc:identifier="http://defaria.com/blogs/Status/archives/2007_09.html#entry-000676"
404     dc:subject="General Dynamics"
405     dc:description=" Fixed an issue with ucmwb running after su&apos;ed to another user Addressed some issues about PC running CC in the RAN network..."
406     dc:creator=""
407     dc:date="2007-09-13T11:28:07-06:00" />
408 </rdf:RDF>
409 -->
410
411
412                      <h2 class="date-header">September 13, 2007</h2>
413                      <a id="a000676"></a>
414                      <div class="entry" id="entry-676">
415                         <h3 class="entry-header">UCMWB su bug</h3>
416                         <div class="entry-content">
417                            <div class="entry-body">
418                               <ul>
419   <li>Fixed an issue with ucmwb running after su'ed to another user</li>
420
421   <li>Addressed some issues about PC running CC in the RAN network</li>
422 </ul>
423                               
424                               <h3>Stupid coding</h3>
425
426 <p>It never ceases to amaze me what some programmers do that when I look at it seem to be just foolish things. Here's today's example:</p>
427
428 <p>In ucmwb a bug was discovered when a user first su's to some other user then runs ucmwb (in this case the user is su'ing to ccadm). The while the main window dutifully displays the list of WORs for the su'ed user, the view browser does not. Instead it displays the list of views for the original user. Turns out that there was specific code for Solaris to call cuserid instead of getenv("USER"). So Linux was working but Solaris failed. Why the difference?</p>
429
430 <p>But along with that I noticed the following code:</p>
431
432 <div class=code><pre>
433     QSting homePath = QDir::homePath();
434
435     if (homePath.isEmpty()) {
436       qDebug() << "homePath is empty!";
437       // Note the following is a Unix'ism and non portable!
438       homePath = QString("/home/") + appUsername;
439     }
440
441     qDebug() << "homePath = " << homePath;
442     QString settingsFilename = QDir::homePath() + QString("/.ucmwbrc");
443     QString settingsDirname  = QDir::homePath() + QString("/.ucmwb.d");
444     QString filterFilename   = settingsDirname + QString("/filters");
445 </pre></div>
446
447 <p>OK so first ask yourself what do you see wrong here.....?</p>
448
449 <p>Pencils down!</p>
450
451 <p>Here's my questions:</p>
452
453 <ol>
454   <li>Why go through the effort of getting the user's homePath, check to see if it's empty and then compose one with "/home" + appUsername only then to totally ignore all that work and get it again for settingsFilename?</li>
455
456   <li>Why then do this operation of obtaining homePath yet again to set settingsDirname?</li>
457
458   <li>If homePath were determined to be empty, aren't you ignoring what you set it to?</li>
459 </ol>
460
461 <p>Naturally I fixed this to be:</p>
462
463 <div class=code><pre>
464     QSting homePath = QDir::homePath();
465
466     if (homePath.isEmpty()) {
467       // Note the following is a Unix'ism and non portable!
468       homePath = QString("/home/") + appUsername;
469     }
470
471     QString settingsFilename = homePath + QString("/.ucmwbrc");
472     QString settingsDirname  = homePath + QString("/.ucmwb.d");
473     QString filterFilename   = settingsDirname + QString("/filters");
474 </pre></div>
475                               
476                               <p class="entry-footer">
477                                  <span class="post-footers">Posted by  at 11:28 AM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000676.html">Permalink</a>
478                                  
479                                  | <a href="http://defaria.com/blogs/Status/archives/000676.html#trackback">TrackBacks (0)</a>
480                               </p>
481                            </div>
482                         </div>
483                      </div>
484                      
485                      <!--
486 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
487          xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
488          xmlns:dc="http://purl.org/dc/elements/1.1/">
489 <rdf:Description
490     rdf:about="http://defaria.com/blogs/Status/archives/2007_09.html#entry-000675"
491     trackback:ping="http://defaria.com/mt/mt-tb.cgi/62"
492     dc:title="UCMWB/Document Visibility"
493     dc:identifier="http://defaria.com/blogs/Status/archives/2007_09.html#entry-000675"
494     dc:subject="General Dynamics"
495     dc:description=" Fixed a few problems with UCMWB&apos;s help facility. Previously help didn&apos;t work at all on Linux. Now it works and About identifies the proper version numbers and which architecture. Created baselines for the documentation visibility WORs..."
496     dc:creator=""
497     dc:date="2007-09-12T18:07:32-06:00" />
498 </rdf:RDF>
499 -->
500
501
502                      <h2 class="date-header">September 12, 2007</h2>
503                      <a id="a000675"></a>
504                      <div class="entry" id="entry-675">
505                         <h3 class="entry-header">UCMWB/Document Visibility</h3>
506                         <div class="entry-content">
507                            <div class="entry-body">
508                               <ul>
509   <li>Fixed a few problems with UCMWB's help facility. Previously help didn't work at all on Linux. Now it works and About identifies the proper version numbers and which architecture.</li>
510
511   <li>Created baselines for the documentation visibility WORs</li>
512 </ul>
513                               
514                               <p class="entry-footer">
515                                  <span class="post-footers">Posted by  at  6:07 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000675.html">Permalink</a>
516                                  
517                                  | <a href="http://defaria.com/blogs/Status/archives/000675.html#trackback">TrackBacks (0)</a>
518                               </p>
519                            </div>
520                         </div>
521                      </div>
522                      
523                      <!--
524 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
525          xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
526          xmlns:dc="http://purl.org/dc/elements/1.1/">
527 <rdf:Description
528     rdf:about="http://defaria.com/blogs/Status/archives/2007_09.html#entry-000674"
529     trackback:ping="http://defaria.com/mt/mt-tb.cgi/61"
530     dc:title="Import.pl"
531     dc:identifier="http://defaria.com/blogs/Status/archives/2007_09.html#entry-000674"
532     dc:subject="General Dynamics"
533     dc:description=" Performed merge for build 1-&gt; build 2 and build 2 -&gt; build 3 Resolved RoseRT issue Code reviewed Tom&apos;s changes to createView.pl..."
534     dc:creator=""
535     dc:date="2007-09-11T12:25:55-06:00" />
536 </rdf:RDF>
537 -->
538
539
540                      <h2 class="date-header">September 11, 2007</h2>
541                      <a id="a000674"></a>
542                      <div class="entry" id="entry-674">
543                         <h3 class="entry-header">Import.pl</h3>
544                         <div class="entry-content">
545                            <div class="entry-body">
546                               <ul>
547   <li>Performed merge for build 1-> build 2 and build 2 -> build 3</li>
548
549   <li>Resolved RoseRT issue</li>
550
551   <li>Code reviewed Tom's changes to createView.pl</li>
552 </ul>
553                               
554                               <h3>RANCQ00013181: MUOS document Project Views Are not Showing All Needed Documents</h3>
555
556 <p>Process was written to perform this importation. The process takes 3 parameters: a from_view, a branch and a label. The process is designed to run in the to_view context. It proceeds to search the from_view for elements that do not exist in the to_view and upon finding them it merges the parent directory and then the element in question is "imported".</p>
557
558 <p>Both a branch and a label is used because the merge procedure used on directory elements first tries to merge with the LATEST on the specified branch. If the branch does not exist (because the element was never branched) then the label is used to locate the source directory for the merge.</p>
559
560 <p>File elements aren't merged - they are imported (i.e. copied from the from_view to the to_view)</p>
561
562 <p>There are a few errors and/or warnings that can result in such a process that this script cannot hueristically determine the correct action to take. The problems arise from the renaming or removing of elements in the to_view. It is not possible for this script to determine what the user intended. An example will better explain this.</p>
563
564 <p>For build 1 there was a directory named:</p>
565
566 <div class=code><pre>
567 /vobs/gdrandocs/development/proj/ran/fdd/RNC_Initialization_Configuration
568 </pre></div>
569
570 <p>This was on the ran_fdd_doc_bld1_integration branch version 2 which was labled RAN_FDD_RELEASE_BUILD1. At version 17 RNC_Intitialization_Configuration was renamed to RBS_RNC_Intitialization_Configuration. By version 28 the RAN_FDD_RELEASE_BUILD2 label was applied.</p>
571
572 <p>Since this directory was renamed there is no way to guess what it was renamed to. Sure it's easy for a human to look at it and make a loose association based on the fact that most of the directory name is the same, this sort of AI is very difficult to program. The script marks these as an error. It's an error because somebody should verify if a directory was simply renamed or if it was removed (rmname'd). Also it's not known what to do at this point. Shall we assume that the newly named directory contains all it needs? Or does further merging/importing need to take place?</p>
573
574 <p>Additionally, since a directory is renamed, the elements contained in the directory went along with it. So in the script, the from_view keeps producing paths with RNC_Intitialization_Configuration in them not RBS_RNC_Intitialization_Configuration. Such elements then appear to have disappeared and the script issues a warning for these. At this point we really cannot tell if the file element was simply removed (where we would assume that the act was deliberate and that we should not be importing the element back in) or if it's a result of a directory renaming of the parent directory (or some parent of the parent) thus falling into the error described in the preceeding paragraph.</p>
575
576                               
577                               <p class="entry-footer">
578                                  <span class="post-footers">Posted by  at 12:25 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000674.html">Permalink</a>
579                                  
580                                  | <a href="http://defaria.com/blogs/Status/archives/000674.html#trackback">TrackBacks (0)</a>
581                               </p>
582                            </div>
583                         </div>
584                      </div>
585                      
586                      <!--
587 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
588          xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
589          xmlns:dc="http://purl.org/dc/elements/1.1/">
590 <rdf:Description
591     rdf:about="http://defaria.com/blogs/Status/archives/2007_09.html#entry-000673"
592     trackback:ping="http://defaria.com/mt/mt-tb.cgi/60"
593     dc:title="Building Qt/UCMWB officially"
594     dc:identifier="http://defaria.com/blogs/Status/archives/2007_09.html#entry-000673"
595     dc:subject="General Dynamics"
596     dc:description=" Got the license key for Qt, 4.2.3 this time, so I&apos;m building it again, officially Rebuilding ucmwb with debug turned off Fixed problem with backspace not working in vim..."
597     dc:creator=""
598     dc:date="2007-09-10T14:44:10-06:00" />
599 </rdf:RDF>
600 -->
601
602
603                      <h2 class="date-header">September 10, 2007</h2>
604                      <a id="a000673"></a>
605                      <div class="entry" id="entry-673">
606                         <h3 class="entry-header">Building Qt/UCMWB officially</h3>
607                         <div class="entry-content">
608                            <div class="entry-body">
609                               <ul>
610   <li>Got the license key for Qt, 4.2.3 this time, so I'm building it again, officially</li>
611
612   <li>Rebuilding ucmwb with debug turned off</li>
613
614   <li>Fixed problem with backspace not working in vim</li>
615 </ul>
616
617                               
618                               <h3>Backspace and vim</h3>
619
620 <p>Annoyingly backspace continues to be a problem, especially with Sun. Here's the fix for vim (put in ~/.vimrc):</p>
621
622 <div class=code><pre>
623 set t_kb=^h
624 fixdel
625 </pre></div>
626
627 <p><b>Note:</b> That's a Control-V [backspace] to produce ^h.</p>
628                               
629                               <p class="entry-footer">
630                                  <span class="post-footers">Posted by  at  2:44 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000673.html">Permalink</a>
631                                  
632                                  | <a href="http://defaria.com/blogs/Status/archives/000673.html#trackback">TrackBacks (0)</a>
633                               </p>
634                            </div>
635                         </div>
636                      </div>
637                      
638                      <!--
639 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
640          xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
641          xmlns:dc="http://purl.org/dc/elements/1.1/">
642 <rdf:Description
643     rdf:about="http://defaria.com/blogs/Status/archives/2007_09.html#entry-000672"
644     trackback:ping="http://defaria.com/mt/mt-tb.cgi/59"
645     dc:title="import.pl/uncoall/qt"
646     dc:identifier="http://defaria.com/blogs/Status/archives/2007_09.html#entry-000672"
647     dc:subject="General Dynamics"
648     dc:description=" Created a script to do the importation of the documents for the Documentation Visibility tickets Found out that there&apos;s no easy way to unco all checkouts. Created uncoall Issue: Need to get Qt licensed..."
649     dc:creator=""
650     dc:date="2007-09-06T17:41:23-06:00" />
651 </rdf:RDF>
652 -->
653
654
655                      <h2 class="date-header">September  6, 2007</h2>
656                      <a id="a000672"></a>
657                      <div class="entry" id="entry-672">
658                         <h3 class="entry-header">import.pl/uncoall/qt</h3>
659                         <div class="entry-content">
660                            <div class="entry-body">
661                               <ul>
662   <li>Created a script to do the importation of the documents for the Documentation Visibility tickets</li>
663
664   <li>Found out that there's no easy way to unco all checkouts. Created uncoall</li>
665
666   <li>Issue: Need to get Qt licensed</li>
667 </ul>
668                               
669                               <h3>import.pl</h3>
670
671 <p>Created a Perl script to handle the odd findmerge like "bring documents into visibility" help desk tickets. It's like a findmerge however we don't want to merge any elements - just merge in the previously unseen elements. A rough outline of the algorithm is as follows:</p>
672
673 <div class=code><pre>
674   foreach my $from_element (@elements_from_the_from_view) {
675     next if -e $from_element
676
677     &lt;merge parent directory&gt;
678
679     next if -d $from_element;
680
681     copy $from_element -> $to_element
682   }
683 </pre></div>
684
685 <p>It's also been discussed that the group has not decided exactly what documents should be imported in from the original set. Importing from build 1 -> build 2 doesn't make much sense. IOW we should start from the beginning.</p>
686                               
687                               <p class="entry-footer">
688                                  <span class="post-footers">Posted by  at  5:41 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000672.html">Permalink</a>
689                                  
690                                  | <a href="http://defaria.com/blogs/Status/archives/000672.html#trackback">TrackBacks (0)</a>
691                               </p>
692                            </div>
693                         </div>
694                      </div>
695                      
696                      <!--
697 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
698          xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
699          xmlns:dc="http://purl.org/dc/elements/1.1/">
700 <rdf:Description
701     rdf:about="http://defaria.com/blogs/Status/archives/2007_09.html#entry-000671"
702     trackback:ping="http://defaria.com/mt/mt-tb.cgi/58"
703     dc:title="UCMWB 1.2.3"
704     dc:identifier="http://defaria.com/blogs/Status/archives/2007_09.html#entry-000671"
705     dc:subject="General Dynamics"
706     dc:description=" Sent out UCMWB 1.2.3 for review before release..."
707     dc:creator=""
708     dc:date="2007-09-04T10:48:56-06:00" />
709 </rdf:RDF>
710 -->
711
712
713                      <h2 class="date-header">September  4, 2007</h2>
714                      <a id="a000671"></a>
715                      <div class="entry" id="entry-671">
716                         <h3 class="entry-header">UCMWB 1.2.3</h3>
717                         <div class="entry-content">
718                            <div class="entry-body">
719                               <ul>
720   <li>Sent out UCMWB 1.2.3 for review before release</li>
721 </ul>
722                               
723                               <p>I know everybody's busy however could you please take a few moments to help verify this new release of ucmwb 1.2.3. The following is a list  of 12 tickets resolved in this release along with a little description telling you what was fixed and how you can verify it. You can run ucmwb from the command line to run ucmwb 1.2.2 and ucmwbpre from the command line to run the new ucmwb 1.2.3. This way you can do a side by side comparison.</p>
724
725 <p>There are a few tickets that have not been addressed for this release because they require a lot more effort to implement but I would like to release 1.2.3 and knock out a bunch of tickets.<BR><BR>Finally there remains a licensing issue for Qt upon which ucmwb is built. The licensing has been approved and the next step needs to take place...</p>
726
727 <hr width="100%">
728
729 <b>RANCQ00010523: UCM Workbench - View Browser - Copy View Privates - Preserve
730 Modification Times</b></p>
731
732 <p><b>Status:</b> Fixed in 1.2.3</p>
733
734 <p><b>To reproduce:</b>
735
736 <ul>
737   <li>From the command line, setview to a view that has view private files</li>
738
739   <li>Note the access/creation time in the view. (ls -l &lt;view private file(s)&gt;)</li>
740
741   <li>Use ucmwb's View Browser (<B>Tools: Start View Browser</B>) and select the view.</li>
742
743   <li>Select <b>Copy View Private Files</b> and copy the view private files to an area (e.g. /tmp/&lt;viewname&gt;).</li>
744
745   <li>Compare time stamps with the newly created view private files.</li>
746 </ul>
747
748 <hr width="100%">
749
750 <p><b>RANCQ00011414: UCMWB create view with common target dev WOR incorrectly creates new stream</b><br>
751
752 <b>RANCQ00011424: UCM Workbench doesn't create the correct stream for Target WORs</b><br>
753
754 <b>RANCQ00012828&nbsp;&nbsp;&nbsp; Fix shared stream view creation from UCM Workbench.</b></p>
755
756 <p><b>Status:</b> Fixed in 1.2.3</p>
757
758 <p><b>To reproduce:</b>
759
760 <ul>
761   <li>Create a Collector WOR and Worker WORs using Clearquest (If people want they can use the test ones I've created)<br><br>
762
763 RANCQ00014260: Test Collector WOR #1<br>
764 RANCQ00014259: Test Worker WOR #1<br>
765 RANCQ00014261: Test Worker WOR #2<br><br></li>
766
767   <li>Designate one child WOR as the shared child WOR in Clearquest (RANCQ00014259 is the designated shared WOR above).</li>
768
769   <li>Right on the non shared child WOR in ucmwb and select <b>Create view</b>.</li>
770
771   <li>Verify that the view was created on the shared child WOR's stream.</li>
772 </ul>
773
774 <hr width="100%">
775
776 <p><b>RANCQ00012827: Many developers are getting deliver issue where default view is not found.</b></p>
777
778 <p><b>Status:</b> Verified not a problem.</p>
779
780 <p>This merely verifies that duplicate stream views are not being created by ucmwb (neither 1.2.2 nor 1.2.3 did this).</p>
781
782 <hr width="100%">
783
784 <p><b>RANCQ00012829: View creation issue against Collector WORs</b></p>
785
786 <p><b>Status:</b> Verified not a problem.</p>
787
788 <p>This merely verifies that ucmwb does not allow creation of views for Collector WORs.</p>
789
790 <hr width="100%">
791
792 <p><b>RANCQ00013782: ucmwb defect - does not delete view when rebase pending</b></p>
793
794 <p><b>Status:</b> Fixed in 1.2.3<BR><BR>When deleting a view, stderr from the cleartool rmview is now displayed if there were any errors. This covers both the rebase problem and deliver problems...</p>
795
796 <p><b>To reproduce:</b>
797
798 <ul>
799   <li>Start a rebase or deliver for a view. Instead of completing it, close the dialog box thus leaving the view in an uncompleted rebase or deliver.</li>
800
801   <li>Return to (or start ucmwb). Select view.</li>
802
803   <li>Notice that the right click menu allows rebase stream (previously, i.e. old ucmwb, rebasing of a stream was considered always completed).</li>
804
805   <li>Start view browser (<b>Tools: Start View Browser</b>)</li>
806
807   <li>Select view with rebase/deliver not yet completed</li>
808
809   <li>Select <b>Delete View</b></li>
810 </ul>
811
812 <p>Deletion of view now fails properly indicating that you cannot delete the view while it's in the middle of a rebase/deliver. User can return to ucmwb, select view and rebase stream then undo or complete the rebase, then deletion of the view will work.</p>
813
814 <hr width="100%">
815
816 <p><b>RANCQ00014267: UCMWB should save Clearquest password so it doesn't need to be
817 constantly specified</b></p>
818
819 <p><b>Status:</b> Fixed in 1.2.3</p>
820
821 <p><b>To reproduce:</b>
822
823 <ul>
824   <li>Start ucmwb</li>
825
826   <li>Right click on a WOR and select <b>Properties</b></li>
827
828   <li>Select <b>Effort</b> (tab) and <b>Update</b></li>
829
830   <li>Add an hour of effort. ucmwb prompts for your Clearquest password<li>
831
832   <li>Repeat and note that you are not prompted for your Clearquest password again (1.2.2 prompted every time).</li>
833 </ul>
834
835 <p>Note that the password is saved only for the duration of the ucmwb session. Saving it in preference would involve encryption/security concerns.</p>
836
837 <hr width="100%">
838
839 <p><b>RANCQ00014268: UCMWB Save Activity List improvements</b></p>
840
841 <p><b>Status:</b> Fixed in 1.2.3</p>
842
843 <p><b>To reproduce:</b>
844
845 <ul>
846   <li>Start ucmwb</li>
847
848   <li>Select <b>File: Save Activity List</b></li>
849
850   <li><b>Cancel</b> the file save dialog box</li>
851
852   <li>You no longer receive an "Unable to write file" error</li>
853 </ul>
854
855 <p>Note: The part about adding .html is more problematic than initially anticipated and therefore not addressed.</p>
856
857 <hr width="100%">
858
859 <p><b>RANCQ00014402: UCMWB should unset activity before deleting the view</b></p>
860
861 <p><b>Status:</b> Fixed in 1.2.3</p>
862
863 <p><b>To reproduce:</b>
864
865 <ul>
866   <li>After creating a view for a WOR use ucmwb's View Browser to delete the view</li>
867
868   <li>You should briefly see "Unsetting activity..." in the status area before "Deleting view..."</li>
869
870   <li>Close View Browser and right click on the WOR in the activity list. You should be able to <b>Create View</b> again.</li>
871 </ul>
872
873 <p>ucmwb 1.2.2 did not bother to unset the view's activity when a view was deleted. As a result Clearquest was never updated WRT its association of that just deleted view with this activity. User could not therefore use ucmwb to create a view for that WOR anymore!</p>
874
875 <hr width="100%">
876
877 <p><b>RANCQ00014935: Allow the UCM Workbench to create WOR from Collector</b></p>
878
879 <p><b>Status:</b> Not fixed</p>
880
881 <p>This issue involves a much more complicated interaction between ucmwb and Clearquest than is currently capable. Code exists in ucmwb to use cqtool (which is going away at 7.0 BTW) to pop up the submission dialog box from Clearquest. While this will allow a WOR to be created, the trouble is 1) it's non blocking and 2) the newly created WOR # is not returned, thus we do not know how to do the linking required by this request.</p>
882
883 <p>A totally different approach is needed, one that will solve a few other issues such as being able to offer a way to create WORs (not just child WORs nor Collector WORs but just normal WORs) directly from ucmwb - which would make ucmwb much more useful, but might be able to solve the problem with cqtool going away for 7.0. If we could reliably create WORs in ucmwb by interacting with a Perl process talking to Clearquest, then the above ticket only involves performing the link afterwards.</p>
884
885 <hr width="100%">
886
887 <p><b>RANCQ00015381: Port UCMWB to Linux</b></p>
888
889 <p><b>Status:</b> Fixed in 1.2.3!</p>
890
891 <p><b>To reproduce:</b>
892
893 <ul>
894   <li>Start ucmwb on a Linux machine (i.e. ranlin02 or ranlin03)</li>
895 </ul>
896
897 <p>Also exhibits that ucmwbpre (actually /prj/muosran/bin/ucmwbpre) is a shell script which kicks off the correct binary based on architecture.</p>
898                               
899                               <p class="entry-footer">
900                                  <span class="post-footers">Posted by  at 10:48 AM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000671.html">Permalink</a>
901                                  
902                                  | <a href="http://defaria.com/blogs/Status/archives/000671.html#trackback">TrackBacks (0)</a>
903                               </p>
904                            </div>
905                         </div>
906                      </div>
907                      
908                   </div>
909                </div>
910             </div>
911          </div>
912       </div>
913    </div>
914 </body>
915 </html>