News for hackers. Stuff that matters.
Re:3.5 Years, 500k Lines of Go by rogpeppe1 on Friday March 24, 2017 @10:55AM (#13949285)
The godeps file is just a dependency-per-line, tab-separated values, deliberately so it's easily amenable to shell script processing.

Aside: the conflicts mentioned in the article should never be a real problem because you can always resolve the conflict by just recreating the dependences.tsv file (you should never be editing it manually anyway).

Re:3.5 Years, 500k Lines of Go by NateDad on Friday March 24, 2017 @11:14AM (#13949422)
That's not exactly true, Rog. If two people have changed the file, which causes a conflict, then you have resolve the conflict manually. Recreating the file with godeps would populate it with whatever commit happens to be in your gopath right now, which has no relevance to what is conflicted in the file and could be a completely different hash.
Re:3.5 Years, 500k Lines of Go by rogpeppe1 on Friday March 24, 2017 @01:53PM (#13950809)
I tend to check out one branch, run godeps -u, then check out the other one and run godeps -N -u. Then you've got the newest deps from both branches. I still wouldn't resolve the conflict manually.
Re:3.5 Years, 500k Lines of Go by NateDad on Friday March 24, 2017 @02:16PM (#13950978)
TIL I learned about godeps -N.... a month too late :) Cool, though, that definitely would help with that problem.