vifactor / repostat

Inspired by gitstats project: git repository desktop analyzer
GNU General Public License v3.0
106 stars 13 forks source link

Group together orphaned extensions #183

Closed pulkomandy closed 4 years ago

pulkomandy commented 4 years ago

When a file extension is used only once in a repo, it's probably not very useful to list it separately. So collapse all files in such cases into a single line.

pulkomandy commented 4 years ago

I did not find how to reinject the grouped stats into the results. Maybe this is not the right approach.

http://pulkomandy.tk/stats/files.html lists all headers from the C++ library which typically have no file extension (atomic, iostream, ...) and a few other things, this does not seem right.

vifactor commented 4 years ago

Please, take my commit from https://github.com/vifactor/repostat/tree/orphaned-files branch, which does what you could not finalize.

There are 2 points to address with this PR:

vifactor commented 4 years ago

Closing this PR. The commit is preserved in PR #191