cam icon indicating copy to clipboard operation
cam copied to clipboard

new metric: age of class in hours

Open yegor256 opened this issue 4 years ago • 5 comments

Let's use Git history to collect this information for each .java file

yegor256 avatar Jun 15 '21 18:06 yegor256

@yegor256 I can try working on this.

varunu28 avatar Jul 15 '21 15:07 varunu28

@varunu28 cool, thanks!

yegor256 avatar Jul 15 '21 15:07 yegor256

I have tried to implement this, but faced a following problem: by running 01-delete-non-java-files.sh, we wipe all essential .git/* files, including .git/HEAD and brake the entire repo. So git stops recognizing the repository we cloned as a valid repo. That is why, any of git ... commands will not work. This is also a reason why authors.py doesn't work right now (#22).

yistarostin avatar Aug 09 '21 18:08 yistarostin

@yistarostin good catch. Can you please make a new ticket for it and fix it?

yegor256 avatar Aug 23 '21 04:08 yegor256

@yegor256 tried to implement in the pr

lueFlake avatar Oct 09 '24 11:10 lueFlake

is this issue already solved?

adfi-l21s avatar Apr 08 '25 15:04 adfi-l21s

@adfi-l21s I think so, solved.

yegor256 avatar Apr 09 '25 08:04 yegor256