Commit graph should merge homonyms
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.
Updated by Guillaume Ayoub over 14 years ago
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.
Updated by Guillaume Ayoub about 14 years ago
Here is the previous patch updated for revision 39c9727 of git. As I said, this code works here with git, but it should be cleaned and tested with other version control systems.
Updated by Jean-Baptiste Barth over 9 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.
Updated by txemi M over 9 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.