News for hackers. Stuff that matters.
Re:Announcing GVFS: Git Virtual File System by tambourine_man on Friday February 03, 2017 @10:45AM (#13560550)
It's interesting how all the cool things seem to come from Microsoft these days.

I still think we need something better than Git, though. It brought some very cool ideas and the inner workings are reasonably understandable, but the UI is atrociously complicated. And yes, dealing with large files is a very sore point.

I'd love to see a second attempt at a distributed version control system.

But I applaud MS's initiative. Git's got a lot of traction and mind share already and they'd probably be heavily criticized if they tried to invent its own thing, even if it was open sourced. Will take a long time to overcome its embrace, extend and extinguish history.

Re:Announcing GVFS: Git Virtual File System by Analemma_ on Friday February 03, 2017 @11:48AM (#13561113)
> I still think we need something better than Git, though. It brought some very cool ideas and the inner workings are reasonably understandable, but the UI is atrociously complicated. And yes, dealing with large files is a very sore point.

Note that Google and Facebook ran into the same problems Microsoft did, and their solution was to use Mercurial and build similar systems on top of it. Microsoft could've done that too, but instead decided to improve Git, which deserves some commendation. I'd rather Git and hg both got better rather than one "taking over".

Re:Announcing GVFS: Git Virtual File System by aanm1988 on Friday February 03, 2017 @12:08PM (#13561281)
Google uses some variant of perforce, just like MS has been doing.
Re:Announcing GVFS: Git Virtual File System by voxic11 on Friday February 03, 2017 @12:42PM (#13561564)
They used to, but now they use Piper which is built on top of mercurial.
Re:Announcing GVFS: Git Virtual File System by delroth on Friday February 03, 2017 @12:53PM (#13561664)
Piper is not built on top of Mercurial.
Re:Announcing GVFS: Git Virtual File System by voxic11 on Friday February 03, 2017 @01:01PM (#13561749)
Sorry, you are right, I got it confused with some other work Google was doing to improve the scalability of mercurial. It's not based on perforce though either, appears to be entirely custom technology.
Re:Announcing GVFS: Git Virtual File System by stp-ip on Friday February 03, 2017 @03:46PM (#13563153)
They first outgrew git, then outgrew perforce and implemented a custom server on top of their usual storage/database stack.
Re:Announcing GVFS: Git Virtual File System by severino on Friday February 03, 2017 @01:58PM (#13562229)
> Microsoft could've done that too, but instead decided to improve Git,

They didn't improve git, they only made this for themselves and for their product users. Git doesn't restrict you to a single operating system.

Re:Announcing GVFS: Git Virtual File System by Kipters on Friday February 03, 2017 @07:41PM (#13564759)
Look at Issue 4 on their GitHub repo, they want to port it also to Linux and macOS
Re:Announcing GVFS: Git Virtual File System by askvictor on Friday February 03, 2017 @04:04PM (#13563294)
> They didn't improve git, they only made this for themselves and for their product users. Git doesn't restrict you to a single operating system.

Given Microsoft's recent form, I'd expect this to appear on Linux before long, and possibly osx too. In any case, it's open source so you could always port it yourself.

Re:Announcing GVFS: Git Virtual File System by Sir_Cmpwn on Friday February 03, 2017 @04:25PM (#13563465)
I would be surprised. This sort of project is deeply OS-specific. If they wanted to eventually make it cross-platform, they would have started by implementing FUSE on Windows.
Re:Announcing GVFS: Git Virtual File System by zintinio5 on Friday February 03, 2017 @08:08PM (#13564925)
Several years ago a friend and I had a need to build a virtual file system that was portable between Linux and Windows. At the very least, we attempted to share as much code as possible. It proved to be pretty easy and we had a working prototype after about 30 hours of work. We used FUSE on Linux, and Dokan FUSE on Windows.

[1] https://dokan-dev.github.io/

[2] https://github.com/dokan-dev/dokany/wiki/FUSE

Re:Announcing GVFS: Git Virtual File System by severino on Friday February 03, 2017 @04:34PM (#13563531)
> In any case, it's open source so you could always port it yourself

Of course, but that would be me, and not Microsoft, who's improving git ;-)

Re:Announcing GVFS: Git Virtual File System by verytrivial on Friday February 03, 2017 @12:03PM (#13561235)
> It's interesting how all the cool things seem to come from Microsoft these days.

I've assumed Microsoft have been making all this stuff all along, but keeping it internal then throwing it away on the probably false assumption that every bit of it is some sort of competitive advantage. I think they're coming around to the idea that at least appearing constructive and helpful to the developer community will help with trying to hire good developers.

Re:Announcing GVFS: Git Virtual File System by sytse on Friday February 03, 2017 @11:22AM (#13560866)
Maybe something that has the data models of git but has a more consistent interface? Today on Git Merge there was a presentation about http://gitless.com/

For example one of the goals is to always allow you to switch branches. Stash and stash pop would happen automatically and it would even work if you're in the middle of a merge.

Re:Announcing GVFS: Git Virtual File System by Ajedi32 on Friday February 03, 2017 @11:54AM (#13561164)
I'm still waiting for a decent GUI that takes full advantage of the simplicity of git's underlying data model. The CLI is okay and I've gotten really good with it, but fundamentally I think git's DAG is something that would be best represented and manipulated graphically.

[Reinventing the Git Interface][1] was written almost 3 years ago now and yet to my knowledge nobody's implemented anything quite like that yet.

[1]: http://tonsky.me/blog/reinventing-git-interface/

Re:Announcing GVFS: Git Virtual File System by daxelrod on Friday February 03, 2017 @09:18PM (#13565248)
Git Kraken has some neat ideas around dragging bits of the DAG around to manipulate them.
Re:Announcing GVFS: Git Virtual File System by Ajedi32 on Monday February 06, 2017 @10:06AM (#13580026)
Yeah, I've been meaning to try that for a while now. Unfortunately I can't use it at work because Kraken still don't support connecting to the internet through a proxy, and they won't let you use it offline.
Re:Announcing GVFS: Git Virtual File System by StavrosK on Friday February 03, 2017 @11:24AM (#13560882)
I quite love both the motivation and the implementation of gitless (and the choices they've made). I find it much more usable than git.
Re:Announcing GVFS: Git Virtual File System by tambourine_man on Friday February 03, 2017 @11:44AM (#13561074)
I'd never heard of Gitless, I'll check it out, thanks.
Re:Announcing GVFS: Git Virtual File System by coherentpony on Friday February 03, 2017 @11:24AM (#13560881)
> I'd love to see a second attempt at a distributed version control system.

Out of curiosity, why a whole new attempt? Personally, I'd prefer the approach of "making our current tools better."

Re:Announcing GVFS: Git Virtual File System by gumby on Friday February 03, 2017 @12:02PM (#13561230)
"Let a thousand flowers bloom." Competition helps both sides. Clang became good enough that it spurred GCC to become a lot better.

Until 1997, forking a project was considered a tragedy. I think things have improved since then :-).

Re:Announcing GVFS: Git Virtual File System by coherentpony on Friday February 03, 2017 @12:38PM (#13561535)
Fair point.
Re:Announcing GVFS: Git Virtual File System by moosingin3space on Friday February 03, 2017 @03:22PM (#13562970)
What are your thoughts on Pijul? (https://pijul.org)
Re:Announcing GVFS: Git Virtual File System by madgar on Saturday February 04, 2017 @02:41PM (#13568620)
I'd love to dig into Pijul but sadly it's AGPL. Just looking at the code effectively taints me as a developer who works tangentially to VCS - it could be argued that my work is derivative and thus needs to be AGPLed. The viral nature of the license then creates an existential legal risk to my employer.
Re:Announcing GVFS: Git Virtual File System by ska on Friday February 03, 2017 @12:00PM (#13561209)

   I'd love to see a second attempt at a distributed version control system.

Git wasn't the first, and even then had several contemporaries at 2nd gen.
Re:Announcing GVFS: Git Virtual File System by toyg on Friday February 03, 2017 @12:19PM (#13561382)
Yup. I remember when git came along the field was already pretty crowded (DVCS, Darcs, Bazaar, BitKeeper, Mercurial...). I've always suspected Linus wrote git in a panic simply to sidestep the months of flames that switching VCS again would have inevitably generated, once BitKeeper stopped being viable. I also remember people jumping at the occasion like they would have never done to improve someone else's tool.

The story of git is a good case-study for people interested in group dynamics.

Re:Announcing GVFS: Git Virtual File System by WorldMaker on Friday February 03, 2017 @02:03PM (#13562263)
I agree, the story of git is a good group dynamics case-study. I watched a small bit of it from mailing lists at times.

I was a heavy darcs user at the time and the impression I got was part of the name git in the first place was that it was intentionally the "dumb, dirty, get things done" answer to darcs' (sometimes problematic) smarts. (Remember, the British slang definition of git is "an unpleasant or contemptible person".)

It's also interesting that both Mercurial and git were spun out of the BitKeeper fiasco (BitKeeper was a commercial product that allowed free hosting for Open Source projects, up until the fiasco where they decided they were bored hosting Open Source) by Linux kernel members. Mercurial actually wound up with lead and if I recall correctly was much more usable faster than git was. The problems with Mercurial were that it was written in Python and git was lead by Linus himself and in the apparently more preferable to kernel hackers C, perl, bash, awk, sed, spit, and duct tape development environment.

Re:Announcing GVFS: Git Virtual File System by madgar on Saturday February 04, 2017 @02:45PM (#13568646)
The problem for Mercurial (with respect to group dynamics) was that it didn't have the built-in user base of Linux contributors right off the bat.
Re:Announcing GVFS: Git Virtual File System by WorldMaker on Monday February 06, 2017 @11:41AM (#13581166)
I briefly glossed over it, but Mercurial could have had the Linux contributors right off the back. It was built faster than git and was built with the kernel team in mind. I do think it is an interesting bit of group dynamics that the kernel team as a whole didn't adopt Mercurial (because there were kernel team members on both sides of the Mercurial/git divide), and some of that reason seemed to be, from what I read at the time, simply a dislike of Python by a surprising number of kernel team members.
Re:Announcing GVFS: Git Virtual File System by blunte on Friday February 03, 2017 @07:44PM (#13564780)
Indeed, but I also had a pause when I considered how heavily Microsoft depended on a system originally built by Linus Torvolds :)
Re:Announcing GVFS: Git Virtual File System by ma2rten on Friday February 03, 2017 @11:58AM (#13561190)
Mercurial is very similar to git but more user friendly.
Re:Announcing GVFS: Git Virtual File System by Florin_Andrei on Friday February 03, 2017 @02:35PM (#13562551)
> It's interesting how all the cool things seem to come from Microsoft these days.

It's like a whole'nother company after they got rid of Steve Ballmer.

Re:Announcing GVFS: Git Virtual File System by Piskvorrr on Saturday February 04, 2017 @04:10PM (#13569074)
Meh. If I'm watching the 3E cycle right, they're currently in the Embrace phase and heading to Extend. And it's been a cycle for a number of repetitions - it doesn't take a genius to see where it goes next.
Re:Announcing GVFS: Git Virtual File System by greyman on Friday February 03, 2017 @03:16PM (#13562924)
> but the UI is atrociously complicated

Linus himself admitted that he isnt good at UI. Anyway, I think git just wasnt designed to be used directly, but via another UI. For example, I use it within Visual Studio Code, and that covers about 90 percent of usecases, and then Git Extensions can take care of almost everything else. Sometimes cli is needed, though.

Re:Announcing GVFS: Git Virtual File System by sjellis on Sunday February 05, 2017 @04:03AM (#13571559)
Git Extensions was a fantastic project back when the idea of Microsoft supporting Git would seemed impossible. It made my life better everyday when I was a C# developer. These days, I use the Git CLI on Windows, but VS integration with Git seems good, so I haven't felt the need to install Git Extensions.

I've still not yet seen a stand-alone GUI for Git that is better than the one that ships with Git Extensions, though.

Re:Announcing GVFS: Git Virtual File System by aairey on Friday February 03, 2017 @06:08PM (#13564158)
What a change of cash-cow placement can do ...