News for hackers. Stuff that matters.
Re:Linus Torvalds: Git proved I could be more than a one-hit... by xamuel on Friday November 01, 2019 @09:16AM (#21418386)
It's really astonishing to see all the recent drama around GitHub/GitLab. Hard to believe those are multibillion dollar companies when their entire existence can be summed up as "Filling in some gaps in git". Like, if Linus Torvalds would just dedicate a few months and build that functionality directly into git, both those companies' value propositions would fall off the face of the earth.

Edit: I mean, their value propositions to internal teams would disappear. They would still have value as social networks and as centralized hosting.

Re:Linus Torvalds: Git proved I could be more than a one-hit... by excalibur on Friday November 01, 2019 @09:25AM (#21418473)
GitHub is like half social network and half hosting service. I don't see these as features that should or could be built into git itself.
Re:Linus Torvalds: Git proved I could be more than a one-hit... by np_tedious on Friday November 01, 2019 @09:20AM (#21418416)
Idk if "gaps" is fair. Building a web UI into git would go quite against the "do one thing well" unix philosophy. And even then, hosting services would still be a thing
Re:Linus Torvalds: Git proved I could be more than a one-hit... by phonethrowaway on Friday November 01, 2019 @09:24AM (#21418465)
But git already has a built in webserver...

https://git-scm.com/book/en/v2/Git-on-the-Server-GitWeb

Re:Linus Torvalds: Git proved I could be more than a one-hit... by tinix on Friday November 01, 2019 @02:50PM (#21422426)
Yes! This has been there for over a decade! And since there have been hundreds of alternative UI tools that build upon this same tooling.

How are people here saying they've never heard of this? Oof... Typical developers, not even familiar with their tools.

Re:Linus Torvalds: Git proved I could be more than a one-hit... by obituary_latte on Friday November 01, 2019 @09:34AM (#21418562)
TIL! Thanks! Interesting, though, that it doesn't appear to work with MacOS built-in apache (webrick works fine though).
Re:Linus Torvalds: Git proved I could be more than a one-hit... by tinix on Friday November 01, 2019 @02:31PM (#21422218)
Can you run it with python's built in http server? That's native on all OSX installs.

I believe OSX ships with Python2 by default, right?

https://docs.python.org/2/library/cgihttpserver.html

Hmm...

Re:Linus Torvalds: Git proved I could be more than a one-hit... by obituary_latte on Sunday November 03, 2019 @05:04AM (#21433048)
Yup MacOS ships with python. I didn’t try a python server since the ruby webrick server worked fine I just found it curious Apache didn’t work since it also ships in the OS.
Re:Linus Torvalds: Git proved I could be more than a one-hit... by rkuykendall-com on Friday November 01, 2019 @11:35AM (#21419893)
The fact that this is news to people here is confirmation that it was a mistake.
Re:Linus Torvalds: Git proved I could be more than a one-hit... by tinix on Friday November 01, 2019 @02:46PM (#21422374)
I disagree, the fact that it's news to people here means people don't know their tools as well as one might assume.

Implying that it's a mistake because people don't know about it is very odd. Clearly, I know about it, as do others.

It's been possible for 10+ years to serve git repos using gitweb, and mercurial repos using hgweb. We did this in like 2007-2009ish, locally, in our LAN, among developers... because our code couldn't be pushed to a third party for... reasons.

Eventually I did setup our own internal SSH server to serve the repos, but for quick browsing of a team's repo state, using the built in HTTP server is just fine.

Re:Linus Torvalds: Git proved I could be more than a one-hit... by recursive on Friday November 01, 2019 @11:41AM (#21419971)
Are all HN stories about mistakes?
Re:Linus Torvalds: Git proved I could be more than a one-hit... by np_tedious on Friday November 01, 2019 @01:24PM (#21421387)
I definitely did not know that. Thanks!
Re:Linus Torvalds: Git proved I could be more than a one-hit... by saagarjha on Friday November 01, 2019 @09:23AM (#21418449)
I’m not sure. Git has proven that however good its core model might be, it’s pretty bad at putting a UI over it.
Re:Linus Torvalds: Git proved I could be more than a one-hit... by naringas on Friday November 01, 2019 @09:27AM (#21418491)
> both those companies' value propositions would fall off the face of the earth.

what do you think are their value propositions? I think they biggest part of their value proposition has to do with a centralized git repository as a service.

The centralized part is really important for most companies. To the point that many git users don't really understand it's decentralized nature.

Re:Linus Torvalds: Git proved I could be more than a one-hit... by xamuel on Friday November 01, 2019 @09:31AM (#21418539)
To me, the primary value propositions are: issues, merge requests, comments on issues and merge requests, related stuff like tags/milestones/etc., and the ability to expose this stuff in a friendly way to project managers who don't use the commandline.

I guess since my team uses a self-hosted instance of GitLab, I'm biased and don't put any value on the social network aspect or the hosting aspect.

Re:Linus Torvalds: Git proved I could be more than a one-hit... by zozbot234 on Friday November 01, 2019 @09:51AM (#21418740)
You could get these things by running a Phabricator istance - not much reason to pay for GitLab self-hosted version unless you really care about the support aspect and some of tgeir enterprise-focused niche features.
Re:Linus Torvalds: Git proved I could be more than a one-hit... by sneak on Friday November 01, 2019 @09:23AM (#21418447)
Social networks are not popular because of their tech stacks or their codebase being written. There are already several open source git frontends, GitLab included.

Social networks are popular because of their userbase and the ease of discovering other users and code. There is nothing you can build into a piece of client software that enables that.

Re:Linus Torvalds: Git proved I could be more than a one-hit... by cma on Friday November 01, 2019 @10:04AM (#21418923)
p2p and trust networks, but it has never been pulled off
Re:Linus Torvalds: Git proved I could be more than a one-hit... by SmellyGeekBoy on Friday November 01, 2019 @09:29AM (#21418521)
What an odd suggestion. Git follows the Unix philosophy of being designed to do one thing and do it well (concurrent version control). Building an issue tracker and more directly into it just doesn't make sense.
Re:Linus Torvalds: Git proved I could be more than a one-hit... by woodrowbarlow on Friday November 01, 2019 @09:45AM (#21418676)
perhaps, but building a suite of tools that work together (but can still work individually) would not go against that philosophy.
Re:Linus Torvalds: Git proved I could be more than a one-hit... by kerng on Friday November 01, 2019 @09:42AM (#21418647)
I think you are misrepresenting what Github actually is.
Re:Linus Torvalds: Git proved I could be more than a one-hit... by hos234 on Friday November 01, 2019 @09:39AM (#21418612)
Nothing happens in few months with one guy. Even if it's Linus Torvolds. There are 1300 contributors to the project - https://github.com/git/git