Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

Warn when project constraint is missing in Gopkg.toml #1336

@darkowlzz

Description

@darkowlzz

For every project in Gopkg.toml, there should be a constraint (branch, version or revision). A project without any constraint doesn't tell anything useful to dep.

For example, Gopkg.toml with a project:

[[constraint]]
  name = "github.com/x/y"

should result in warning during manifest validation and tell the user to add a branch/version/revision constraint.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions