4 ms·
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
by _s 9y ago
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.
- ed_blackburn 9y agoThat'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.
- ryanisnan 9y agoIs 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?
- Merad 9y agoVery, 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 https://github.com/git-tfs/git-tfs
- josteink 9y ago> 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.