Philippe M. Chiasson wrote:
Just looking at todo/tools.txt and realized the problems with
cvs2cl aren't that. Just a few options are all it takes to get
something like this after running make changelog.

Not sure if it's that usefull, but anyhow, here it is. (hapenned to need
automatically generated ChangeLogs for work)

Thanks gozer. We can't use it for generating Changes, since we want to log only relevant to the end user changes in that file. However, it's nice to have this utis for developers use.


# $Id$
--- /dev/null   2002-08-31 07:31:37.000000000 +0800
+++ .usermap    2003-03-14 12:13:36.000000000 +0800
@@ -0,0 +1,4 @@
+stas: Stas Bekman <[EMAIL PROTECTED]>
+gozer: Philippe M. Chiasson <[EMAIL PROTECTED]>
+dougm: Douglas MacEachern <[EMAIL PROTECTED]>
+geoff: Geoff Young <[EMAIL PROTECTED]>

--- /dev/null   2002-08-31 07:31:37.000000000 +0800
+++ build/make_changelog.pl     2003-03-14 11:55:06.000000000 +0800
@@ -0,0 +1,7 @@
+open(CVSL, "cvs2cl -t --ignore Apache-Test --ignore docs -S -P --no-wrap --usermap 
.usermap --stdout |");
+open(CL, ">ChangeLog");
+while(<CVSL>) {
+    print CL $_ unless /^\s*(PR|Obtained from|Submitted by|Reviewed by):\s*$/;
+    }
+close(CVSL);
+close(CL);

So, let's add the script, but not change Makefile. We can always call it directly. Also do we absolutely need the .usermap file?


__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to