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: September 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/2007_08.html" title="August 2007" />
16 <link rel="next" href="http://defaria.com/blogs/Status/archives/2007_10.html" title="October 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/2007_08.html">« 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 »</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/2007_09.html#entry-000683"
47 trackback:ping="http://defaria.com/mt/mt-tb.cgi/70"
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..."
53 dc:date="2007-09-27T17:08:03-06:00" />
58 <h2 class="date-header">September 27, 2007</h2>
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">
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>
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.<<em>project</em>>)</li>
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>
73 | <a href="http://defaria.com/blogs/Status/archives/000683.html#trackback">TrackBacks (0)</a>
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/">
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"
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..."
91 dc:date="2007-09-26T12:08:38-06:00" />
96 <h2 class="date-header">September 26, 2007</h2>
98 <div class="entry" id="entry-682">
99 <h3 class="entry-header">comptree2</h3>
100 <div class="entry-content">
101 <div class="entry-body">
103 <li>Updated comptree2 to handle other specifying of opts on the command line properly</li>
105 <li>Re-running comptree2 for UEH and the cade and cade_struct vobs</li>
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>
111 | <a href="http://defaria.com/blogs/Status/archives/000682.html#trackback">TrackBacks (0)</a>
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/">
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..."
129 dc:date="2007-09-25T12:04:08-06:00" />
134 <h2 class="date-header">September 25, 2007</h2>
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">
141 <li>Changed comptree2 to use GetConfig</li>
143 <li>Spoke with John regarding Release Records vs. Switch Config specs</li>
146 <h3>Release Records vs. Switch Config specs</h3>
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>
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>
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>
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>
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>
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>
161 | <a href="http://defaria.com/blogs/Status/archives/000681.html#trackback">TrackBacks (0)</a>
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/">
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..."
179 dc:date="2007-09-20T11:50:11-06:00" />
184 <h2 class="date-header">September 20, 2007</h2>
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">
191 <li>Created new switchConfig.pl config spec for UEH</li>
193 <li>Wrote Perl process to validate this new config spec</li>
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>
199 | <a href="http://defaria.com/blogs/Status/archives/000680.html#trackback">TrackBacks (0)</a>
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/">
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..."
217 dc:date="2007-09-19T16:14:38-06:00" />
222 <h2 class="date-header">September 19, 2007</h2>
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">
229 <li>Resolved two Helpdesk tickets for Christine and Patrick</li>
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>
235 | <a href="http://defaria.com/blogs/Status/archives/000679.html#trackback">TrackBacks (0)</a>
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/">
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's hanging problem off to Will..."
253 dc:date="2007-09-18T17:03:56-06:00" />
258 <h2 class="date-header">September 18, 2007</h2>
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">
265 <li>Implemented comptree in cron</li>
267 <li>Submitted Perl Modules to General Dynamics</li>
269 <li>Resolved help desk ticket regarding Ericson config spec</li>
271 <li>Site prepped Windows release area. Handed Tia's hanging problem off to Will</li>
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>
277 | <a href="http://defaria.com/blogs/Status/archives/000678.html#trackback">TrackBacks (0)</a>
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/">
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'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..."
295 dc:date="2007-09-14T12:51:03-06:00" />
300 <h2 class="date-header">September 14, 2007</h2>
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">
307 <li>Released ucmwb 1.2.3</li>
310 <h3>FindBin, Getopt::Long and Display.pm</h3>
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>
315 <div class=code><pre>
318 use lib "$FindBin::Bin/../lib";
323 display "ERROR: $msg\n" if defined $msg;
325 Usage: $FindBin::Script [-usage] [-verbose] [-debug] [-exec]
326 -from_view <view> -label <label_name>
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>
333 <div class=code><pre>
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
342 "usage" => sub { Usage "" },
343 "verbose" => sub { set_verbose },
344 "debug" => sub { set_debug },
345 "exec!" => \$execute,
346 "from_view=s" => \$from_view,
347 "branch=s" => \$branch,
348 "label=s" => \$label,
349 ) || Usage "Unknown parameter";
352 <p>Some notes about the above:</p>
355 <li>Usage is a subroutine (most people have one) that takes one parameter for an extra message to display first.</li>
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>
359 <li>The "exec!" is a negation. So -exec and -noexec apply and set $execute accordingly</li>
361 <li>All of "from_view", "branch" and "label" are simple name/value type parameters so -branch <branchname> sets $branch to <branchname>.</li>
364 <p>A word on Display.pm:</p>
366 <p>I find that often people do the following:</p>
369 <div class=code><pre>
370 print "In myspecial_subroutine: File = $file\n" if $debug;
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>
375 <p>My thought was to name the procedure debug and include the "\n" by default. People oughta quickly discern that:</p>
377 <div class=code><pre>
378 debug "In myspecial_subroutine: File = $file";
381 <p>probably only happens when debugging.</p>
383 <p>Additionally I support routines like verbose, debug, error, warning
384 (from Display.pm).</p>
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>
389 | <a href="http://defaria.com/blogs/Status/archives/000677.html#trackback">TrackBacks (0)</a>
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/">
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'ed to another user Addressed some issues about PC running CC in the RAN network..."
407 dc:date="2007-09-13T11:28:07-06:00" />
412 <h2 class="date-header">September 13, 2007</h2>
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">
419 <li>Fixed an issue with ucmwb running after su'ed to another user</li>
421 <li>Addressed some issues about PC running CC in the RAN network</li>
424 <h3>Stupid coding</h3>
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>
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>
430 <p>But along with that I noticed the following code:</p>
432 <div class=code><pre>
433 QSting homePath = QDir::homePath();
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;
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");
447 <p>OK so first ask yourself what do you see wrong here.....?</p>
451 <p>Here's my questions:</p>
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>
456 <li>Why then do this operation of obtaining homePath yet again to set settingsDirname?</li>
458 <li>If homePath were determined to be empty, aren't you ignoring what you set it to?</li>
461 <p>Naturally I fixed this to be:</p>
463 <div class=code><pre>
464 QSting homePath = QDir::homePath();
466 if (homePath.isEmpty()) {
467 // Note the following is a Unix'ism and non portable!
468 homePath = QString("/home/") + appUsername;
471 QString settingsFilename = homePath + QString("/.ucmwbrc");
472 QString settingsDirname = homePath + QString("/.ucmwb.d");
473 QString filterFilename = settingsDirname + QString("/filters");
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>
479 | <a href="http://defaria.com/blogs/Status/archives/000676.html#trackback">TrackBacks (0)</a>
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/">
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'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. Created baselines for the documentation visibility WORs..."
497 dc:date="2007-09-12T18:07:32-06:00" />
502 <h2 class="date-header">September 12, 2007</h2>
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">
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>
511 <li>Created baselines for the documentation visibility WORs</li>
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>
517 | <a href="http://defaria.com/blogs/Status/archives/000675.html#trackback">TrackBacks (0)</a>
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/">
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"
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-> build 2 and build 2 -> build 3 Resolved RoseRT issue Code reviewed Tom's changes to createView.pl..."
535 dc:date="2007-09-11T12:25:55-06:00" />
540 <h2 class="date-header">September 11, 2007</h2>
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">
547 <li>Performed merge for build 1-> build 2 and build 2 -> build 3</li>
549 <li>Resolved RoseRT issue</li>
551 <li>Code reviewed Tom's changes to createView.pl</li>
554 <h3>RANCQ00013181: MUOS document Project Views Are not Showing All Needed Documents</h3>
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>
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>
560 <p>File elements aren't merged - they are imported (i.e. copied from the from_view to the to_view)</p>
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>
564 <p>For build 1 there was a directory named:</p>
566 <div class=code><pre>
567 /vobs/gdrandocs/development/proj/ran/fdd/RNC_Initialization_Configuration
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>
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>
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>
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>
580 | <a href="http://defaria.com/blogs/Status/archives/000674.html#trackback">TrackBacks (0)</a>
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/">
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'm building it again, officially Rebuilding ucmwb with debug turned off Fixed problem with backspace not working in vim..."
598 dc:date="2007-09-10T14:44:10-06:00" />
603 <h2 class="date-header">September 10, 2007</h2>
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">
610 <li>Got the license key for Qt, 4.2.3 this time, so I'm building it again, officially</li>
612 <li>Rebuilding ucmwb with debug turned off</li>
614 <li>Fixed problem with backspace not working in vim</li>
618 <h3>Backspace and vim</h3>
620 <p>Annoyingly backspace continues to be a problem, especially with Sun. Here's the fix for vim (put in ~/.vimrc):</p>
622 <div class=code><pre>
627 <p><b>Note:</b> That's a Control-V [backspace] to produce ^h.</p>
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>
632 | <a href="http://defaria.com/blogs/Status/archives/000673.html#trackback">TrackBacks (0)</a>
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/">
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's no easy way to unco all checkouts. Created uncoall Issue: Need to get Qt licensed..."
650 dc:date="2007-09-06T17:41:23-06:00" />
655 <h2 class="date-header">September 6, 2007</h2>
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">
662 <li>Created a script to do the importation of the documents for the Documentation Visibility tickets</li>
664 <li>Found out that there's no easy way to unco all checkouts. Created uncoall</li>
666 <li>Issue: Need to get Qt licensed</li>
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>
673 <div class=code><pre>
674 foreach my $from_element (@elements_from_the_from_view) {
675 next if -e $from_element
677 <merge parent directory>
679 next if -d $from_element;
681 copy $from_element -> $to_element
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>
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>
690 | <a href="http://defaria.com/blogs/Status/archives/000672.html#trackback">TrackBacks (0)</a>
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/">
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..."
708 dc:date="2007-09-04T10:48:56-06:00" />
713 <h2 class="date-header">September 4, 2007</h2>
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">
720 <li>Sent out UCMWB 1.2.3 for review before release</li>
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>
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>
729 <b>RANCQ00010523: UCM Workbench - View Browser - Copy View Privates - Preserve
730 Modification Times</b></p>
732 <p><b>Status:</b> Fixed in 1.2.3</p>
734 <p><b>To reproduce:</b>
737 <li>From the command line, setview to a view that has view private files</li>
739 <li>Note the access/creation time in the view. (ls -l <view private file(s)>)</li>
741 <li>Use ucmwb's View Browser (<B>Tools: Start View Browser</B>) and select the view.</li>
743 <li>Select <b>Copy View Private Files</b> and copy the view private files to an area (e.g. /tmp/<viewname>).</li>
745 <li>Compare time stamps with the newly created view private files.</li>
750 <p><b>RANCQ00011414: UCMWB create view with common target dev WOR incorrectly creates new stream</b><br>
752 <b>RANCQ00011424: UCM Workbench doesn't create the correct stream for Target WORs</b><br>
754 <b>RANCQ00012828 Fix shared stream view creation from UCM Workbench.</b></p>
756 <p><b>Status:</b> Fixed in 1.2.3</p>
758 <p><b>To reproduce:</b>
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>
763 RANCQ00014260: Test Collector WOR #1<br>
764 RANCQ00014259: Test Worker WOR #1<br>
765 RANCQ00014261: Test Worker WOR #2<br><br></li>
767 <li>Designate one child WOR as the shared child WOR in Clearquest (RANCQ00014259 is the designated shared WOR above).</li>
769 <li>Right on the non shared child WOR in ucmwb and select <b>Create view</b>.</li>
771 <li>Verify that the view was created on the shared child WOR's stream.</li>
776 <p><b>RANCQ00012827: Many developers are getting deliver issue where default view is not found.</b></p>
778 <p><b>Status:</b> Verified not a problem.</p>
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>
784 <p><b>RANCQ00012829: View creation issue against Collector WORs</b></p>
786 <p><b>Status:</b> Verified not a problem.</p>
788 <p>This merely verifies that ucmwb does not allow creation of views for Collector WORs.</p>
792 <p><b>RANCQ00013782: ucmwb defect - does not delete view when rebase pending</b></p>
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>
796 <p><b>To reproduce:</b>
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>
801 <li>Return to (or start ucmwb). Select view.</li>
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>
805 <li>Start view browser (<b>Tools: Start View Browser</b>)</li>
807 <li>Select view with rebase/deliver not yet completed</li>
809 <li>Select <b>Delete View</b></li>
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>
816 <p><b>RANCQ00014267: UCMWB should save Clearquest password so it doesn't need to be
817 constantly specified</b></p>
819 <p><b>Status:</b> Fixed in 1.2.3</p>
821 <p><b>To reproduce:</b>
826 <li>Right click on a WOR and select <b>Properties</b></li>
828 <li>Select <b>Effort</b> (tab) and <b>Update</b></li>
830 <li>Add an hour of effort. ucmwb prompts for your Clearquest password<li>
832 <li>Repeat and note that you are not prompted for your Clearquest password again (1.2.2 prompted every time).</li>
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>
839 <p><b>RANCQ00014268: UCMWB Save Activity List improvements</b></p>
841 <p><b>Status:</b> Fixed in 1.2.3</p>
843 <p><b>To reproduce:</b>
848 <li>Select <b>File: Save Activity List</b></li>
850 <li><b>Cancel</b> the file save dialog box</li>
852 <li>You no longer receive an "Unable to write file" error</li>
855 <p>Note: The part about adding .html is more problematic than initially anticipated and therefore not addressed.</p>
859 <p><b>RANCQ00014402: UCMWB should unset activity before deleting the view</b></p>
861 <p><b>Status:</b> Fixed in 1.2.3</p>
863 <p><b>To reproduce:</b>
866 <li>After creating a view for a WOR use ucmwb's View Browser to delete the view</li>
868 <li>You should briefly see "Unsetting activity..." in the status area before "Deleting view..."</li>
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>
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>
877 <p><b>RANCQ00014935: Allow the UCM Workbench to create WOR from Collector</b></p>
879 <p><b>Status:</b> Not fixed</p>
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>
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>
887 <p><b>RANCQ00015381: Port UCMWB to Linux</b></p>
889 <p><b>Status:</b> Fixed in 1.2.3!</p>
891 <p><b>To reproduce:</b>
894 <li>Start ucmwb on a Linux machine (i.e. ranlin02 or ranlin03)</li>
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>
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>
902 | <a href="http://defaria.com/blogs/Status/archives/000671.html#trackback">TrackBacks (0)</a>