Initial add of defaria.com
[clearscm.git] / defaria.com / blogs / Status / archives / 000268.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: files4ecr.pl/Building TOT as per instructions</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/000267.html" title="More documentation" />
16    <link rel="next" href="http://defaria.com/blogs/Status/archives/000269.html" title="TOT Build Failure" />
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/000267.html">&laquo; More documentation</a> |
42                         <a href="http://defaria.com/blogs/Status/">Main</a>
43                         | <a href="http://defaria.com/blogs/Status/archives/000269.html">TOT Build Failure &raquo;</a>
44                      </p>
45
46                      <a id="a000268"></a>
47                      <div class="entry" id="entry-268">
48                         <h3 class="entry-header">files4ecr.pl/Building TOT as per instructions</h3>
49                         <div class="entry-content">
50                            <div class="entry-body">
51                               <ul>
52
53 <li>Worked on getting files4ecr.pl to work</li>
54
55 <li>Attempted to rebuild TOT using the documentation created so far as a guide. Ran out of disk space! :-(</li>
56
57 <li>More documentation of build/test/release process</li>
58
59 </ul>
60                            </div>
61                            <div id="more" class="entry-more">
62                               <h3>files4ecr.pl</h3>
63
64 <p>The daily CVS Checkin Log works by creating a temporary CVS area based on a tag then doing a cvs update capturing what files have changed. Those files are examined and a report is produced by ECR number.</p>
65
66 <p>While this works fairly well and is relatively optimized (only working on the files that changed since the label) it may not be that accurate. It seems to assume that all files for an ECR are checked in together and on the same day. What if, for example, somebody checked in a file for an ECR days ago and it now checking in the rest of the work? The files reported for this ECR may  be incomplete.</p>
67
68 <p>Here's an example of where this happened. In today's CVS Checkin Log email the following files are listed as associated with ECR # 20591:<p>
69
70 <pre>
71 ECR Number:  20591
72         src/lib/libc/strto_int.c              10.2      zhuravle        2004/12/27 16:11:21
73         src/lib/libc/strto_real.c             10.2      zhuravle        2004/12/27 16:09:47
74         src/lib/libc/strto_real.h             10.2      zhuravle        2004/12/27 16:09:47
75         src/lib/libc/strtod.c                 10.4      zhuravle        2004/12/27 16:09:47
76         src/lib/libc/strtof.c                 10.2      zhuravle        2004/12/27 16:09:47
77         src/lib/libc/strtoimax.c              10.2      zhuravle        2004/12/27 16:11:58
78         src/lib/libc/strtol.c                 10.2      zhuravle        2004/12/27 16:11:58
79         src/lib/libc/strtold.c                10.2      zhuravle        2004/12/27 16:09:48
80         src/lib/libc/strtoll.c                10.3      zhuravle        2004/12/27 16:11:58
81         src/lib/libc/strtoul.c                10.2      zhuravle        2004/12/27 16:11:58
82         src/lib/libc/strtoull.c               10.3      zhuravle        2004/12/27 16:11:58
83         src/lib/libc/strtoumax.c              10.2      zhuravle        2004/12/27 16:11:58
84         usr/include/rcsid.h                   10.2      zhuravle        2004/12/27 15:57:50
85         usr/include/stdlib.h                  10.10     zhuravle        2004/12/27 16:07:26
86 </pre>
87
88 <p>Yet thoroughly scanning the CVS logs we find:</p>
89
90 <pre>
91 ECR Number: 20591 Nbr of files: 25
92
93 Nbr Path/File                           Version   Author    Date
94 --- ----------------------------------- ------- ----------- -------------------
95   1 strtoull.c                           10.3   zhuravle    2004/12/27 16:11:58
96   2 strtoull.c                           10.2   zhuravle    2004/10/22 12:04:48
97   3 Makefile                             10.18  zhuravle    2004/10/22 12:04:47
98   4 strto_int.c                          10.2   zhuravle    2004/12/27 16:11:21
99   5 strto_int.c                          10.1   zhuravle    2004/10/22 12:04:48
100   6 strtold.c                            10.2   zhuravle    2004/12/27 16:09:48
101   7 strtold.c                            10.1   zhuravle    2004/10/22 12:04:48
102   8 strtoll.c                            10.3   zhuravle    2004/12/27 16:11:58
103   9 strtoll.c                            10.2   zhuravle    2004/10/22 12:04:48
104  10 strtoul.c                            10.2   zhuravle    2004/12/27 16:11:58
105  11 strtoul.c                            10.1   zhuravle    2004/10/22 12:04:48
106  12 strtoimax.c                          10.2   zhuravle    2004/12/27 16:11:58
107  13 strtoimax.c                          10.1   zhuravle    2004/10/22 12:04:48
108  14 strtoumax.c                          10.2   zhuravle    2004/12/27 16:11:58
109  15 strtoumax.c                          10.1   zhuravle    2004/10/22 12:04:48
110  16 strto_real.c                         10.2   zhuravle    2004/12/27 16:09:47
111  17 strto_real.c                         10.1   zhuravle    2004/10/22 12:04:48
112  18 strto_real.h                         10.2   zhuravle    2004/12/27 16:09:47
113  19 strto_real.h                         10.1   zhuravle    2004/10/22 12:04:48
114  20 strtod.c                             10.4   zhuravle    2004/12/27 16:09:47
115  21 strtod.c                             10.3   zhuravle    2004/10/22 12:04:48
116  22 strtof.c                             10.2   zhuravle    2004/12/27 16:09:47
117  23 strtof.c                             10.1   zhuravle    2004/10/22 12:04:48
118  24 strtol.c                             10.2   zhuravle    2004/12/27 16:11:58
119  25 strtol.c                             10.1   zhuravle    2004/10/22 12:04:48
120
121 </pre>
122
123 <p>Now files4ecr.pl thoroughly checks all CVS logs (based on the paths it is givin that is) but this takes a <b>lot</b> of time.</p>
124
125 <p>Note that Makefile is listed by files4ecr.pl but not in the daily CVS Checking Log. That's because Makefile was checked in with that ECR number a while ago. The daily CVS Checkin Log does not reflect this historical fact.</p>
126
127 <p>Also note that ECR's unlike tags that can only exist on one revision, ECR numbers are just strings placed in the check in comment. Thus there is the possibility that they will exist on more than one revision (e.g. strtod.c versions 10.4 and 10.3). IOW checking in another version of a file and using the same ECR number will not remove the ECR number in the command of a previous version of the file!</p>
128                            </div>
129                         </div>
130                         <p class="entry-footer">
131                            <span class="post-footers">Posted by  on January  3, 2005 11:18 AM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/Status/archives/000268.html">Permalink</a>
132                         </p>
133                      </div>
134
135                      
136
137                      
138                   </div>
139                </div>
140             </div>
141          </div>
142       </div>
143    </div>
144 </body>
145 </html>