Uploaded image for project: 'FishEye'
  1. FishEye
  2. FE-3583

.mailmap is ignored for git repositories meaning authors are not mapped at all

    XMLWordPrintable

Details

    Description

      Because we do a git clone --bare when cloning the git repository for slurping in FishEye, any .mailmap set in the source repo is not available in the clone.

      This means, the link displayed in the following log message is incorrect:

      [java] 2011-07-15 16:56:39,615 WARN  - You may be able to adjust committer names if you have used multiple email addresses per committer. Please see http://confluence.atlassian.com/x/MgJRDg
      

      Specifically:

      Rewriting history is also valid for git (detailed below), but git has an easier alternative, using the .mailmap file. This allows the git repository to report to FishEye different name and email addresses than were actually used by the author — this will not affect any other repositories, unless they also get the .mailmap file in their local repositories. See the git shortlog man page for more details. Once you set this up, you will need to go to the administration console in FishEye for your repository and under the 'Maintenance' tab, select 'Re-clone and Re-index'.

      Attachments

        Issue Links

          Activity

            People

              gcrain Geoff Crain (Inactive)
              npellow Nick
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 0.55h
                  0.55h