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: files4ecr.pl/Building TOT as per instructions</title>
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" />
22 <script type="text/javascript" src="http://defaria.com/blogs/Status/mt-site.js"></script>
24 <body class="layout-one-column" onload="individualArchivesOnLoad(commenter_name)">
26 <div id="container-inner" class="pkg">
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>
36 <div id="pagebody-inner" class="pkg">
38 <div id="alpha-inner" class="pkg">
40 <p class="content-nav">
41 <a href="http://defaria.com/blogs/Status/archives/000267.html">« 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 »</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">
53 <li>Worked on getting files4ecr.pl to work</li>
55 <li>Attempted to rebuild TOT using the documentation created so far as a guide. Ran out of disk space! :-(</li>
57 <li>More documentation of build/test/release process</li>
61 <div id="more" class="entry-more">
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>
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>
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>
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
88 <p>Yet thoroughly scanning the CVS logs we find:</p>
91 ECR Number: 20591 Nbr of files: 25
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
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>
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>
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>
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>