Initial add of defaria.com
[clearscm.git] / defaria.com / blogs / Status / archives / 000493.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: Bin Merge updates/GNATS: Another word for "bug"! :-(</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/000492.html" title="BinMerge Module &amp; Perl Issues" />
16    <link rel="next" href="http://defaria.com/blogs/Status/archives/000494.html" title="Stripmime/IMS.pm" />
17
18    
19
20    
21
22    <script type="text/javascript" src="http://defaria.com/blogs/Status/mt-site.js"></script>
23 </head>
24 <body class="layout-one-column" onload="individualArchivesOnLoad(commenter_name)">
25    <div id="container">
26       <div id="container-inner" class="pkg">
27
28          <div id="banner">
29             <div id="banner-inner" class="pkg">
30                <h1 id="banner-header"><a href="http://defaria.com/blogs/Status/" accesskey="1">Status for Andrew DeFaria</a></h1>
31                <h2 id="banner-description">Searchable status reports and work log</h2>
32             </div>
33          </div>
34
35          <div id="pagebody">
36             <div id="pagebody-inner" class="pkg">
37                <div id="alpha">
38                   <div id="alpha-inner" class="pkg">
39
40                      <p class="content-nav">
41                         <a href="http://defaria.com/blogs/Status/archives/000492.html">&laquo; BinMerge Module & Perl Issues</a> |
42                         <a href="http://defaria.com/blogs/Status/">Main</a>
43                         | <a href="http://defaria.com/blogs/Status/archives/000494.html">Stripmime/IMS.pm &raquo;</a>
44                      </p>
45
46                      <a id="a000493"></a>
47                      <div class="entry" id="entry-493">
48                         <h3 class="entry-header">Bin Merge updates/GNATS: Another word for "bug"! :-(</h3>
49                         <div class="entry-content">
50                            <div class="entry-body">
51                               <ul>
52   <li>Worked with David Dinh on getting Clearquest Windows Client on Citrix</li>
53
54   <lI>Updated BinMerge to always draw the merge arrow to the branch we are merging to</li>
55
56   <li>Fixed BinMerge's PerlTk portion to top the window iniitially</lI>
57
58   <li>Worked with Ravi on Stripmime and GNATS</li>
59 </ul>
60                            </div>
61                            <div id="more" class="entry-more">
62                               <h2>BinMerge updates</h2>
63
64 <p>Updated BinMerge to always draw the merge arrow to the branch we are merging to. There was also a bug about the choice returned from the PerlTk portion where it needed to not only be chomped but chopped until there were no more "\n"'s there. Don't know why that happened.</p>
65
66 <p>Additionally the PerlTk window would often not pop to the top of the window stack. This is apparenty common under Windows. I implemented the following code:</p>
67
68 <div class="code"><pre>
69     # Make sure the window pops to the top
70     # Trying really hard... :-)
71     $main->update;
72     $main->deiconify;
73     $main->update;
74     $main->raise;
75     $main->update;
76     $main->focusForce;
77     $main->update;
78
79     MainLoop;
80 </pre></div>
81
82 <p>At least this heavy handed approach seems to work.</p>
83
84 <h2>Stripmime and GNATS</h2>
85
86 <p>Ravi and I worked on the stripmimed thing a little today. Here's what
87 happened:</p>
88
89 <ul>
90   <li>We verified that stripmimed is indeed running. The alias was changed to not run Perl first rather to  use the shebang line. That was working - IOW /tools/gnats/4.0/bin/stripmimed would run. (later it broke).</li>
91
92   <li>We verified that stripmimed was writing properly to stdout.</li>
93
94   <li>We saw that /tools/gnats/4.0/SunOS/libexec/gnats/queue-pr was being run and a file was being deposited into /tools/gnats/db-test-it/gnats-queue.</li>
95
96   <li>We saw that /tools/gnats/4.0/SunOS/libexec/gnats/queue-pr would be run by cron (or by hand) and it would process the file deposited in the queue</li>
97
98   <li>After that we don't know where the information for this went. We were using Test/1 in the subject line which should update http://gnats-irva-3.broadcom.com/cgi-bin/gnatsweb.pl?debug=&amp;database=IT-Test&amp;cmd=edit&amp;cmd=edit&amp;pr=1
99 but it isn't.</li>
100 </ul>
101
102 <p>I attempted to debug this further and I made a change /tools/gnats/4.0/bin/stripmimed and now:</p>
103
104 <div class="code"><pre>
105 gnats-irva-3:/tools/gnats/4.0/bin/stripmimed
106 /tools/gnats/4.0/bin/stripmimed: line 44: use: command not found
107 /tools/gnats/4.0/bin/stripmimed: line 48: use: command not found
108 /tools/gnats/4.0/bin/stripmimed: line 49: use: command not found
109 /tools/gnats/4.0/bin/stripmimed: line 50: use: command not found
110 /tools/gnats/4.0/bin/stripmimed: line 51: use: command not found
111 /tools/gnats/4.0/bin/stripmimed: line 52: use: command not found
112 /tools/gnats/4.0/bin/stripmimed: line 54: undef: command not found
113 /tools/gnats/4.0/bin/stripmimed: line 56: my: command not found
114 /tools/gnats/4.0/bin/stripmimed: line 57: my: command not found
115 /tools/gnats/4.0/bin/stripmimed: line 58: my: command not found
116 /tools/gnats/4.0/bin/stripmimed: line 60: open: command not found
117 /tools/gnats/4.0/bin/stripmimed: line 61: or: command not found
118 /tools/gnats/4.0/bin/stripmimed: line 63: sub: command not found
119 /tools/gnats/4.0/bin/stripmimed: line 64: my: command not found
120 /tools/gnats/4.0/bin/stripmimed: line 66: print: command not found
121 /tools/gnats/4.0/bin/stripmimed: line 67: syntax error near unexpected token `}'
122 /tools/gnats/4.0/bin/stripmimed: line 67: `} # Log'
123 </pre></div>
124
125 <p>So how did we fix the shebang problem before? Also, why is queue-pr not properly updating the pr? (My suspicion is that the file attachment on this PR is messing up queue-pr - nope, that doesn't seem to be it...</p>
126                            </div>
127                         </div>
128                         <p class="entry-footer">
129                            <span class="post-footers">Posted by  on December  8, 2005  6:35 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000493.html">Permalink</a>
130                         </p>
131                      </div>
132
133                      
134
135                      
136                   </div>
137                </div>
138             </div>
139          </div>
140       </div>
141    </div>
142 </body>
143 </html>