Hi everyone,

I am trying to run the apache  scripts available at: 
http://cvs.apache.org/viewcvs.cgi/CVSROOT/

as you may guess/know, these scripts are linked with commitinfo,
loginfo, etc.

--

I tried to run this these on our system. The server is a Sun Solaris
running cvs 1.11.1p1. The server runs perl, version 5.005_03 built for
sun4-solaris. 

The client is a Linux Redhat 7.2 running  cvs 1.11.1p1. 

Unfortunately scripts don't work properly.

The scripts are running fine, but i believe one of the function does not
do what it is intended to do. Here is a snippet from that function 

sub change_summary {
    local($out, @filenames) = @_;
    local(@revline);
    local($file, $rev, $rcsfile, $line);

    while (@filenames) {
[...]
>>
        open(RCS, "-|") || exec 'cvs', '-Qn', 'status', $file;
<<

        while (<RCS>) {

            if (/^[ \t]*Repository revision/) {
                chomp;
                @revline = split(' ', $_);
                $rev = $revline[2];
                $rcsfile = $revline[3];
                $rcsfile =~ s,^$CVSROOT/,,;
                $rcsfile =~ s/,v$//;
            }
        }
        close(RCS);

[...]
}

The line marked (open(RCS, ......)) executes cvs -Qn status $file on the
server. But CVS does not return any information when you try to execute
this because it complains that it doesn't know about any CVS/Entries
file. Because cvs status works only on a checked out copy. Since there
is no such thing on the server, how can we expect this to work??

I believe there are some other problem associated with this scripts. It
sends 2 files as an email. One has just the time/dat info, the other has
a listing of the changed/renamed/added etc file with no summary info (no
summary info because CVS status call does not work)


--

What I have written above is my understanding of what is going on. If
you have worked with these apache scripts, can you help me to make them
work ?

Any help is greatly appreciated.

-arcin


_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to