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/25 09:50:00 UTC

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

    [ https://issues.apache.org/jira/browse/SCM-986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17541904#comment-17541904 ] 

Michael Osipov edited comment on SCM-986 at 5/25/22 9:49 AM:
-------------------------------------------------------------

Fixed with [5447abdbd58d9e888229ba9d3cefe0db1c088e6f|https://gitbox.apache.org/repos/asf?p=maven-scm.git;a=commit;h=5447abdbd58d9e888229ba9d3cefe0db1c088e6f].


was (Author: michael-o):
Fixed with [5447abdbd58d9e888229ba9d3cefe0db1c088e6f|https://gitbox.apache.org/repos/asf?p=maven-site-plugin.git;a=commit;h=5447abdbd58d9e888229ba9d3cefe0db1c088e6f].

> 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: 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 + "/branches" + "@" );}}
> 3rd bug:
> {{new 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 an extended TCK test to verify this faulty behavior.



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