bagder,
@bagder@mastodon.social avatar

How many authors have their contributions in product source code? How many have had their previous work completely removed. Over time.

The first release with code present authored by 200 persons was done in 2015-04-22. In that release, we had already removed all traces of contributions from 20 authors.

In the latest release, 604 authors' code is still present. 171 authors' work have been replaced.

bagder,
@bagder@mastodon.social avatar

my script runs "git blame" on the product code base for all files for every release tag and counts everyone who had their name "on" a code line for that release. Then counts how many in total plus how many that has had at least a line before but does not anymore.

unlambda,
@unlambda@hachyderm.io avatar

@bagder Just because a person no longer has any lines attributed to them in git blame doesn't mean none of their code remains. They could have had their contributed lines simply changed by something like a refactor that renames a variable or adds another argument to a function.

Of course, any metric isn't going to be perfect, doing it via git blame is probably the best you can reasonably do, but worth keeping in mind even that users who don't show up that way may still be authors.

bagder,
@bagder@mastodon.social avatar

@unlambda indeed, and in fact someone simply removing lines is also an author even if they never added lines...

bagder,
@bagder@mastodon.social avatar

a main problem with my script is probably that it only runs git blame every release, which makes it miss lines added (and removed again) in between...

bagder,
@bagder@mastodon.social avatar

I tweaked made my script to use git blame -CCC instead, which actually made it end up with more authors left. It also made the script MUCH slower 😁

I decided to drop the plot for how many that was "gone" because it was not possible to make it correct and it made delta-updates of the graph quite impossible.

freezombie,
@freezombie@masto.ai avatar

@bagder What happened in 2010? GitHub?

bagder,
@bagder@mastodon.social avatar

@freezombie git. We switched over from CVS and thus we started to properly track authors in ways CVS could not

laalsaas,

@bagder what happened in 2023? There is a raise in former authors and a dent in authors.

bagder,
@bagder@mastodon.social avatar

@laalsaas I think we might be seeing @icing's refactors there

mid_kid,
@mid_kid@fosstodon.org avatar

@bagder I think it's interesting that only 1/5th of the authors had their work fully replaced. I wonder how many of those are drive-by oneliner commits.

bagder,
@bagder@mastodon.social avatar

@mid_kid we know >60% of our authors are single-time committers, so I would assume that would be visible among these numbers too, give or take

mrFred489,
@mrFred489@fosstodon.org avatar

@bagder I guess the "removed all traces" part is on lines most recently changed by the author, shown by git blame. So refactoring work could remove a persons contribution while their work is still providing value to curl.

bagder,
@bagder@mastodon.social avatar

@mrFred489 oh absolutely. A contribution took the work forward. Then someone else can build on that and take it further, and sometimes a subsequent step ends up changing all lines of a previous author. Does not take away the help the original author brought!

Ericlaw,
@Ericlaw@mastodon.social avatar

@bagder Anti-motivational?

bagder,
@bagder@mastodon.social avatar

@Ericlaw how so? I figure it is just (interesting) numbers.

icing,
@icing@chaos.social avatar

@bagder @Ericlaw I believe "removed" is often not correct as well. Often, a line is touched or just moved. Does it then disappear in your stats?

bagder,
@bagder@mastodon.social avatar

@icing @Ericlaw right, "replaced" is perhaps a better word. Or "improved"

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • tacticalgear
  • DreamBathrooms
  • InstantRegret
  • magazineikmin
  • osvaldo12
  • Youngstown
  • ngwrru68w68
  • slotface
  • everett
  • rosin
  • thenastyranch
  • kavyap
  • GTA5RPClips
  • modclub
  • JUstTest
  • normalnudes
  • cubers
  • ethstaker
  • mdbf
  • Durango
  • khanakhh
  • tester
  • provamag3
  • cisconetworking
  • Leos
  • anitta
  • megavids
  • lostlight
  • All magazines