info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PATCH: Support :ssh: method in CVS/Repository - How common


From: Mark D. Baushke
Subject: Re: PATCH: Support :ssh: method in CVS/Repository - How common
Date: Sat, 01 Apr 2006 00:45:52 -0800

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The only tool that accepts :ssh:address@hidden:/path/name is CVSNT. CVSNT
is a fork of CVS and they have added (in my opinion) way too many method
names in aid of supporting CVS on windows and other platforms.

CVS has accepted :ext: with an environment variable of CVS_RSH=rsh or
CVS_RSH=ssh for a very long time as the 'correct' way to do this.

An old version of Eclipse needed :extssh:, so that was added. The
:extssh: is yet another name that CVSNT uses for using the ssh
transport.

If you can't get the Java editor IDEA folks to fix their bug, then I
suggest you get them to give you the source to fix it or hack your own
version of CVS if you feel you must. I do NOT necessarily think it is
wise to confuse the user community base with too many names for the same
thing.

As for their assertion that it is a nongnu-compatible method, I have no
idea what they think they are talking about. The GNU project uses CVS
and not CVSNT as one of their standard ways of running repositories. Ask
the IDEA maintainers to go to savannah.gnu.org and checkout any of the
CVS projects as a maintainer using IDEA and they will fail due to lack
of support of the :ssh: method.

        -- Mark

Bryce Nesbitt <address@hidden> writes:

> Dear CVS Folks;
> 
> I use a Java editor called IDEA, which includes cvs support.  But, it
> won't play well with command line cvs.  IDEA creates an access method of
> ssh:
> 
>     # cat CVS/Root CVS/Repository
>    :ssh:address@hidden:/home/bryce/cvsbase
>     gis/shpdiff
> 
> I'm curious if other tools use the same syntax?  I have included a patch
> to CVS 1.12.13.1 which allows use of this method.  I could find no other
> way (other than patching cvs) to get these two tools to work together. 
> The developers of IDEA rejected the idea of switching to a
> nongnu-compatible method.
> 
>                 -Bryce Nesbitt
> 
> 
> cvs diff -c5
> cvs diff: Diffing .
> Index: root.c
> ===================================================================
> RCS file: /sources/cvs/ccvs/src/root.c,v
> retrieving revision 1.124
> diff -c -5 -r1.124 root.c
> *** root.c      28 Feb 2006 13:10:11 -0000      1.124
> --- root.c      1 Apr 2006 03:55:22 -0000
> ***************
> *** 556,565 ****
> --- 556,567 ----
>             newroot->method = gserver_method;
>         else if (!strcasecmp (method, "server"))
>             newroot->method = server_method;
>         else if (!strcasecmp (method, "ext"))
>             newroot->method = ext_method;
> +       else if (!strcasecmp (method, "ssh"))
> +           newroot->method = extssh_method;
>         else if (!strcasecmp (method, "fork"))
>             newroot->method = fork_method;
>         else
>         {
>             error (0, 0, "Unknown method (`%s') in CVSROOT.", method);
> ***************
> *** 857,866 ****
> --- 859,869 ----
>         no_proxy = 0;
>         /* no_password already set */
>         break;
>       case server_method:
>       case ext_method:
> +     case extssh_method:
>         no_port = 1;
>         /* no_password already set */
>         check_hostname = 1;
>         break;
>       case pserver_method:
> cvs diff: Diffing tests
> 
> 
> -- 
> ----
> Visit http://www.obviously.com/
> 
> 
> 
> _______________________________________________
> info-cvs mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/info-cvs
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (FreeBSD)

iD8DBQFELj3ACg7APGsDnFERAoSBAKCuSmun1/mWLvIps76T8BkVlYztVwCguM9l
5UUMeNHLp+Y5WFhYazZsuzI=
=huSg
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]