It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage
  • Community
  • Interests
  • Git
  • Questions
  • FishEye is unable to index a git repository because of the licensed committer limit even though the .mailmap file is present

FishEye is unable to index a git repository because of the licensed committer limit even though the .mailmap file is present

David FALLAS Feb 18, 2014

We have been unable to index a newly cloned git repository with FishEye because it displays an error after a while:

Exceeded number of allowed committers

The git repository is cloned from TFS where 12 committers had checked in code over the life of the project (4 years). Most of these committers no longer work for the company so cannot be considered as 'active' committers.

As suggested by the article at https://confluence.atlassian.com/display/FISHKB/Git+or+Hg+Repository+exceeds+number+of+allowed+Committerswe have committed a new .mailmap file to the git repository which maps all of the inactive users/emails to one single 'inactive' user (Inactive Users <inactive@company.tfs.local>). However this appears to have no effect, as the re-clone and re-index continues to repeatedly fail.

Entries take the form of:

olduser <olduser@company.tfs.local> inactiveusers <inactiveusers@company.tfs.local>

another-olduser <another-olduser@company.tfs.local> inactiveusers <inactiveusers@company.tfs.local>

...

We are using FishEye 3.3.0 Stater license on Windows Server 2008.

2 answers

1 accepted

0 votes
Answer accepted
David FALLAS Feb 19, 2014

It appears that I did not read the article at https://confluence.atlassian.com/display/FISHKB/Git+or+Hg+Repository+exceeds+number+of+allowed+Committers carefuly enough.

Entries in the .mailmap file MUST have the target name/email BEFORE the 'old' name/email. Once I reversed all my entries, all historical committers are now mapped to the single inactive committer and FishEye is able to re-index successfully.

0 votes
Conor MacNeill Atlassian Team Feb 18, 2014

Can you check your log for a warning message which should list the committers it has found up to the point where it reaches the limit? I want to make sure your mailmap is not working or if you have missed some users.

David FALLAS Feb 18, 2014

Thank you for your response. I have found entries in the log which list the committers.

2014-02-19 12:44:04,857 WARN [201:StdOutHandler java.lang.ProcessImpl@9e2b9f gitDHCore] fisheye DefaultLicenseEnforcer-validateCommitterLimit - Committer limit exceeded - committer list:...

The committer list contains 11 names/email addresses. 8 of these name/email pairs have been specified in the .mailmap file to map to a single Inactive User <inactive@[company].tfs.local>

git shortlog -nse displays a list of 12 committers - 11 of which match those in the committer list in the FishEye log file.

I can confirm that the .mailmap file is included in the FishEye clone (D:\ProgramData\Atlassian\FishEye\Data\var\cache\[gitRepo])

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted in Off-topic

What podcasts are you listening to right now?

Like the title says: what podcasts are in your rotation right now? Here are some favorites I've been in to from the last few weeks. The Ringer NBA Show I've been diving deep into the NBA Playoffs...

835 views 16 9
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you