News for hackers. Stuff that matters.
Re:Show HN: Git Timeline Generator – Visualize contributions... by Jenk on Tuesday May 31, 2022 @02:33PM (#31573095)
For something more abstract and "pretty":

I've used gource[0] in the past to visualise the growth of a product to org members outside of tech.

One particular success story for was contributing to a presentation showing how the tech dept had made a success of expansion. It got some audible "ooo"s like a fireworks display does

[0]: https://gource.io/

Re:Show HN: Git Timeline Generator – Visualize contributions... by arraypad on Wednesday June 01, 2022 @08:48AM (#31581043)
Gource is great indeed, it can be really mesmerising watching projects with long histories.

To add a couple of "pretty" alternatives (full disclosure: both mine):

- Repography[0] makes posters from the same data, with a few different designs

- Work/Artwork[1] is the same concept but even more abstract

[0]: https://repography.com/

[1]: https://workartwork.org/

Re:Show HN: Git Timeline Generator – Visualize contributions... by Jenk on Wednesday June 01, 2022 @09:15AM (#31581358)
Very nice!
Re:Show HN: Git Timeline Generator – Visualize contributions... by Rychard on Tuesday May 31, 2022 @06:00PM (#31575460)
Might I recommend using the following command to generate the CSV file:

    git log --full-history --date=short --pretty=format:"%ad,%aN" > gitlog.csv
The only difference is changing %an to %aN. This leverages the existence of the .mailmap file to resolve author names, which is especially handy if any committers have ever changed their `user.email` configuration, and you'd like to associate them together.
Re:Show HN: Git Timeline Generator – Visualize contributions... by Sujan on Tuesday May 31, 2022 @02:30PM (#31573052)
This is super nice.

Used Gitpod to quickly run the Git command on our two repos prisma/prisma (https://gitpod.io/#https://github.com/prisma/prisma) and prisma/prisma-engines, downloaded the files, then spent 5 minutes to remove some bots and combine some users, and tadaaa: https://www.preceden.com/git/prisma-prisma-contributors/8303... + https://www.preceden.com/git/prisma-engines-contributors/830...

Re:Show HN: Git Timeline Generator – Visualize contributions... by wuliwong on Tuesday May 31, 2022 @04:04PM (#31574249)
I worked at a startup a number of years back where we had some pretty cool timeline software. I always tried to push using git and github integrations as our goto market product. I got shutdown though. :) We also were integrating Slack and pivotal tracker as well; it really was a novel way to look at all the data.

They never did find a product-market fit though. It really was more a case of analysis paralysis versus not finding a fit. We never really even attempted to launch a product the two years I was there. I think they could have found a fit if they took more of the lean approach to try something, get feedback, and iterate.

Re:Show HN: Git Timeline Generator – Visualize contributions... by michaelmure on Tuesday May 31, 2022 @03:52PM (#31574091)
One thing I've always wanted to see visualized if how the distribution of authorship of code evolve over time. Who wrote most of the code? Does that code remains or does it get rewritten? Who wrote the most foundational and time resistant code?
Re:Show HN: Git Timeline Generator – Visualize contributions... by mfontani on Tuesday May 31, 2022 @05:07PM (#31574967)
Re:Show HN: Git Timeline Generator – Visualize contributions... by sangupta on Tuesday May 31, 2022 @04:07PM (#31574284)
This would be pretty interesting.
Re:Show HN: Git Timeline Generator – Visualize contributions... by ncann on Tuesday May 31, 2022 @03:53PM (#31574101)
This is only limited to the top 50 contributors?

Also would be nice if the lines are sorted by last commit date, so that we can see a cascade graph of people joining/leaving the project as time goes by.

Re:Show HN: Git Timeline Generator – Visualize contributions... by matt1 on Tuesday May 31, 2022 @03:56PM (#31574151)
Creator here. As you realized, it is limited to top 50 contributors and is automatically sorted by descending commit count.

Love the suggestions for tweaking this behavior - added them to my todo list. Thank you for the feedback!

Re:Show HN: Git Timeline Generator – Visualize contributions... by avgcorrection on Tuesday May 31, 2022 @04:43PM (#31574711)
Will this work with commit name "Average Correction, Esquire"? Does it support tab as a separator?
Re:Show HN: Git Timeline Generator – Visualize contributions... by matt1 on Wednesday June 01, 2022 @10:38AM (#31582412)
The git log command will generate a comma-separated file which is what the tool expects. The CSV won't include commit messages.
Re:Show HN: Git Timeline Generator – Visualize contributions... by avgcorrection on Wednesday June 01, 2022 @11:26AM (#31583259)
I said commit name. Not commit message.

Maybe I should have said committer name.

Re:Show HN: Git Timeline Generator – Visualize contributions... by mixcocam on Tuesday May 31, 2022 @04:55PM (#31574833)
This is built into fossil-scm
Re:Show HN: Git Timeline Generator – Visualize contributions... by smusamashah on Tuesday May 31, 2022 @04:26PM (#31574491)
I thought it will be doing it locally, it uploads the CSV to server. Please also provide a way to delete the timeline.
Re:Show HN: Git Timeline Generator – Visualize contributions... by matt1 on Tuesday May 31, 2022 @05:06PM (#31574951)
Drop me a note and I'd be happy to delete it: [email protected]. Eventually will build a way to do this in-app too.