Uploaded image for project: '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
    • Status: Closed
    • Priority: 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.

        Attachments

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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: