old-www/HOWTO/Secure-CVS-Pserver/pserveralternatives.html

252 lines
4.4 KiB
HTML

<HTML
><HEAD
><TITLE
>Alternatives to the Pserver</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="Secure CVS Pserver Mini-HOWTO"
HREF="index.html"><LINK
REL="PREVIOUS"
TITLE="Setting up the tools"
HREF="setuptools.html"><LINK
REL="NEXT"
TITLE="Acknowledgements"
HREF="acknowledgements.html"></HEAD
><BODY
CLASS="sect1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Secure CVS Pserver Mini-HOWTO</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="setuptools.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="acknowledgements.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="sect1"
><H1
CLASS="sect1"
><A
NAME="pserveralternatives"
></A
>4. Alternatives to the Pserver</H1
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="developeraccess"
></A
>4.1. Access for developers</H2
><P
>&#13; Pserver is not a very good method to implement for your fellow developers
to access the repository. You can use CVS's SSH and ext method.
Simply add the user to the server's list of users, add the user
to the file WRITERS, and then they can do the following:
</P
><DIV
CLASS="informalexample"
><A
NAME="AEN209"
></A
><P
></P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="programlisting"
>&#13;<TT
CLASS="prompt"
>$</TT
> export CVS_RSH='/usr/bin/ssh'
<TT
CLASS="prompt"
>$</TT
> cvs -d :ext:username@server.hostname:/cvs/root login
</PRE
></FONT
></TD
></TR
></TABLE
><P
></P
></DIV
><P
>&#13; This is a much more secure way for developers to access the
repository.
</P
></DIV
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="anonhttpaccess"
></A
>4.2. Anonymous CVS access by http</H2
><P
>&#13; There is another way to allow anonymous access to CVS. If there
is an http server and Python installed on the server, you can use
a set of Python CGI scripts called <A
HREF="http://viewcvs.sourceforge.net"
TARGET="_top"
>&#13; viewcvs</A
>, which allow people to view the CVS repository over
the web, and can generate tarballs for users to download.
</P
><P
>&#13; There is also a set of Perl CGI scripts that do the same thing
called <A
HREF="http://stud.fh-heilbronn.de/~zeller/cgi/cvsweb.cgi/"
TARGET="_top"
>&#13; cvsweb</A
>, but Viewcvs is more mature and is preferred (at
least by me).
</P
></DIV
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="cvsgrab"
></A
>4.3. CVSGrab</H2
><P
>&#13; <A
HREF="http://cvsgrab.sourceforge.net"
TARGET="_top"
>CVSGrab</A
> is an
end-user tool for downloading the CVS repository by a ViewCVS
interface. It is very useful when you are behind a corporate
firewall that blocks the Pserver, as you can just grab the repository
over standard HTTP. The only problem is if it doesn't have a
ViewCVS interface, but most free software
repositories are now on the web, and the few that still use
cvsweb seem to be switching over to ViewCVS.
</P
><P
>&#13; CVSGrab is written in Java, which may at first be a turn-off to
some people (it is to me), but it seems completely compilable
using <SPAN
CLASS="application"
>GCJ</SPAN
>, the Java front-end to GCC.
</P
><P
>&#13; CVSGrab is a tool that goes hand-in-hand with
ViewCVS. It is an end-user tool, not one that you as a system
administrator or repository administrator would set up and configure.
</P
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="setuptools.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="acknowledgements.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Setting up the tools</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Acknowledgements</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>