cvsuser 02/01/25 12:42:40
Modified: P5EEx/Blue/sbin cvshistory
Log:
added documenting comments on it use
Revision Changes Path
1.2 +19 -1 p5ee/P5EEx/Blue/sbin/cvshistory
Index: cvshistory
===================================================================
RCS file: /cvs/public/p5ee/P5EEx/Blue/sbin/cvshistory,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -w -r1.1 -r1.2
--- cvshistory 25 Jan 2002 20:35:05 -0000 1.1
+++ cvshistory 25 Jan 2002 20:42:40 -0000 1.2
@@ -1,7 +1,25 @@
#!/usr/local/bin/perl
#############################################################################
-## $Id: cvshistory,v 1.1 2002/01/25 20:35:05 spadkins Exp $
+## $Id: cvshistory,v 1.2 2002/01/25 20:42:40 spadkins Exp $
+#############################################################################
+## (c) 2002 Stephen Adkins <[EMAIL PROTECTED]>
+## This is free software, available under the same terms as Perl itself.
+#############################################################################
+## Notes:
+## This command has lots of hard-coded stuff to analyze the P5EE CVS
+## repository, with its unique directory structure.
+## I'm sure it would not be hard to make it more general (which I am
+## sure I will do the moment I need to analyze history for another CVS
+## repository).
+## It starts out by doing a "cvs update" to make the current directory
+## up to date with respect to the repository.
+## Then it does a "cvs log" to examine the history of changes.
+## It spits HTML to STDOUT.
+## I run it out of my "crontab" as follows.
+##
+## 15 3 * * * ksh -c "PATH=$PATH:/usr/local/bin; cd /usr/ov/acoc/dev/src/p5ee;
P5EEx/Blue/sbin/cvshistory > /www/www00001/htdocs/pub/p5ee/activity.html"
+##
#############################################################################
#print "Updating the CVS repository...\n";