logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

App::KGB::Client::CVS - KGB interface to CVS

Constructor

new({initializers})
       Standard constructor. Accepts inline hash with initial field values.

Description

App::KGB::Client::CVS provides CVS-specific retrieval of commits and changes for App::KGB::Client.

Fields

       App:KGB::Client::CVS defines the following additional fields:

       cvs_root (mandatory)
           Physical path to the CVS root directory.

       author
           The user name of the commit author.

       directory
           Relative (to CVS root) path to the directory this change is in.

           As a convention, the first path member is taken as a module.

Methods

       describe_commit
           The  first  time  this method is called, it parses STDIN and determines commit contents, returning an
           instance of App::KGB::Commit class describing the commit.

           All subsequential invocations return undef.

perl v5.40.0                                       2024-09-20                         App::KGB::Client::CVS(3pm)

Name

       App::KGB::Client::CVS - KGB interface to CVS

Synopsis

           use App::KGB::Client::CVS;
           my $client = App::KGB::Client::CVS(
               # common App::KGB::Client parameters
               repo_id => 'my-repo',
               ...
               # CVS-specific
               cvs_root  => $ENV{CVSROOT},
               author    => $ENV{USER},
               directory => 'module/dir',
           );
           $client->run;

See Also