4 ms·
Unless you import a dependency which totals several hundred thousand lines of code.
by fsociety 3y ago
Unless you import a dependency which totals several hundred thousand lines of code.
- tonyhb 3y agoMake your git commit history good? `go mod vendor` in a separate commit to your PR changes. Review the commit with local code changes. Easy.
- justinclift 3y agoThat's not totally without cost though, as it can break workflows that cherry pick commits between branches. eg main/master branch vs stable release branches
- ownagefool 3y agoI don't think anyone is saying it's without cost, just that there are certain circumstances where you might want to bare the cost. There's a generic question of how you build confidence in your dependcies not being compromised, and there's steps you can take to mitigate that without reading code, but if everyone was adopting that stance then we'd likely have no mitigations