Project

General

Profile

Actions

Defect #1066

closed

Per-author commits statistics graph does not like long names

Added by Paul Rivier over 16 years ago. Updated over 16 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
Start date:
2008-04-15
Due date:
% Done:

0%

Estimated time:
0.30 h
Resolution:
Fixed
Affected version:

Description

I'm monitoring a Mercurial repository with RedMine. In mercurial project, author "name" is usually made of :
Joe Doe <>
With long names and long domains, it can easily reach 40 characters overall. In such a situation, there is no space left for per-author commits statistic graph to be printed, so it gets totally unreadable.

Naive proposals to solve this problem :
  • Truncate name to 10 characters ... ? (I do not think this is a good idea)
  • Process first the list of authors, and assign a unique number to each of them (1, 2, 3...). Simply putting authors names in an array will give each of them its UID. Then print this UID on the left of the graph, in place of the name, and print a legend below with ( UID , real name ) pairs. (I like this one better)
Actions

Also available in: Atom PDF