Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dep Support #93

Merged

Conversation

akutz
Copy link
Contributor

@akutz akutz commented Aug 24, 2017

This patch fixes issue #91 by adding support for the official Go dependency tool, Dep. The solution is a nearly-empty Go source file at lib/go/csi.go that defines a package with no functional code. However, this package will enable the ability to nil-import github.com/container-storage-interface/spec/lib/go so that the Dep tool discovers a valid Go package (a directory with one or more Go sources in it).

For information on why the resolution is not to simply import github.com/container-storage-interface/spec/lib/go/csi please see issue #91.

This patch fixes issue container-storage-interface#91 by adding support for the official Go
dependency tool, Dep. The solution is a nearly-empty Go source file at
"lib/go/csi.go" that defines a package with no functional code. However,
this package will enable the ability to nil-import
"github.com/container-storage-interface/spec/lib/go" so that the Dep
tool discovers a valid Go package (a directory with one or more Go
sources in it).

For information on why the resolution is not to simply import
"github.com/container-storage-interface/spec/lib/go/csi" please see
issue container-storage-interface#91.
@saad-ali
Copy link
Member

LGTM!

@saad-ali saad-ali merged commit 3d3dea4 into container-storage-interface:master Aug 24, 2017
@saad-ali saad-ali mentioned this pull request Aug 24, 2017
@akutz akutz mentioned this pull request Sep 21, 2017
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.

None yet

2 participants