You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Alain Coetmeur (JIRA)" <ji...@codehaus.org> on 2007/05/02 15:51:26 UTC

[jira] Created: (SCM-306) Bad URL in .cvspass if using non standard port number for CVS server

Bad URL in .cvspass if using non standard port number for CVS server
--------------------------------------------------------------------

                 Key: SCM-306
                 URL: http://jira.codehaus.org/browse/SCM-306
             Project: Maven SCM
          Issue Type: Bug
          Components: maven-scm-provider-cvs
    Affects Versions: 1.0
         Environment: Windows, 
            Reporter: Alain Coetmeur


Using latest evolution of CVS provider, that create the .cvspass on Windows, NOT needing CVSNT

summary :
when using a SCM URL targeting a CVS server with a non standard port, the CVS root inside .cvspass is badly generated, with the 2401 numbers preceding the indicated port number, preventing this .cvspass line to be used later for authentication.

detail:

when I set a password and a username for a SCM operation on CVS
with a CVS root including a non standard port like this:

scm url: 

	<scm>
		<developerConnection>
                            scm:cvs|pserver|@s.serv.cdc.fr|12021/s/cvsdata/XX|project
		</developerConnection>
	</scm>


it create a line in .cvspass like this
/1 :pserver:usr@s.serv.cdc.fr:240112021/s/cvsdata/XX A:yZZ30 e

and then fails with "bad password"

If I edit manually the line, removing the "2401" spurious numbers this way
/1 :pserver:usr@s.serv.cdc.fr:12021/s/cvsdata/XX A:yZZ30 e

it works, even if it add again the 
/1 :pserver:usr@s.serv.cdc.fr:240112021/s/cvsdata/XX A:yZZ30 e
line, after the previous...

thanks in advance...




-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (SCM-306) Bad URL in .cvspass if using non standard port number for CVS server

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/SCM-306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Venisse closed SCM-306.
--------------------------------

      Assignee: Emmanuel Venisse
    Resolution: Won't Fix

Your scm url is wrong, you must have a separator between port and path

> Bad URL in .cvspass if using non standard port number for CVS server
> --------------------------------------------------------------------
>
>                 Key: SCM-306
>                 URL: http://jira.codehaus.org/browse/SCM-306
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-scm-provider-cvs
>    Affects Versions: 1.0
>         Environment: Windows, 
>            Reporter: Alain Coetmeur
>            Assignee: Emmanuel Venisse
>
> Using latest evolution of CVS provider, that create the .cvspass on Windows, NOT needing CVSNT
> summary :
> when using a SCM URL targeting a CVS server with a non standard port, the CVS root inside .cvspass is badly generated, with the 2401 numbers preceding the indicated port number, preventing this .cvspass line to be used later for authentication.
> detail:
> when I set a password and a username for a SCM operation on CVS
> with a CVS root including a non standard port like this:
> scm url: 
> 	<scm>
> 		<developerConnection>
>                             scm:cvs|pserver|@s.serv.cdc.fr|12021/s/cvsdata/XX|project
> 		</developerConnection>
> 	</scm>
> it create a line in .cvspass like this
> /1 :pserver:usr@s.serv.cdc.fr:240112021/s/cvsdata/XX A:yZZ30 e
> and then fails with "bad password"
> If I edit manually the line, removing the "2401" spurious numbers this way
> /1 :pserver:usr@s.serv.cdc.fr:12021/s/cvsdata/XX A:yZZ30 e
> it works, even if it add again the 
> /1 :pserver:usr@s.serv.cdc.fr:240112021/s/cvsdata/XX A:yZZ30 e
> line, after the previous...
> thanks in advance...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira