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

Need to specify non-default repo for googlecode repository browser

    XMLWordPrintable

Details

    Description

      Google Code projects can have multiple hg repositories (http://code.google.com/p/support/issues/detail?id=2563), but there appears to be no way of configuring Hudson to use the repository browser for a repository apart from the default one.

      The base browsing URL for a default repository is
      http://code.google.com/p/PROJECTNAME/source/
      but if an extra repository called REPO is added, the base URL should be
      http://code.google.com/p/PROJECTNAME/source/?repo=REPO

      It looks as if Google Code just adds the parameter repo=REPO to all the browsing pages, eg
      http://code.google.com/p/PROJECTNAME/source/detail?r=123456789&repo=REPO

      There's an example of such a repository here: http://code.google.com/p/living-stories/source/browse/?repo=wordpress

      Note that repo=default does happen to work for the default repository, but is of course not required.

      Attachments

        Activity

          jglick Jesse Glick added a comment -

          Patches to hudson.plugins.mercurial.browser.GoogleCode (and accompanying unit test) welcome.

          jglick Jesse Glick added a comment - Patches to hudson.plugins.mercurial.browser.GoogleCode (and accompanying unit test) welcome.
          systho systho added a comment -

          Since multiple repo's/branches are very common in mercurial that would definitely be a great feature

          systho systho added a comment - Since multiple repo's/branches are very common in mercurial that would definitely be a great feature

          People

            jglick Jesse Glick
            seanf Sean Flanigan
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: