Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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?


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.


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...



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


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


> git log --graph; not sure what the mercurial equivalent is,

`hg log --graph` works




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: