News for hackers. Stuff that matters.
Re:Show HN: Git Heat Map – a tool for visualising git repo a... by jmforsythe on Saturday January 28, 2023 @09:46PM (#34564366)
Thanks for the feedback, I'll try to add instructions for the sh files and the python version. This is still very much a WIP so I'm not going to look into docker just yet.

For the highlighting, currently only a single email pattern input is supported. Type in your pattern into the box at the bottom, then click submit. The pattern gets fed into a LIKE statement in SQLite, so just plaintext, with % representing a wildcard eg torvalds% would highlight files modified by an email starting with torvalds.

Re:Show HN: Git Heat Map – a tool for visualising git repo a... by matt_trentini on Saturday January 28, 2023 @10:33PM (#34564603)
Looks great! Thanks for your work on this.

I had the same minor install issue, specifically needed to do the following:

  >chmod +x git-log-format.sh generate-db.sh
  >python -m venv .venv
  >source .venv/bin/activate
  >pip install flask
I'm not sure the colouring is working as expected; I tried submitting with many email addresses I know are in the repo it ran over (with/out the wildcard) and the highlighting behaviour was difficult to predict.
Re:Show HN: Git Heat Map – a tool for visualising git repo a... by jmforsythe on Saturday January 28, 2023 @10:39PM (#34564640)
Do you mind sharing what specifically the colouring is doing, and what you expect it to be doing?
Re:Show HN: Git Heat Map – a tool for visualising git repo a... by thrdbndndn on Sunday January 29, 2023 @04:48AM (#34566520)
i'm not sure why it needs sh to begin with.

At a glance the sh script can be trivially replaced by native python. And it would make it work cross-platform (i.e. on Windows).