Adding a Git repository to FishEye with a Starter license (10 users) installed will sometimes produce an error stating that there are more than 10 committers, even though there are less than 10 real people who have committed:
Repository index failed due to error - class com.atlassian.fisheye.dvcs.handler.DvcsProcessRuntimeException: com.cenqua.fisheye.LicensePolicyException: Exceeded number of allowed committers |
You have exceeded the number of committers allowed by the Starter License. This is either a legitimate occurrence (you have more than 10 actual committers) or this problem can also affect git and Mercurial Starter License users over time when their committers use different ids to commit to the repository.
Due to this change () in FishEye 2.6, when we scan a git repository, we now combine the author and email fields from the commit into a single field that FishEye uses to determine who the committer is. This allows automatic email mapping to map the commit by that committer to a FishEye User with the same email address.
Unfortunately, if your committers use different email addresses for their commits, they will now count as more than one committer, where previously they did not.
For Mercurial, the only solution is to rewrite the history of your repository to map these committers to a single consistent committer id for each real committer you have (and to encourage them to be consistent in future). This means getting all developers to delete their clones of the repository and re-clone once the history re-write is complete. Otherwise, they will probably end up pushing the old commits back into the repository being scanned by FishEye and the problem will reoccur.
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 names 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. FishEye will use the version of the 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'. Any changes you make to the Note that if you want to map multiple email addresses to one author, you need to specify them on multiple lines.
MercurialIn Mercurial, we use the Convert Extension to rewrite the committer names, using an authormap file. In the repository that FishEye is scanning, you will need to use the Mercurial Queues Strip command to remove all the current commits once the converted repository is ready, otherwise you will simply add a new set of commits next to the originals.
GitThis method will rewrite your commits with undesired author/emails in them, changing history. An easier approach (see above) is to use the .mailmap file as mentioned in the git shortlog man page. You will need to reclone and re-index after setting that up. FishEye uses the git author name and email fields on a commit to identify who made the changes (which in FishEye is referred to as the "committer", but in git is the author; in git, the committer is who committed, possibly on behalf of the author), so we need to remap them.
|
|
Severity:Low Regular Expression: com\.cenqua\.fisheye\.LicensePolicyException: Exceeded number of allowed committers |