Uploaded image for project: 'Bamboo'
  1. Bamboo
  2. BAM-8879

git author should be (should be?) pulled from author email address, not the real name

    Details

    • Type: Story
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3
    • Component/s: Repository (Git)
    • Labels:
      None
    • Last commented by user?:
      true
    • Comments:
      6
    • Internal Priority:
      4. Low

      Description

      from: http://forums.atlassian.com/thread.jspa?threadID=54113&tstart=0


      We're just transitioning to git from svn.

      Currently we're integrated with crowd & AD. When builds are triggered from the git repository, the author id pulled from the commits in that build are being pulled from the name of the user, not the user's email address. This then does not get correlated with the actual user in the system and they do not get build notifications.

      For example, if the author of a commit is: Sandra Coder <scoder@example.com>, I would expect that commit to show up on http://my-bamboo/browse/author/scoder. Instead we see it showing up at http://my-bamboo/browse/author/Sandra%20Coder.

      This is pretty unfortunate, especially since I can only configure gerrit to authenticate the email address, not the user's name. Is there any way to configure it differently?

      This is bamboo 3.0.2, Atlassian Bamboo Git Repository Plugin - 1.3

      Thanks for any help you can provide.


      Update: this looks intentional, see
      https://github.com/atlassian/bamboo-git-plugin/blob/9797ac45f5914ac84d197591c649e7ae4309a197/src/main/java/com/atlassian/bamboo/plugins/git/GitOperationHelper.java#L411

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                4 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Last commented:
                  5 years, 10 weeks, 4 days ago