Initial add of defaria.com
[clearscm.git] / defaria.com / blogs / Status / archives / week_2005_01_30.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 30, 2005 - February  5, 2005 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_2005_01_23.html" title="January 23, 2005 - January 29, 2005" />
16    <link rel="next" href="http://defaria.com/blogs/Status/archives/week_2005_02_06.html" title="February  6, 2005 - February 12, 2005" />
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_2005_01_23.html">&laquo; January 23, 2005 - January 29, 2005</a> |
36                         <a href="http://defaria.com/blogs/Status/">Main</a>
37                         | <a href="http://defaria.com/blogs/Status/archives/week_2005_02_06.html">February  6, 2005 - February 12, 2005 &raquo;</a>
38                      </p>
39                      
40                      
41                      
42
43                      <h2 class="date-header">February  3, 2005</h2>
44                      <a id="a000291"></a>
45                      <div class="entry" id="entry-291">
46                         <h3 class="entry-header">Finishing build note</h3>
47                         <div class="entry-content">
48                            <div class="entry-body">
49                               <ul>
50   <li>Finished build note for 012405</li>
51  
52   <li>Experimented more with VCG</li>
53 </ul>
54                               
55                               <p class="entry-footer">
56                                  <span class="post-footers">Posted by  at  4:44 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000291.html">Permalink</a>
57                                  
58                                  
59                               </p>
60                            </div>
61                         </div>
62                      </div>
63                      
64                      
65
66                      <h2 class="date-header">February  2, 2005</h2>
67                      <a id="a000294"></a>
68                      <div class="entry" id="entry-294">
69                         <h3 class="entry-header">cvs_report updates/common build</h3>
70                         <div class="entry-content">
71                            <div class="entry-body">
72                               <ul>
73   <li>Changed cvs_report.pl to better handle branches</li>
74
75   <li>Build common for 012405</li>
76 </ul>
77                               
78                               <h3>cvs_report.pl changes</h3>
79
80 <p>The changes to cvs_report.pl involved changing ProcessECRs to look for the start and stop revision numbers in the log. The CVS log has entries like the following:</p>
81
82 <div class="code"><pre>
83 $ cvs log Makefile | grep ^revision
84 revision 1.9
85 revision 1.8
86 revision 1.7
87 revision 1.6
88 revision 1.5
89 revision 1.4
90 revision 1.3
91 revision 1.2
92 revision 1.1
93 revision 1.1.2.4
94 revision 1.1.2.3
95 revision 1.1.2.2
96 revision 1.1.2.1
97 revision 1.3.4.1
98 revision 1.3.2.2
99 revision 1.3.2.1
100 </pre></div>
101
102 <p>Thus if the from tag is pointing to revision 1.1.2.1 and the to_tag is pointing to revision 1.1.2.4 cvs_report.pl now skips all versions until 1.1.2.4 then picks up ECR numbers from there.</p>
103
104 <h3>Building common</h3>
105
106 <p>First check out the top of trunk of ats:</p>
107
108 <ol>
109   <li><tt>cd &lt;<i>build_area</i>&gt;/LYNXOS_500/work_area/tst</tt></li>
110   <li><tt>export CVSROOT=:pserver:int@t3.lynx.com:/cvs/tst-cvs</tt></li>
111   <li><tt>cvs login</tt> (Enter the password)</li>
112   <li>Check out the top of trunk of ats (<tt>cvs checkout ats</tt>)</li>
113   <li>Set a tag for ats (e.g. Lion_common_&lt;<i>mmddyy</i>&gt;).     sually we will tag the ATS as the same date as LynxOS build.</li>
114   <li>Change directory to your build tree - int_tools area and modify the <tt>__profile.exp</tt> to set the correcty ATS tag that just tagged if it is not the same as lynxos build as defined.</li>
115   <li>Modify the START for ATS process.
116 <div class="code"><pre>
117 steps_com=" 1 2    3";
118 echo "=== Starting common ==="
119 startit.exp common dummy     $steps_com  >> LOGS/common.log 2>&1 &
120 </pre></div></li>
121   <li>Run the ./START</li>
122 </ol>
123                               
124                               <p class="entry-footer">
125                                  <span class="post-footers">Posted by  at  4:49 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000294.html">Permalink</a>
126                                  
127                                  
128                               </p>
129                            </div>
130                         </div>
131                      </div>
132                      
133                      
134
135                      <h2 class="date-header">February  1, 2005</h2>
136                      <a id="a000293"></a>
137                      <div class="entry" id="entry-293">
138                         <h3 class="entry-header">CVSR/Toolchain</h3>
139                         <div class="entry-content">
140                            <div class="entry-body">
141                               <ul>
142   <li>Worked on CVS Report section of web site</li>
143
144   <li>Attempting to determine what ECRs were picked up for the toolchain. Found what I think might be a CVS tagging issue</li>
145 </ul>
146                               
147                               <p>Either I really just don't understand CVS branching or perhaps we have an error in tagging. I have written a Perl script that will report the ECRs involved between two different CVS tags. When I run this script on the toolchain, comparing tags Lion_com3_2_2_120204 -> Lion_com3_2_2_121604 I see odd results. I believe that the only real ECR involved here is ECR #23084. The following appears in Quintus for that ECR:</p>
148
149 <blockquote><pre>
150 /cvs/gcc-cvs/toolchain/src/ChangeLog.lynx,v  <--  ChangeLog.lynx
151 new revision: 1.25.2.31; previous revision: 1.25.2.30
152
153 /cvs/gcc-cvs/toolchain/src/gcc/config/lynx.c,v  <--  lynx.c
154 new revision: 1.2.2.1; previous revision: 1.2
155
156 [Check-ins] on trunk
157
158 /cvs/gcc-cvs/toolchain/src/gcc/ChangeLog.lynx,v  <--  ChangeLog.lynx
159 new revision: 1.7; previous revision: 1.6
160
161 /cvs/gcc-cvs/toolchain/src/gcc/config/lynx.c,v  <--  lynx.c
162 new revision: 1.3; previous revision: 1.2
163 </blockquote>
164
165 <p>However I also notice the following WRT the file src/ChangeLog.lynx:</p>
166
167 <div class="code"><pre>
168 $ cvs log toolchain/src/ChangeLog.lynx
169 ...
170     Lion_com3_2_2_121604: 1.25.2.31
171 ...
172     Lion_com3_2_2_120604: 1.25.3.28
173 ...
174 revision 1.25.2.31
175 date: 2004/12/15 23:48:49;  author: anemet;  state: Exp;  lines: +6 -0
176         ECR 23084
177 ...
178 revision 1.25.2.30
179 date: 2004/12/14 15:28:22;  author: orepin;  state: Exp;  lines: +17 -0
180         ECR 22875
181 ...
182 revision 1.25.2.29
183 date: 2004/12/14 09:26:25;  author: orepin;  state: Exp;  lines: +8 -0
184         ECR 22805
185 ...
186 revision 1.25.2.28
187 date: 2004/11/23 15:35:16;  author: aneyman;  state: Exp;  lines: +8 -0
188         ECR 22989
189 ...
190 $
191 </pre></div>
192
193 <p>So, to me, the ECRs that changed between the CVS tags of Lion_com3_2_2_120204 and Lion_com3_2_2_121604 WRT src/ChangeLog.lynx would be</p>
194
195 <ol>
196   <li>23084</li>
197   <li>22875</li>
198   <li>22805</li>
199 </ol>
200
201 <p>(I assume that ECR #22989 was included with the previous toolchain).</p>
202
203 <p>Or am I just looking at this the wrong way?</p>
204
205 <p>Futhermore, the other files associated with, for example, ECR #22875, are:</p>
206
207 <ul>
208   <li>toolchain.cvsr/src/gdb/gdbtypes.h: 1.2.4.1</li>
209
210   <li>toolchain.cvsr/src/ChangeLog.lynx: 1.25.2.30</li>
211   <li>toolchain.cvsr/src/gdb/gdbtypes.c: 1.2.4.1</li>
212   <li>toolchain.cvsr/src/gdb/config/i386/tm-i386lynx.h: 1.2.4.3</li>
213 </ul>
214
215 <p>Yet, other than ChangeLog.lynx, all other files have tags that suggest that nothing else changed! For example, gdbtypes.h has Lion_com3_2_2_120204 pointing to revision 1.2 and Lion_com3_2_2_121604 also pointing to 1.2! Likewise for gdbtypes.c and config/i386/tm-i386lynx.h. Is this a tagging error?</p>
216                               
217                               <p class="entry-footer">
218                                  <span class="post-footers">Posted by  at  4:48 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000293.html">Permalink</a>
219                                  
220                                  
221                               </p>
222                            </div>
223                         </div>
224                      </div>
225                      
226                      
227
228                      <h2 class="date-header">January 31, 2005</h2>
229                      <a id="a000292"></a>
230                      <div class="entry" id="entry-292">
231                         <h3 class="entry-header">1/31</h3>
232                         <div class="entry-content">
233                            <div class="entry-body">
234                               <ul>
235   <li>Added html capability to cvs_report.pl</li>
236 </ul>
237                               
238                               <p class="entry-footer">
239                                  <span class="post-footers">Posted by  at  4:48 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000292.html">Permalink</a>
240                                  
241                                  
242                               </p>
243                            </div>
244                         </div>
245                      </div>
246                      
247                   </div>
248                </div>
249             </div>
250          </div>
251       </div>
252    </div>
253 </body>
254 </html>