Initial add of defaria.com
[clearscm.git] / defaria.com / blogs / Status / archives / week_2006_01_22.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: January 22, 2006 - January 28, 2006 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/week_2006_01_15.html" title="January 15, 2006 - January 21, 2006" />
16    <link rel="next" href="http://defaria.com/blogs/Status/archives/week_2006_01_29.html" title="January 29, 2006 - February  4, 2006" />
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/week_2006_01_15.html">&laquo; January 15, 2006 - January 21, 2006</a> |
36                         <a href="http://defaria.com/blogs/Status/">Main</a>
37                         | <a href="http://defaria.com/blogs/Status/archives/week_2006_01_29.html">January 29, 2006 - February  4, 2006 &raquo;</a>
38                      </p>
39                      
40                      
41                      
42
43                      <h2 class="date-header">January 27, 2006</h2>
44                      <a id="a000525"></a>
45                      <div class="entry" id="entry-525">
46                         <h3 class="entry-header">MobMM email</h3>
47                         <div class="entry-content">
48                            <div class="entry-body">
49                               <ul>
50   <li>Implemented Email notifications in MobMM</li>
51 </ul>
52                               
53                               <p class="entry-footer">
54                                  <span class="post-footers">Posted by  at  5:01 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000525.html">Permalink</a>
55                                  
56                                  
57                               </p>
58                            </div>
59                         </div>
60                      </div>
61                      
62                      
63
64                      <h2 class="date-header">January 26, 2006</h2>
65                      <a id="a000524"></a>
66                      <div class="entry" id="entry-524">
67                         <h3 class="entry-header">More MobMM Progress</h3>
68                         <div class="entry-content">
69                            <div class="entry-body">
70                               <ul>
71   <li>Separated MobMM to its own Schema Repository</li>
72
73   <li>Renamed MobileCom -&gt; MobMM</li>
74
75   <li>Removed Visibility from submission form</li>
76
77   <li>I've created all Modules and all Submodules but linked only some of them. A lot are owned by Vinod. Try entering a defect with a module of Display Manager and you should see Owner set to "node". Change that to OLG and it should switch to cswilson.</li>
78
79   <li>Created users as defined above. Gave admin privileges to my userid</li>
80
81   <li>Created Administrators, Managers and Users groups. My userid and admin are in all three groups. Jean, your user is in the Manager and Users group. Other users are just in the Users group.</li>
82
83   <li>Gave Dynamic List Admin privileges to Jean and Vinod. This means that you can add/change/delete entries in dynamic lists (Select <b>Edit: Named Lists</b> to manage dynamic lists such as <i>Software_Version</i>)</li>
84
85   <li>Populated Dynamic lists</li>
86
87   <li>Created Public Queries for Defects, Modules, Submodules and Module-Submodule Cross Reference.</li>
88
89   <li>Changes some drop downs to be bigger.</li>
90 </ul>
91
92                               
93                               <h2>More MobMM Progress</h2>
94
95 <p>I have separated the MobMM design from the old PQA Schema Repository.
96 By being in it's own schema repository MobMM now has a separate, distinct set of user accounts. You really don't want PQA users being able to log into your database. This separation required essentially replicating all of my work over into this new schema repository.</p>
97
98 <p>The Schema Repository is called MobMM_Schema. The administrative user
99 for the database is MobMM_Admin with a password of ru4real. Normally nobody sees this username except people who are using MS/SQL Enterprise Manager to create databases or using the CQDesigner to create schemas, user databases, etc. IOW Jean, you wouldn't be using this user account but Ray and others will need that info.</p>
100
101 <p>There is, by default, and "admin" user that you can use to log into CQDesigner or Clearquest Client. Its password is also ru4real. Again, Jean, I don't think that you would be using this user account either, rather a CQDesigner would use it.</p>
102
103 <p>As we have a new user account database I had to create some users. There's admin and I made myself a user (adefaria). I also made user accounts for you Jean (jfan - password jfan - you can log in and change that - I would suggest your Windows domain password but that's just me) as well as the Module owners of Vinod Prasad (username: node; password: node), Rick Howarth (rhowarth:rhowarth), Chris Wilson (cswilson:cswilson) and Bhupesh Khawa (bhupesh:bhupesh).</p>
104
105 <h3>Work Performed</h3>
106
107 <ul>
108   <li>Separated MobMM to its own Schema Repository</li>
109
110   <li>Renamed MobileCom -&gt; MobMM</li>
111
112   <li>Removed Visibility from submission form</li>
113
114   <li>I've created all Modules and all Submodules but linked only some of them. A lot are owned by Vinod. Try entering a defect with a module of Display Manager and you should see Owner set to "node". Change that to OLG and it should switch to cswilson.</li>
115
116   <li>Created users as defined above. Gave admin privileges to my userid</li>
117
118   <li>Created Administrators, Managers and Users groups. My userid and admin are in all three groups. Jean, your user is in the Manager and Users group. Other users are just in the Users group.</li>
119
120   <li>Gave Dynamic List Admin privileges to Jean and Vinod. This means that you can add/change/delete entries in dynamic lists (Select <b>Edit: Named Lists</b> to manage dynamic lists such as <i>Software_Version</i>)</li>
121
122   <li>Populated Dynamic lists</li>
123
124   <li>Created Public Queries for Defects, Modules, Submodules and Module-Submodule Cross Reference.</li>
125
126   <li>Changes some drop downs to be bigger.</li>
127 </ul>
128
129 <p>Jean, to access this new schema repository from the CQ Web login as usual but make sure to select the Schema Repository of MobMM.</p>
130
131 <h3>Issues</h3>
132
133 <ul>
134   <li>Still don't know what to do with CC. I remember that this is for an arbitrary list of email addresses however when and how are they used? IOW when is email sent? When a defect changes state? Which states? IOW if a defect is entered it's in an Assigned state. If it gets resolved then I suspect that's when email is sent. Similarly when verified. What about when deferred? etc. Is the real purpose of CC to allow for separate distinct lists of people to alert via email? I need to read up more on the Email package that Clearquest offers and see if it can do all of this for us in a more standard and already debugger manner.</li>
135
136   <li>Changeset: This should be made a larger field, perhaps on the Management tab because I would think that it will contain file/revision information in a multiline tabular format. I suspect that the editing of this field will be only done from the yet to be written Perforce -&gt; Clearquest connector... IOW will Clearquest users be able to modify that field through Clearquest Client or Clearquest Web?</li>
137
138   <li>Testcase ID &amp; Testplan Version: Any info on what these are or should be? Just text strings? When are they entered in the transition of states...</li>
139 </ul>
140                               
141                               <p class="entry-footer">
142                                  <span class="post-footers">Posted by  at  7:24 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000524.html">Permalink</a>
143                                  
144                                  
145                               </p>
146                            </div>
147                         </div>
148                      </div>
149                      
150                      
151
152                      <h2 class="date-header">January 25, 2006</h2>
153                      <a id="a000523"></a>
154                      <div class="entry" id="entry-523">
155                         <h3 class="entry-header">MobileMultimedia Release</h3>
156                         <div class="entry-content">
157                            <div class="entry-body">
158                               <ul>
159   <li>Completed a pass of MoblleMultimedia and handed off to Jean for a quick review and input to the next release in the design cycle</li>
160 </ul>
161                               
162                               <h2>Trail version of MobMM</h2>
163
164 <p>I've been working feverishly on your Clearquest database and have made some good progress. Following the Open Source motto of <i>Release Early, Release Often</i> I would like to have you take a look at what I have so far. Many things work. Some things have yet to be implemented. Play with it. Pay particular attention to stepping through the states and which fields are available for editing on the various tabs at various stages through the state transition matrix.</p>
165
166 <p>For now you can access this through http://p4test/cqweb/login then login as guest:guest and set the DB to MM. This is a test/play database so feel free to add, change or delete defects and other records.</p> 
167
168 <h3>Things that work</h3>
169
170 <p>The following things I have working:</p>
171
172 <ol>
173   <li><b>Module/Submodule:</b> In order to implement this I needed 3 stateless records. One is the Module record which contains the module name, owner and a description field (use description for anything you'd like). Another stateless record is the Submodule record. Here we have only Submodule name and description. To tie these two things together I have a ModSub_XRef stateless record. It has a drop down for Modules (referencing the Module stateless record - IOW if you don't see a module name in the drop down then that's because you haven't added a record for it in the Module stateless record). Similarly there's a Submodule drop down (referencing the Submodule stateless record). The purpose of this ModSub_XRef stateless record is to tie together a module with a set of submodule(s). These two fields are concatenated together separated with a ":" to form the ModSub field which is set as the unique key for the record (Currently this ModSub field is shown when creating a ModSub_XRef record but eventually it will be hidden). Setting up modules and submodules then tying them together will be a setup kind of a thing. You may need to occasionally set up a new submodule or  module and make the ModSub_XRef record to tie things together.</p>
174
175 <p>The result is when you enter a defect you toggle the Module drop down and the Submodule gets populated correctly. Additionally you'll see that the Owner field gets set to Module.Owner automatically.</p></li>
176
177   <li><b>Assigned Date:</b> Gets automatically set to the current date</li>
178
179   <li><b>Visibility:</b> Gets set to "Broadcom Only" - no other values are available yet and this field is essentially read only at this time.</li>
180
181   <li><b>Notes:</b> If you change the state of an Assigned defect to Resolved you'll need to fill out the Resolved tab. When the Resolved Note gets changed it is populated into the Notes field in the Notes tab. Similarly if you go to Verified, the Verified Notes field also populates the Notes field. If either Resolved Notes or Verified Notes are not yet specified then Note will say so.</li>
182
183   <li><b>Audit Log:</b> Has been taken from PQA and implemented. As fields are changed the Audit Log is updated.</li>
184
185   <li><b>Time From &lt;state&gt; to &lt;state&gt;</b>: On the Management tab there are the Time From... Assigned -&gt; Resolve and Assigned -&gt; Verified. When a defect goes to Resolved then the former is set. When a defect goes to Verified then the later is set. Time is in days. (Please note that it is possible to later modify the defect and change the Resolved Date. In such cases these Time From fields are <b>not</b> recalculated. Additionally there are currently no checks to insure that Verified_Date &gt; Resolved_Date, for example).</li>
186 </ol>
187
188 <h3>Things not yet working</h3>
189
190 <p>There are several things I have not yet implemented in this design. These are:</p>
191
192 <ol>
193   <li><b>CC:</b> Although present in the Submission tab the CC list currently does nothing</li>
194
195   <li><b>Changeset:</b> Listed on the Resolution tab Changeset is just a short string right now. I believe we need a multiline string down the road. This field is supposed to be filled in by a hook from CVS (IIRC) that will record the files and revisions. Ray you might want to look at what I did in SCM/cvsbin/cvsism and adapt it to Jean's Clearquest database. You can look at SCM/cq/pqamerge for examples of how to update Clearquest databases through Perl.</li>
196
197   <li><b>Other  Notes:</b> Entering data here does not update the Notes field above it (yet).</li> 
198
199   <li><b>Testcase ID &amp; Testplan Version:</b> Currently do nothing.</li>
200
201   <li><b>Duplicate IDs, Related IDs and Notes: </b>On the Broadcom Notes tab also do nothing yet. The whole issue of how to hand Duplicate and Related IDs has not been designed. I think we should look into how IBM/Rational handles duplicates in it's default package and use that as well as change it to handle related ids too.</li>
202 </ol>
203
204 <p>Again, look for whatever you see as wrong: Process flow, spelling errors, alignment, move a field to a different form, add a field, whatever and let me know. You're input will be used for the next rendition of this.</p>
205
206 <p>You may want to eventually install Clearquest Client on your machine. You can follow the instructions at <a  href="http://intranet.broadcom.com/%7Eadefaria/Clearquest/CQ2003.06.14.php">
207 Installing 2003.06.15</a>. Those instructions were for PQA but installing Clearquest is the same for everybody. Do not continue on to the instructions for setting up your profile - the profile is specific to the different projects. I'll have to get a profile file set up for you later.</p>
208                               
209                               <p class="entry-footer">
210                                  <span class="post-footers">Posted by  at  7:09 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000523.html">Permalink</a>
211                                  
212                                  
213                               </p>
214                            </div>
215                         </div>
216                      </div>
217                      
218                      
219
220                      <h2 class="date-header">January 24, 2006</h2>
221                      <a id="a000522"></a>
222                      <div class="entry" id="entry-522">
223                         <h3 class="entry-header">PQA Email issue/Mobile Multimedia</h3>
224                         <div class="entry-content">
225                            <div class="entry-body">
226                               <ul>
227   <li>Contacted Rational regarding PQA email problem</li>
228
229   <li>Changed Mobile Multimedia to set default owner, assigned date</li>
230
231   <li>Fixed MM to handle Module/Submodule relationships</li>
232 </ul>
233                               
234                               <h2>PQA Email Problem</h2>
235
236 <p>Turns out there is a known problem with email sent date that is patched in 2003.06.15. Problem is that the server is 2002.05.20! Waiting for the patch so we can patch p4test and 2003.06.15 clients. Luckily the new server is in so we should set that up with the patched 2003.06.15. John Luu will do that.</p>
237
238 <h2>Mobile Multimedia</h2>
239
240 <p>Got most of the submission form working. Managed to get the Module/Submodule and ModSub_Xref working. Still some more to do...</p>
241                               
242                               <p class="entry-footer">
243                                  <span class="post-footers">Posted by  at  5:37 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000522.html">Permalink</a>
244                                  
245                                  
246                               </p>
247                            </div>
248                         </div>
249                      </div>
250                      
251                      
252
253                      <h2 class="date-header">January 23, 2006</h2>
254                      <a id="a000521"></a>
255                      <div class="entry" id="entry-521">
256                         <h3 class="entry-header">More CQ Web Email Problems (GetSMTPHost)</h3>
257                         <div class="entry-content">
258                            <div class="entry-body">
259                               <ul>
260   <li>Implemented and tested GetSMTPHost</li>
261 </ul>
262                               
263                               <p>Actually I was on vacation but still trying to work on the problem. Sorry but the ski cabin in Vermont didn't have Internet access...</p>
264
265 <p>We are very sensitive to the critical nature of this bug. <a href="/blogs/Status/archives/000520.html#more">Here's what I found out on Friday</a>.</p>
266
267 <p>I've implemented a solution to option #2 and have tested it. However, the way it works is to use ipconfig to get the IP address of the current machine then nslookup to change that to a hostname. After that I've found that nbu-cqweb is actually known as nt-irva-1521.broadcom.com. So I have it hard coded to return an SMTP host of mms.broadcom.com if it's running on nt-irva-1521.broadcom.com otherwise return smtphost.broadcom.com. There are a couple of things I don't like about this solution:</p>
268
269 <ol>
270   <li>Hard coding of machine names. Will nbu-cqweb always be known as nt-irva-1521.broadcom.com? Also, such a fix will break if we implement a new web server for you which will presumably have a different machine name...</li>
271
272   <li>I'm not sure how this works in the context of CQ Web as opposed to CQ Client. It seems to work on p4test's Web Server.</li>
273
274   <li>I've only addressed the Submit notify action. Turns out there are other notify actions (e.g. Assign, Resolve, Verify) which are still using the older PAINET object. I would have thought that all of the email sending would be done through one routine but it turns out the code was essentially duplicated in many places. (Note PAINET is an object that IBM/Rational cooked up for CQ only). I have not changed these and I would assume that they are as likely as Submit to send email with a send date of 2001. Again, we've never determined why the old code stopped working correctly.</li>
275 </ol>
276
277 <p>I have this fix ready to go but I'll wait for your OK before applying it to production.</p>
278                               
279                               <p class="entry-footer">
280                                  <span class="post-footers">Posted by  at 11:00 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000521.html">Permalink</a>
281                                  
282                                  
283                               </p>
284                            </div>
285                         </div>
286                      </div>
287                      
288                   </div>
289                </div>
290             </div>
291          </div>
292       </div>
293    </div>
294 </body>
295 </html>