Skip to content

docs: No need to change GOPATH to use vendored code - #1587

Merged
dmp42 merged 1 commit into
distribution:masterfrom
aaronlehmann:build-docs
Mar 31, 2016
Merged

dmp42 merged 1 commit into
distribution:masterfrom
aaronlehmann:build-docs

Conversation

@aaronlehmann

Copy link
Copy Markdown

Now that we are using "native" Go vendoring, there is no need to
manipulate GOPATH.

Fixes #1586

Now that we are using "native" Go vendoring, there is no need to
manipulate GOPATH.

Fixes distribution#1586

Signed-off-by: Aaron Lehmann <[email protected]>
@codecov-io

Copy link
Copy Markdown

Current coverage is 51.17%

Merging #1587 into master will decrease coverage by -6.70% as of c3ec174

@@            master   #1587   diff @@
======================================
  Files          122     122       
  Stmts        10659   10637    -22
  Branches       841     748    -93
  Methods          0       0       
======================================
- Hit           6169    5444   -725
+ Partial        841     748    -93
- Missed        3649    4445   +796

Review entire Coverage Diff as of c3ec174


Uncovered Suggestions

  1. +0.31% via .../driver/s3-aws/s3.go#730...761
  2. +0.29% via .../driver/s3-aws/s3.go#266...295
  3. +0.22% via .../driver/s3-aws/s3.go#882...904
  4. See 7 more...

Powered by Codecov. Updated on successful CI builds.

@RichardScothern

Copy link
Copy Markdown

LGTM 👏

@dmp42
dmp42 merged commit 2c803d6 into distribution:master Mar 31, 2016
Comment thread docs/building.md
The above approaches are helpful for small experimentation. If more complex
tasks are at hand, it is recommended to employ the full power of `godep`.

The Makefile is designed to have its `GOPATH` defined externally. This allows

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This statement should not have been removed. This declares the intent of the Makefile in this project. The parts about godep can be removed, but the idea that GOPATH is external to the Makefile is still valid.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All this is related to dep management, which is no longer required with go 1.6.
I tend to think removing this was right.
wdyt?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it is about using GOPATH to affect external dependencies. This is highly relevant for development, especially when adding new dependencies.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would expect people adding new dependencies to be seasoned enough in go to consider this trivial information. wdyt?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The temptation to manipulate GOPATH is strong. Even the seasoned Go developer can be lured by such a curse.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hahaha :P "The return of the GOPATH curse" would make an excellent cheesie movie title.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants