containerd / containerd/protobuild

Add warning for files include by vendor path that should be from GOPATH

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
126
Forks
29
PR merge metrics
No merged PRs in 30d

Description

There are cases where the same file can be included relative to vendor or GOPATH. In GOPATH, they might look like this:

```
github.com/myproject/foo/vendor/github.com/otherproject/foo/foo.proto
```

As referenced through vendor, they would look as follows:

```
github.com/otherproject/foo/foo.proto
```

We should detect these cases and warn the user to use the shorter, vendored version.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.