Uploaded image for project: 'Maven SCM'
  1. Maven SCM
  2. SCM-418

Support for Perforce changelogs in Continuum and changelog plugin

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1
    • 1.3
    • None
    • tested on Maven 2.0.9, Continuum 1.2, Perforce 2008.1, all under Fedora 9
    • Patch

    Description

      Continuum wasn't reporting author/date/comment for each build's modified files when used with Perforce. I tracked the root cause to the update command not returning the current changelist, which in turn wasn't being provided to the changelog command. At the same time, the changelog command didn't accept revision-based ranges, only dates.

      The attached patch (with updated test cases) makes the Continuum build status pages return full results.

      The basic flow is to get the newly-submitted changelist numbers using "p4 changes", then populate ChangeSet objects directly using "p4 describe".

      A side effect is that this replaces the patch for SCM-332. The original code gathered the changed files (and their comments) with "p4 filelog", which the patch then re-aggregated into changesets. The new version accomplishes the same thing, but more directly.

      Attachments

        1. scm-418-against-769975.patch
          54 kB
          Peter Janes
        2. scm-418.patch
          55 kB
          Peter Janes
        3. changelog.patch
          52 kB
          Peter Janes

        Activity

          People

            olamy Olivier Lamy
            peterj Peter Janes
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: