evilsocket / evilsocket/gitstats

Support for mailmap

オープン
#5 コメント 2 件 リアクション 2 件 担当者 0 名 GitHub で見る
主要言語
Go
スター
147
フォーク
15
PR マージ指標
30日以内にマージされた PR はありません

説明

Git has awesome `.mailmap` configuration allowing you to describe which emails are the same user. There's more documentation here: https://git-scm.com/docs/git-check-mailmap

Example report from gitstats:

```
█ 589 | foo@example.com
███ 2882 | foo@gmail.com
1 | foo@Foo.local
```

With this `.mailmap` document:
```
# Mapping historically incorrect Git author names and emails
John Doe

```

git would actually use only the left aliases and combine results in `git log`, `git shortlog` and others.

It would be great if `gitstats` could do the same using `git` plumbing commands and make use of the `.mailmap` configuration in the repository.

Thanks!

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

まず、gitstats のレポート生成のエントリーポイントを追跡し、git-check-mailmap に関する Git のドキュメントを確認します。著者名とメールアドレスがどこで集約されているかを特定し、続いて、リポジトリの .mailmap のマッピングによって生成された統計情報内でエイリアスが統合されることを、この issue に記載されている例も含めて検証します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
git, go
領域
analytics
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。