Commit graph should merge homonyms
|Assignee:||Jean-Baptiste Barth||% Done:|
|Category:||SCM||Estimated time:||1.00 hour|
When looking to "commits by authors" graph (Repository/Statistics), redmine don't merge bars with homonyms. In this redmine instance you can see my name appears twice.
I suppose it's due to the facts I'm using a git repository with multiple account, where I haven't put the same email address.
IMHO, Redmine should merge bars with homonyms.
#2 Updated by Guillaume Ayoub over 10 years ago
- File redmine-merge-homonyms.patch added
- % Done changed from 0 to 80
Here is a patch (for version 0.8.6) merging homonyms. I don’t know ruby very well and my syntax may be a little bit strange, but some ruby guru should clean these few lines easily.
Works with git, not tested with other version control systems.
#9 Updated by Jean-Baptiste Barth over 5 years ago
- Status changed from New to Closed
- Assignee set to Jean-Baptiste Barth
- Resolution set to Wont fix
- first user commits with
- second user commits with
It's pretty obvious those users are not the same person, they don't even share the same family name. But it will be very difficult to detect that. So now that we have committers<->users mapping that can be defined per repository, I guess people could rely on that (or even script that!) to fit their needs.
I close this for now but please re-open it if you strongly disagree.
#10 Updated by txemi M over 5 years ago
I would like not seeing this issue closed. I do not agree with the argument given above. I also think that there is no reliable way for redmine to guess identity mapping but I also think that this should not be done automatically. The administrator who added repository to some project should manually define the mapping.