There is an Rcs wrapper module in CPAN called Rcs which worked well for a group I was working with. Part of our task involved controlling certain rcs activities through a Web browser. There were at the time a couple of bugs and misfeatures that we worked around by subclassing Rcs and replacing or wrapping some of it's methods. I notice that the CPAN module has been upgraded since then, so some of those problems may have been addressed. One issue you'll need to be concerned with if you are coming in through the Web is user identity. When coming in though a Web server all rcs checkins will be recorded as being done by your web server user, not the user that is on the other end doing the real work. The same is true for any locks that are obtained and any access restrictions based on username. We overcame some of the problems -- engough that the system worked for us -- with some hacky slight of hand with user session information (our users had to authenticate in order to do rcs work) that the server collects. IIRC, it involved creating a special branch off of the initial 1.1 revision that was tagged with a specially formatted string that included the real users name. As I said, it was a hack.

There is another more complex Rcs interface in CPAN, VCS::Rcs. I have never used that one, but it might be worth a look, too.

--DrWhy

"If God had meant for us to think for ourselves he would have given us brains. Oh, wait..."


In reply to Re: Integrating RCS with Perl CGI by DrWhy
in thread Integrating RCS with Perl CGI by cpatrick

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.