Maven Changelog Plugin
  1. Maven Changelog Plugin
  2. MCHANGELOG-3

Links in File Activity Report can be wrong when using subversion, after a copy command has been issued

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0
    • Labels:
      None
    • Environment:
      OSX 10.4.3, java 1.4.2_09

      Description

      When you do a subversion copy command, the list of files produced by svn log often have additional information that is part of the filename:

      R /tags/prt-1.3/prt-admin/pom.xml (from /trunk/prt-admin/pom.xml:128)

      In SvnChangeLogParser.java, the file name is parsed as /tags/prt-1.3/prt-admin/pom.xml (from /trunk/prt-admin/pom.xml:128) when of course it should be /tags/prt-1.3/prt-admin/pom.xml. This is most significantly manifested when a link is generated, such as in the File Activity Report.

      http://...?repname=prt&sc=0&path=/tags/prt-1.3/pom.xml%20(from%20/trunk/pom.xml:128)

      I can see two approaches to the problem. The simplest is to add a regular expression which deletes the extraneous data, but then you lose that potentially valuable information. Maybe ChangeLogFile should keep track of a file (path) and a name, rather than just a name, so that the link can be made properly.

      1. changelog.xml
        2 kB
        Julian Wood
      2. MCHANGELOG-3.patch
        5 kB
        Julian Wood
      3. MOJO-216-changelog-maven-plugin.patch
        0.9 kB
        Julian Wood
      4. MOJO-216-changelog-maven-plugin-1a.patch
        4 kB
        Julian Wood
      5. svnlog2.txt
        6 kB
        Julian Wood

        Activity

        Julian Wood created issue -
        Julian Wood made changes -
        Field Original Value New Value
        Attachment MOJO-216-changelog-maven-plugin.patch [ 18434 ]
        Julian Wood made changes -
        Attachment MOJO-216-changelog-maven-plugin-1a.patch [ 18435 ]
        Julian Wood made changes -
        Attachment svnlog2.txt [ 18436 ]
        Julian Wood made changes -
        Attachment changelog.xml [ 18437 ]
        Brett Porter made changes -
        Workflow Maven [ 45463 ] Maven New [ 49846 ]
        Edwin Punzalan made changes -
        Workflow Maven New [ 49846 ] jira [ 52547 ]
        Key MOJO-216 MCHANGELOG-3
        Component/s changelog [ 11731 ]
        Project Mojo [ 11062 ] Maven 2.x Changelog Plugin [ 11211 ]
        Emmanuel Venisse made changes -
        Workflow jira [ 52547 ] Maven New [ 52636 ]
        Brett Porter made changes -
        Fix Version/s 2.0 [ 12471 ]
        Edwin Punzalan made changes -
        Assignee Edwin Punzalan [ elpunzalan ]
        Julian Wood made changes -
        Attachment MCHANGELOG-3.patch [ 20772 ]
        Edwin Punzalan made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Closed [ 6 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 09:12:33 UTC 2015 [ 1428225153301 ]
        Mark Thomas made changes -
        Workflow jira [ 12717722 ] Default workflow, editable Closed status [ 12749158 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 22:37:13 UTC 2015 [ 1428273433745 ]
        Mark Thomas made changes -
        Workflow jira [ 12955200 ] Default workflow, editable Closed status [ 12991817 ]

          People

          • Assignee:
            Edwin Punzalan
            Reporter:
            Julian Wood
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development