logoalt Hacker News

blenderobtoday at 1:36 PM7 repliesview on HN

> Is This Project Accelerating or Dying > > git log --format='%ad' --date=format:'%Y-%m' | sort | uniq -c

If the commit frequency goes down, does it really mean that the project is dying? Maybe it is just becoming stable?


Replies

heresie-dabordtoday at 3:07 PM

For this command in particular, one can add a cheap bar chart with awk:

git log --format='%ad' --date=format:'%Y-%m' | sort | uniq -c | awk '{printf $2" "; for (i=1;i<=$1;i++){printf "-";} print ""; }'

show 1 reply
goosejuicetoday at 3:44 PM

Yeah, this one demonstrates a particularly pernicious view of software development. One where growth, no matter how artificial, is the only sign of success.

If you work with service oriented software, the projects that are "dying" may very well be the most successful if it's a key component. Even from a business perspective having to write less code can also be a sign of success.

I don't know why this was overlooked when the churn metric is right there.

show 1 reply
ziml77today at 2:16 PM

That was my question too. I have plenty of projects I've worked on where they rarely get touched anymore. They don't need new features and nothing is broken.

show 1 reply
onion2ktoday at 1:40 PM

Technically you're correct that change frequency doesn't necessarily mean dead, but the number of projects that are receiving very few updates because they're 'done' is a fraction of a fraction of a percent compared to the number that are just plain dead. I'm certain you can use change frequency as a proxy and never be wrong.

show 1 reply
dan-baileytoday at 1:40 PM

Projects become more stable with time? Since when?

Sharlintoday at 1:40 PM

Something something Red Queen's race

stackedinsertertoday at 1:42 PM

Or you hired someone who squashes or doesn't commit every single change.