Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-3319

Unable to configure Bamboo Web Repository URL to represent a subset of the underlying repository for FishEye

    XMLWordPrintable

Details

    Description

      This is most obvious when the FishEye repository is a subset of the underlying SCM repository.

      Current example

      Facts:

      Bamboo allows the specification of a Web Repository URL and an optional Web Repository Module.

      Immediate bug fixes

      • As shown in example 3, when constructing changeset links, Bamboo should put the WR Module (if present) in the path
      • If running in "pure fisheye links" mode
        • don't add content-type and root query params (unecessary in examples 1, 2 and 3)
      • If running in "viewcvs compatible mode"
        • Add a rev (in addition to the r and revision) query parameter. (example 4)

      Root cause

      Bamboo cannot be configured to know that a FishEye repository (or any Web Repository URL) represents a subset of the underlying repository. The examples above don't cover all the possible failure modes because (conveniently) the prefix path "/FE/" coresponds to the name of the repository in the FishEye instance. (Also see BAM-2568)

      Possible solutions

      • Add a Web Repository Module Prefix parameter, which is the prefix at which the FishEye repository is configured.
      • Allow a general regex mechanism for constructing link urls (BAM-1354)
      • Add a plugin point for generating SCM links (and for configuring said plugin in the Source Repository plan config page. (related BAM-1602).

      Attachments

        1. ss1.jpg
          ss1.jpg
          61 kB
        2. ss2.jpg
          ss2.jpg
          62 kB
        3. ss4.jpg
          ss4.jpg
          52 kB

        Issue Links

          Activity

            People

              bmccoy bmccoy
              mquail Matt Quail (Inactive)
              Votes:
              12 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: