• 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

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

This widget could not be displayed.

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.

This widget could not be displayed.

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.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in Teamwork

What teamwork quotes inspire you?

Hey everyone! My name is Natalie and I'm an editor of the Atlassian Blog and I've got a question for you: What's your favorite quote about teamwork?  We've compiled a list here, along with...

161 views 16 7
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you