Re:Sourcehut's Year in Alpha
by juped on Friday November 15, 2019 @11:16AM
(#21546040)
Sourcehut needs a graphical history view (akin to gitk or git log --graph; not sure what the mercurial equivalent is, definitely NOT ANYTHING LIKE that "network graph" github has) to be feature complete. I'd contribute but I have more free money than free time; is there some kind of bounty program?
[ Parent
| on HN ]
There's no bounty program (or way to financially incentivise particular features at all, really), but since it's an open-source project and accepts third-party patches, you could consider hiring any freelancer to put in the work. Send them to #sr.ht on irc.freenode.net and I'll show them the ropes.
Re:Sourcehut's Year in Alpha
by mikepurvis on Friday November 15, 2019 @12:05PM
(#21546510)
Bitbucket's version of this is still my favourite. I love that it's just right there in the all commits view:
https://bitbucket.org/osrf/gazebo/commits/all
Vs Github and GitLab where you have to go to a special separate network/graph page to see it, eg:
https://gitlab.com/gitlab-org/gitter/sidecar/-/network/devel...
Yeah, Bitbucket's view is just gitk on the web, which is exactly how I like it.
Wow, really beautiful! I wonder how do they do these graphs...
Here is one exploration of commit graph drawing: https://pvigier.github.io/2019/05/06/commit-graph-drawing-al...
That repository maintainer should've octopus merged those commits in the example...
If you're into reading C code, you could probably check how git's `git log --graph` is implemented: https://github.com/git/git/blob/master/graph.c
Re:Sourcehut's Year in Alpha
by ISO-morphism on Friday November 15, 2019 @06:24PM
(#21549761)
A git alias I found somewhere that I really like for displaying a history graph similar to bitbucket's:
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative