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

Check minimum rules_go version #51

Closed
jayconrod opened this issue Dec 22, 2017 · 0 comments
Closed

Check minimum rules_go version #51

jayconrod opened this issue Dec 22, 2017 · 0 comments
Labels

Comments

@jayconrod
Copy link
Contributor

With #48, Gazelle generates build files that depend on the compilers attribute of go_proto_library, which was introduced after 0.8.1. We should check that the minimum version is at least 0.9.0.

This should be checked in the gazelle rule (error) and in Gazelle itself (warning).

@jayconrod jayconrod added the bug label Dec 22, 2017
jayconrod pushed a commit to jayconrod/bazel-gazelle that referenced this issue Jan 4, 2018
* Added a small internal/version package for parsing and comparing
  versions.
* Added repo.FindExternalRepo, which locates the directory of an
  external repository. This will be used for indexing later.
* Added checkRulesGoVersion which parses RULES_GO_VERSION out of
  def.bzl and compares it to a minimum.

Fixes bazelbuild#51
jayconrod added a commit that referenced this issue Jan 5, 2018
* Added a small internal/version package for parsing and comparing
  versions.
* Added repo.FindExternalRepo, which locates the directory of an
  external repository. This will be used for indexing later.
* Added checkRulesGoVersion which parses RULES_GO_VERSION out of
  def.bzl and compares it to a minimum.

Fixes #51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant