home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.software-eng
- Path: sparky!uunet!enterpoop.mit.edu!spool.mu.edu!mixcom.com!amby
- From: amby <amby@mixcom.mixcom.com>
- Subject: Re: C Code Layout
- Organization: Milwaukee Internet Xchange BBS, Milwaukee, WI U.S.A.
- Distribution: usa
- Date: Sun, 13 Dec 1992 15:18:01 GMT
- Message-ID: <1992Dec13.151801.6059@mixcom.com>
- References: <2933199653.8.wk01673@worldlink.com>
- Sender: ttvvtt@mixcom.com (Donald Amby)
- Lines: 51
-
- In <2933199653.8.wk01673@worldlink.com> "Lih Yen Hsieh" <wk01673@worldlink.com> writes:
-
- >Tom Johnson <tomj@monster.apd.saic.com> writes:
- >>mueller@b30news.b30.ingr.com ( Phil Mueller ) writes:
- >>> Author Date Description
- >>> ----- ---- -----------
-
- I prefer to have version control tools generate this. Then it should
- be consistent with what I get from querying the version control
- system (we use CVS, which is on top of RCS).
-
- >Inclusion of historical information about the module certainly helps track
- >the evolution of the piece of code of interest. Points of relevance:
-
- Only, when the username being used by developers is unique for each
- user. While we use a version control system, seme developers have
- a history of making changes via "shared" usernames. I never do that,
- but not everyone takes my advice.
-
- >Practically, if you are in a production environment, this is not only
- >a good thing to have, but also indispensible and should be enforced.
-
- By doing that, in conjunction with tools like CVS, RCS, or even SCCS
- it is a simple matter to document who is doing what on the sources.
- Also, I find it trivial to answer questions like:
-
- * What changes have I made since 1 Nov 1992?
-
- cvs history -c -D11/1/1992
-
- * What files have changed since last release (V1_0) on system xxx?
-
- cvs rdiff -s -rV1_0 xxx
-
- Of course, these examples are specific to using CVS, but you get
- the idea. I have scripts that do this type of querying, in order to
- write up my project status reports.
-
- >If you are familiar with Unix tools, such as sed, awk, and the like, you
- >can craft non-trivial tools together with revision control and the make
- >program to somewhat mechanize this 'chore'.
-
- Or you can just buy a system, and let the vendor deal with it.
- Or you can use tools that lay on top of SCCS or RCS (which CVS does)
- to make it easy to manage whole directory trees as easily as one file.
-
- --
- Donald E. Amby
- don@amby.mixcom.com (for short mail) (414)797-6713 (voice)
- amby@eisner.decus.org (for lengthy mail) (414)797-6533 (FAX)
- Harnischfeger Engineers, Inc., P.O.Box 1512, Milwaukee, WI 53201-1512
-