Re:Show HN: Git Heat Map – a tool for visualising git repo a...
by jmforsythe on Saturday January 28, 2023 @09:02PM
(#34564115)
What exactly do you mean? The README describes how to run the website, and how to mentions the only dependency.
[ Parent
| on HN ]
Re:Show HN: Git Heat Map – a tool for visualising git repo a...
by aren55555 on Saturday January 28, 2023 @09:38PM
(#34564329)
After cloning, I had to change the perms of the .sh files, install flask via pip and hope for the best. I wasn't sure what Python version to use, I used some 3.x. It would be really nice if this was fully containerized and I could launch in docker/podman.
Also I wasn't sure how to get the colors :shrug:
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).