Closed dmitshur closed 9 years ago
LGTM
When this is done being reviewed and ready to merge, I'm happy to move gopathexec
under sourcegraph
namespace if desired.
lgtm except 1 comment
Addressed the comment, PTAL.
After too much energy spent considering/looking for a portable way of using sed/perl/awk or sh or similar, I decided for the simple use of sed, it's nicer just to replace it with a 45 line Go program (which would even work on Windows).
This'll work, but I just was looking and we only use sed here (and nowhere else). We might be able to eliminate sed entirely by putting pbtypes.Timestamp
and pbtypes.Void
in the same .proto
file in github.com/sqs/pbtypes.
Since this PR works (it resolves the original issue), if it LGTY, what do you think about merging it as is, and removing gen/gorename.go
in an optional followup?
sgtm
I believe everything should work without problems (make note of the updated steps in the README) from now on. Please report any issues if you do encounter them.
I've created a similar change for srclib at https://github.com/sourcegraph/srclib/pull/177.
Add support for running go generate successfully on OS X.
Add support for running go generate with multiple GOPATH workspaces.