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

Viewgit addition to Hudson

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: git-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      I have been using Viewgit for some time now and was wondering if someone would be able to add this as a plugin to the hudson, so when you click on a change, you can get the instant view to what exactly changed.

        Attachments

          Activity

          Hide
          mindless Alan Harder added a comment -

          Can you try the "gitweb" browser selection (this is available when "git" hudson plugin is installed) and let us know what problems you find? With a very quick check, viewgit URLs look similar so it may work or partially work..

          Show
          mindless Alan Harder added a comment - Can you try the "gitweb" browser selection (this is available when "git" hudson plugin is installed) and let us know what problems you find? With a very quick check, viewgit URLs look similar so it may work or partially work..
          Hide
          pickgr1 pickgr added a comment -

          I don't think it's possible to use the gitweb browser selection. See

          http://issues.jenkins-ci.org/browse/JENKINS-3520

          Show
          pickgr1 pickgr added a comment - I don't think it's possible to use the gitweb browser selection. See http://issues.jenkins-ci.org/browse/JENKINS-3520
          Hide
          eguess74 eguess74 added a comment -

          I'm using CGIT and experienced the JENKINS-3520 + the URL for CGIT is a tiny bit different than for gitweb...so it sends me to the front page of the repository in CGIT, but not to a particular commit. I'm wondering if CGIT can be supported too.

          Show
          eguess74 eguess74 added a comment - I'm using CGIT and experienced the JENKINS-3520 + the URL for CGIT is a tiny bit different than for gitweb...so it sends me to the front page of the repository in CGIT, but not to a particular commit. I'm wondering if CGIT can be supported too.
          Hide
          fly_man_ fly_man_ added a comment -

          Tryed out the gitweb but that didn't work for me :|

          Show
          fly_man_ fly_man_ added a comment - Tryed out the gitweb but that didn't work for me :|
          Hide
          gnb Greg Banks added a comment -

          I'm having similar difficulties with generating working URLs for git commits. In my case the correct form of the URL is

          http://git.cyrusimap.org/cyrus-imapd/commit/?id=6261dccd03ba0af2f08e1b3bb2a7a282ac23a321

          In the short term we're looking into doing some serverside URL rewriting voodoo to work around this, but it would be nice if there were a more generic way in the Jenkins git plugin to handle web git browsers. For example, it would be nice to be able to select a "Custom" browser and tell it the URL for commits using a string like

          http://git.cyrusimap.org/cyrus-imapd/commit/?id=%H

          where %H is replaced with the full commit hash (like in "git log --pretty=format:").

          Show
          gnb Greg Banks added a comment - I'm having similar difficulties with generating working URLs for git commits. In my case the correct form of the URL is http://git.cyrusimap.org/cyrus-imapd/commit/?id=6261dccd03ba0af2f08e1b3bb2a7a282ac23a321 In the short term we're looking into doing some serverside URL rewriting voodoo to work around this, but it would be nice if there were a more generic way in the Jenkins git plugin to handle web git browsers. For example, it would be nice to be able to select a "Custom" browser and tell it the URL for commits using a string like http://git.cyrusimap.org/cyrus-imapd/commit/?id=%H where %H is replaced with the full commit hash (like in "git log --pretty=format:").
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Paul Nyheim
          Path:
          src/main/java/hudson/plugins/git/browser/ViewGitWeb.java
          src/main/resources/hudson/plugins/git/browser/ViewGitWeb/config.jelly
          src/main/resources/hudson/plugins/git/browser/ViewGitWeb/help-projectName.html
          src/main/resources/hudson/plugins/git/browser/ViewGitWeb/help-url.html
          src/test/java/hudson/plugins/git/browser/ViewGitWebTest.java
          http://jenkins-ci.org/commit/git-plugin/eeb5dd3909b3a755fd21a376e9c3a4a354f1f671
          Log:
          [FIXED JENKINS-5163] Implemented support for ViewGit

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Paul Nyheim Path: src/main/java/hudson/plugins/git/browser/ViewGitWeb.java src/main/resources/hudson/plugins/git/browser/ViewGitWeb/config.jelly src/main/resources/hudson/plugins/git/browser/ViewGitWeb/help-projectName.html src/main/resources/hudson/plugins/git/browser/ViewGitWeb/help-url.html src/test/java/hudson/plugins/git/browser/ViewGitWebTest.java http://jenkins-ci.org/commit/git-plugin/eeb5dd3909b3a755fd21a376e9c3a4a354f1f671 Log: [FIXED JENKINS-5163] Implemented support for ViewGit
          Hide
          dogfood dogfood added a comment -

          Integrated in plugins_git-plugin #183
          [FIXED JENKINS-5163] Implemented support for ViewGit

          paul.nyheim : eeb5dd3909b3a755fd21a376e9c3a4a354f1f671
          Files :

          • src/main/java/hudson/plugins/git/browser/ViewGitWeb.java
          • src/main/resources/hudson/plugins/git/browser/ViewGitWeb/help-projectName.html
          • src/main/resources/hudson/plugins/git/browser/ViewGitWeb/help-url.html
          • src/test/java/hudson/plugins/git/browser/ViewGitWebTest.java
          • src/main/resources/hudson/plugins/git/browser/ViewGitWeb/config.jelly
          Show
          dogfood dogfood added a comment - Integrated in plugins_git-plugin #183 [FIXED JENKINS-5163] Implemented support for ViewGit paul.nyheim : eeb5dd3909b3a755fd21a376e9c3a4a354f1f671 Files : src/main/java/hudson/plugins/git/browser/ViewGitWeb.java src/main/resources/hudson/plugins/git/browser/ViewGitWeb/help-projectName.html src/main/resources/hudson/plugins/git/browser/ViewGitWeb/help-url.html src/test/java/hudson/plugins/git/browser/ViewGitWebTest.java src/main/resources/hudson/plugins/git/browser/ViewGitWeb/config.jelly

            People

            • Assignee:
              pnyheim Paul Nyheim
              Reporter:
              fly_man_ fly_man_
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: