Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-3357

Sventon 2.0.x is not compatible with Hudson

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Component/s: subversion-plugin
    • Labels:
      None
    • Environment:
      Platform: All, OS: All

      Description

      Url format was changed for Sventon 2.x, so integration is not working. There
      should be added two option for Repository browser (Sventon 1.x and Sventon 2.x).
      More generic solution will be to add Generic Browser and typing full url for
      browser, only revision should be parametrized.

      New url format is:
      http://SERVER/APP/repos/PROJECT/info?revision=REVISION

      while old url format was:
      http://SERVER/APP/revinfo.svn?name=PROJECT&revision=REVISION

        Activity

        Hide
        lotus118 lotus118 added a comment -

        Created an attachment (id=638)
        Diff for that fixes sventon support for sventon versions 2.0.x.

        Show
        lotus118 lotus118 added a comment - Created an attachment (id=638) Diff for that fixes sventon support for sventon versions 2.0.x.
        Hide
        lotus118 lotus118 added a comment -

        Damn! You just beat me to reporting this one!
        Anyway, I've attached a diff that, when applied to
        hudson/main/core/src/main/java/hudson/scm/browsers/Sventon.java (rev. 16573),
        fixes the urls. I tested it against Sventon 2.0.5.

        Show
        lotus118 lotus118 added a comment - Damn! You just beat me to reporting this one! Anyway, I've attached a diff that, when applied to hudson/main/core/src/main/java/hudson/scm/browsers/Sventon.java (rev. 16573), fixes the urls. I tested it against Sventon 2.0.5.
        Hide
        kohsuke Kohsuke Kawaguchi added a comment -

        Hudson should be able to retrieve the page given to Hudson and determine Sventon
        version on its own, without asking the user.

        Am I correct in understanding that the current code works with 1.x and the patch
        is meant for 2.x?

        Show
        kohsuke Kohsuke Kawaguchi added a comment - Hudson should be able to retrieve the page given to Hudson and determine Sventon version on its own, without asking the user. Am I correct in understanding that the current code works with 1.x and the patch is meant for 2.x?
        Hide
        marksmys marksmys added a comment -

        Yes, current code work only with 1.x, and patch is only for 2.x

        Show
        marksmys marksmys added a comment - Yes, current code work only with 1.x, and patch is only for 2.x
        Hide
        scm_issue_link SCM/JIRA link daemon added a comment -

        Code changed in hudson
        User: : stephenconnolly
        Path:
        trunk/hudson/main/core/src/main/java/hudson/scm/browsers/Sventon.java
        http://fisheye4.cenqua.com/changelog/hudson/?cs=17917
        Log:
        [FIXED JENKINS-3357]

        Show
        scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : stephenconnolly Path: trunk/hudson/main/core/src/main/java/hudson/scm/browsers/Sventon.java http://fisheye4.cenqua.com/changelog/hudson/?cs=17917 Log: [FIXED JENKINS-3357]

          People

          • Assignee:
            Unassigned
            Reporter:
            marksmys marksmys
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: