Continuum
  1. Continuum
  2. CONTINUUM-2591

Git based maven2 builds can't properly release or checkout on branch

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.3.6
    • Fix Version/s: 1.4.1
    • Component/s: Release
    • Labels:
      None
    • Complexity:
      Intermediate
    • Number of attachments :
      3

      Description

      It is not possible to add or release a maven2 project using the git scm when the project is on a branch. There appears to be multiple reasons for this:

      • The maven-scm version bundled with continuum is old and doesn't include git providers with sufficiently complete git support.
      • Git SCM URLs don't include sufficient information to identify the branch.
      • Continuum-release's UpdateWorkingCopyPhase doesn't properly update the working (it always uses master rather than the current branch)
      1. CONTINUUM-2591.patch
        15 kB
        Brent N Atkinson
      2. CONTINUUM-2591-trunk.patch
        8 kB
        Brett Porter
      3. CONTINUUM-2591-trunk-2.patch
        6 kB
        Brent N Atkinson

        Activity

        Hide
        Brent N Atkinson added a comment -

        I didn't only because there are still limitations with the git-scm that make this a little weird. For instance, the tag element in the scm configuration in the pom isn't updated it doesn't track things properly, but it does solve the release/checkout issue.

        Show
        Brent N Atkinson added a comment - I didn't only because there are still limitations with the git-scm that make this a little weird. For instance, the tag element in the scm configuration in the pom isn't updated it doesn't track things properly, but it does solve the release/checkout issue.
        Hide
        Brett Porter added a comment -

        should we just drop it into the backlog for the time being?

        Show
        Brett Porter added a comment - should we just drop it into the backlog for the time being?
        Hide
        Brent N Atkinson added a comment -

        It might be good to integrate it as it grants git users the ability to use continuum in a normal work flow. I can integrate into trunk as long as no one opposes. Barring that, backlog is ok.

        Show
        Brent N Atkinson added a comment - It might be good to integrate it as it grants git users the ability to use continuum in a normal work flow. I can integrate into trunk as long as no one opposes. Barring that, backlog is ok.
        Hide
        Brett Porter added a comment -

        no objections here

        Show
        Brett Porter added a comment - no objections here
        Hide
        Brent N Atkinson added a comment -

        Committed in r1091054

        Show
        Brent N Atkinson added a comment - Committed in r1091054

          People

          • Assignee:
            Unassigned
            Reporter:
            Brent N Atkinson
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: