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

ASF GitHub Bot commented on SCM-986:
------------------------------------

jira-importer opened a new issue, #1214:
URL: https://github.com/apache/maven-scm/issues/1214

   **[Michael 
Osipov](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=michael-o)**
 opened 
**[SCM-986](https://issues.apache.org/jira/browse/SCM-986?redirect=false)** and 
commented
   
   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.
   
   
   ---
   
   **Affects:** 1.12.2, 2.0.0-M1
   
   **Remote Links:**
   - [GitHub Pull Request #145
   ](https://github.com/apache/maven-scm/pull/145)
   




> SvnExe's SvnRemoteInfoCommand incorrectly implemented
> -----------------------------------------------------
>
>                 Key: SCM-986
>                 URL: https://issues.apache.org/jira/browse/SCM-986
>             Project: Maven SCM (Moved to GitHub Issues)
>          Issue Type: Bug
>          Components: maven-scm-provider-svn
>    Affects Versions: 1.12.2, 2.0.0-M1
>            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.10#820010)

Reply via email to