プロジェクト

全般

プロフィール

Vote #63055

完了

Per-author commits statistics graph does not like long names

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
SCM_3
対象バージョン:
開始日:
2008/04/15
期日:
進捗率:

0%

予定工数:
0.30時間
category_id:
3
version_id:
2
issue_org_id:
1066
author_id:
809
assigned_to_id:
0
comments:
3
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

I'm monitoring a Mercurial repository with RedMine. In mercurial project, author "name" is usually made of :
Joe Doe joe.doe@domain.com
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)

journals

And what about displaying *Joe Doe* only (without the email address) ?
--------------------------------------------------------------------------------
<pre>
And what about displaying Joe Doe only (without the email address) ?
</pre>

It would, for sure, be an improvement over current behavior. You can assume that anything matching "<.+@.+\.+>" can be removed.
But it is half a solution, because I work with some people using their full (very long) name, dot separated, as the login. One of them, for example, has a 23-chars long name. Could we assume that any retained solution must render properly up to 30-chars long names ?
Thx
--------------------------------------------------------------------------------
SVG graphs are now 800px large (r1601). This should fix this problem.
--------------------------------------------------------------------------------

Admin Redmine さんが3年以上前に更新

  • カテゴリSCM_3 にセット
  • 対象バージョン0.8_2 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0