News for hackers. Stuff that matters.
Re:Microsoft and GitHub team up to take Git virtual file sys... by _s on Friday November 17, 2017 @04:49PM (#15726278)
Would you be willing to elaborate on the pros/cons of mono repos vs what git encourages? It seems to just be the wrong fit for a given use case, but works very well others.
Re:Microsoft and GitHub team up to take Git virtual file sys... by ed_blackburn on Friday November 17, 2017 @05:06PM (#15726396)
That's a good and valid point, which deserves a conversation undoubtedly - however, there are a lot of businesses out there who have a large monolith, legacy application gigabytes in size where the cost of slicing and dicing into smaller repositories has to be driven by requirements and not technology.

My current client has a 17-year-old multi Gb TFS monolith. New components go into git and as features evolve it's common for the respective team to hive them off into they're own git repos as stand-alone components. Nevertheless TFS is painful and if I could have an effective git repo with the monolith too, then life would be far easier.

Re:Microsoft and GitHub team up to take Git virtual file sys... by ryanisnan on Friday November 17, 2017 @07:58PM (#15727186)
Is there a way to split a TFS repository, surely you no longer need the past 10 years of commit history on a daily basis - archive it or something?

Also how feasible is migrating from TFS to Git?

Re:Microsoft and GitHub team up to take Git virtual file sys... by Merad on Saturday November 18, 2017 @12:19AM (#15727871)
Very, thanks to git-tfs [1]. My company is in the midst of a move from on premise TFS/TFVC to cloud based VSTS/git. We've run into some projects that managed to somehow mangle their branch history so to the point that we gave up and only migrated the current checkin to git, but most projects pull out the full history and all branches with no trouble.

The only real complaint I have is speed. Dunno if it's our TFS server or the nature of TFS, but every checkin pulled into git takes anywhere from 5-30 seconds. In large projects with long histories you can easily spend 30+ minutes exporting history before running into a problem that prevents the export from completing.

[1]: https://github.com/git-tfs/git-tfs

Re:Microsoft and GitHub team up to take Git virtual file sys... by josteink on Saturday November 18, 2017 @02:22AM (#15728135)
> In large projects with long histories you can easily spend 30+ minutes exporting history before running into a problem that prevents the export from completing.

If it makes you feel any better I had to spend two continuous weeks exporting our huge TFS monolith before I managed to have a working git copy.

But yeah, Git-TFS is a godsend.