You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2022/05/22 20:27:00 UTC

[jira] [Updated] (SCM-986) SvnExe's SvnRemoteInfoCommand incorrectly implemented

     [ https://issues.apache.org/jira/browse/SCM-986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov updated SCM-986:
-------------------------------
    Description: 
Several bugs:

1st bug:
This class claims to process the following URLs:
* {{http://svn.apache.org/repos/asf/maven/maven-3/trunk}}
* {{http://svn.apache.org/repos/asf/maven/maven-3/trunk/}}

to {{http://svn.apache.org/repos/asf/maven/maven-3}}. The first URL works, but the second is processed to {{/svn.apache.org/repos/asf/maven/maven-3/trunk}}.

2nd bug:
Extracting branches happens with {{cl.createArg().setValue( baseUrl + "/tags" + "@" );}} instead of {{cl.createArg().setValue( baseUrl + "/branhes" + "@" );}}

3rd bug:
{{LsConsumer}} receives the new, reduced base URL as constructor arg and contructs the final tag/branch URLs as: {{http://svn.apache.org/repos/asf/maven/maven-3/maven-3.0}} and {{http://svn.apache.org/repos/asf/maven/maven-3/maven-3.x}} the path segments {{tags}} and {{branches}} are never passed.

Branch SCM-986 includes in extended TCK test to verify this faulty behavior.

> SvnExe's SvnRemoteInfoCommand incorrectly implemented
> -----------------------------------------------------
>
>                 Key: SCM-986
>                 URL: https://issues.apache.org/jira/browse/SCM-986
>             Project: Maven SCM
>          Issue Type: Bug
>          Components: maven-scm-provider-svn
>    Affects Versions: 2.0.0-M1, 1.12.2
>            Reporter: Michael Osipov
>            Assignee: Michael Osipov
>            Priority: Major
>             Fix For: 1.13.0, 2.0.0-M2
>
>
> Several bugs:
> 1st bug:
> This class claims to process the following URLs:
> * {{http://svn.apache.org/repos/asf/maven/maven-3/trunk}}
> * {{http://svn.apache.org/repos/asf/maven/maven-3/trunk/}}
> to {{http://svn.apache.org/repos/asf/maven/maven-3}}. The first URL works, but the second is processed to {{/svn.apache.org/repos/asf/maven/maven-3/trunk}}.
> 2nd bug:
> Extracting branches happens with {{cl.createArg().setValue( baseUrl + "/tags" + "@" );}} instead of {{cl.createArg().setValue( baseUrl + "/branhes" + "@" );}}
> 3rd bug:
> {{LsConsumer}} receives the new, reduced base URL as constructor arg and contructs the final tag/branch URLs as: {{http://svn.apache.org/repos/asf/maven/maven-3/maven-3.0}} and {{http://svn.apache.org/repos/asf/maven/maven-3/maven-3.x}} the path segments {{tags}} and {{branches}} are never passed.
> Branch SCM-986 includes in extended TCK test to verify this faulty behavior.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)