Skip to content
This repository was archived by the owner on Jan 24, 2019. It is now read-only.

Fix dep warning on unused hmacauth import.#577

Open
jmcarp wants to merge 1 commit intobitly:masterfrom
jmcarp:fix-hmacauth-warning
Open

Fix dep warning on unused hmacauth import.#577
jmcarp wants to merge 1 commit intobitly:masterfrom
jmcarp:fix-hmacauth-warning

Conversation

@jmcarp
Copy link
Copy Markdown
Contributor

@jmcarp jmcarp commented Mar 31, 2018

The Gopkg.toml file requires github.com/18F/hmacauth, but the lockfile and source code import github.com/mbland/hmacauth. This leads to a warning on dep ensure:

Warning: the following project(s) have [[constraint]] stanzas in Gopkg.toml:

  ✗  github.com/18F/hmacauth

However, these projects are not direct dependencies of the current project:
they are not imported in any .go files, nor are they in the 'required' list in
Gopkg.toml. Dep only applies [[constraint]] rules to direct dependencies, so
these rules will have no effect.

This patch fixes Gopkg.toml to require the hmacauth library at its new home with @mbland.

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant