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

Update dependency io_bazel_rules_go to v0.16.1 #152

Merged
merged 1 commit into from
Nov 4, 2018

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 29, 2018

This PR contains the following updates:

Package Type Update Change References
io_bazel_rules_go http_archive minor 0.15.3 -> 0.16.1 source

Release Notes

bazelbuild/rules_go

v0.16.1

Compare Source

Bug fixes

  • #​1776 Exclude srcs and their runfiles from Go rule runfiles
  • #​1778 nogo: write vet.cfg to random temporary configuration file
  • #​1783 Fix execute arguments to use list (thanks @​mauriciogg)
  • #​1785 De-duplicate dependencies with the same import path

Updated dependencies

  • org_golang_x_tools updated to master as of 2018-10-22. We've also added go_tool_library targets for analysis packages and their dependencies for use with nogo.

WORKSPACE code

To use this release, add this code to your WORKSPACE file:

http_archive(
    name = "io_bazel_rules_go",
    url = "https://github.com/bazelbuild/rules_go/releases/download/0.16.1/rules_go-0.16.1.tar.gz",
    sha256 = "f5127a8f911468cd0b2d7a141f17253db81177523e4429796e14d429f5444f5f",
)
load("@​io_bazel_rules_go//go:def.bzl", "go_rules_dependencies", "go_register_toolchains")
go_rules_dependencies()
go_register_toolchains()

v0.16.0

Compare Source

Changes

  • nogo is a new framework for running static analysis as part of Bazel builds. Developers can write their own analyzers which run alongside the compiler on each Go package. Analyzers may stop the build when they detect problems.
    • nogo can run go vet as a separate subprocess. We intend to migrate vet to the analysis framework in the future.
    • nogo is experimental, and its interface may change over the next few releases. Please try it out and give us feedback though.
    • Thanks to Samuel Tan (@​stjj89) for implementing nogo for Bazel, and thanks to Alan Donovan (@​alandonovan) for creating the analysis framework nogo is based on, golang.org/x/tools/go/analysis.
  • rules_go now uses the new cc_common module to collect C / C++ flags. This ensures compatibility with future versions of Bazel, since the CROSSTOOL-related fields in CcToolchainInfo are being removed soon.
  • Because of the above change the minimum supported version of Bazel is now 0.17.2.
  • go_download_sdk now supports goos and goarch attributes. These may be useful for remote execution when your execution platform is different from your host platform.
    • The other SDK rules will automatically detect the platform of the SDK instead of detecting the host platform.
  • Cgo now declares internal targets in each supported mode that influences the selection of source files and dependencies with build constraints.
    • This means binaries that set goos, goarch, race, or msan attributes and incorporate cgo code are more likely to be correct. Please continue to use --platforms and other command-line flags for configuration instead though, if possible.
    • Unfortunately, analysis is about 15% slower because of the extra targets. We hope to improve this by integrating cgo compilation into the go_library rule itself, but this will take time.
  • Arm64 is now supported automatically (thanks to @​ArielleA).

Updated dependencies

  • org_golang_x_tools (golang.org/x/tools) has been updated to master as of 2018-09-18.
  • org_golang_x_net (golang.org/x/net) has been updated to master as of 2018-09-28.
  • org_golang_x_sys (golang.org/x/sys) has been updated to master as of 2018-09-28.
  • com_github_golang_protobuf (github.com/golang/protobuf) has been updated to v1.2.0.
  • org_golang_google_grpc (google.golang.org/grpc) has been updated to v1.15.0.
  • org_golang_google_genproto (google.golang.org/genproto with pre-generated files) has been updated to master as of 2018-09-28.
  • go_googleapis (github.com/googleapis/googleapis a.k.a. google.golang.org/genproto with build-time-generated files) has been updated to master as of 2018-09-28.
  • See Overriding dependencies if you need a different version of any of these.

WORKSPACE code

To use this release, add this code to your WORKSPACE file:

http_archive(
    name = "io_bazel_rules_go",
    url = "https://github.com/bazelbuild/rules_go/releases/download/0.16.0/rules_go-0.16.0.tar.gz",
    sha256 = "ee5fe78fe417c685ecb77a0a725dc9f6040ae5beb44a0ba4ddb55453aad23a8a",
)
load("@​io_bazel_rules_go//go:def.bzl", "go_rules_dependencies", "go_register_toolchains")
go_rules_dependencies()
go_register_toolchains()

v0.15.6

Compare Source

Bug fixes

  • #​1776 Exclude srcs and their runfiles from Go rule runfiles
  • #​1785 De-duplicate dependencies with the same import path

WORKSPACE code

To use this release, add this code to your WORKSPACE file:

http_archive(
    name = "io_bazel_rules_go",
    url = "https://github.com/bazelbuild/rules_go/releases/download/0.15.6/rules_go-0.15.6.tar.gz",
    sha256 = "b5e0265cb999f397953be8c22db06428785c398ef3e94051c7f575ddfc294a23",
)
load("@​io_bazel_rules_go//go:def.bzl", "go_rules_dependencies", "go_register_toolchains")
go_rules_dependencies()
go_register_toolchains()

v0.15.5

Compare Source

Bug fixes

  • #​1768 - Migrate to cc_common for collecting C/C++ paths and options
  • #​1767 - lcov_merger: workaround for Bazel 0.18.0 coverage
  • #​1764 - Use a more unique name for the cover variable
  • #​1757 - Use absolute paths to make GoPack work on Windows
  • #​1754 - Define the toolchain_type target used by go rules.

NOTE: The minimum Bazel version for this release is now 0.17.2 because cc_common is not available in older versions.

WORKSPACE code

To use this release, add this code to your WORKSPACE file:

http_archive(
    name = "io_bazel_rules_go",
    url = "https://github.com/bazelbuild/rules_go/releases/download/0.15.5/rules_go-0.15.5.tar.gz",
    sha256 = "8f6ec7856863aac58a12c921215c8e9ab1c03cb0c570397fed4a79ade7c0bb4a",
)
load("@​io_bazel_rules_go//go:def.bzl", "go_rules_dependencies", "go_register_toolchains")
go_rules_dependencies()
go_register_toolchains()

v0.15.4

Compare Source

New Go versions

  • Go 1.11.1 is now supported.

Bug fixes

WORKSPACE code

To use this release, add this code to your WORKSPACE file:

http_archive(
    name = "io_bazel_rules_go",
    url = "https://github.com/bazelbuild/rules_go/releases/download/0.15.4/rules_go-0.15.4.tar.gz",
    sha256 = "7519e9e1c716ae3c05bd2d984a42c3b02e690c5df728dc0a84b23f90c355c5a1",
)
load("@​io_bazel_rules_go//go:def.bzl", "go_rules_dependencies", "go_register_toolchains")
go_rules_dependencies()
go_register_toolchains()

Renovate configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".

🔕 Ignore: Close this PR and you won't be reminded about this update again.


This PR has been generated by Renovate Bot. View repository job log here.

@renovate renovate bot force-pushed the renovate/io_bazel_rules_go-0.x branch from 490c0b3 to 791b3c4 Compare October 29, 2018 17:49
@achew22 achew22 changed the title Update dependency io_bazel_rules_go to v0.16.1 rebase! Update dependency io_bazel_rules_go to v0.16.1 Nov 3, 2018
@renovate renovate bot force-pushed the renovate/io_bazel_rules_go-0.x branch from 791b3c4 to c908d43 Compare November 3, 2018 23:54
@renovate renovate bot changed the title rebase! Update dependency io_bazel_rules_go to v0.16.1 Update dependency io_bazel_rules_go to v0.16.1 Nov 3, 2018
@achew22 achew22 merged commit 82aecf6 into master Nov 4, 2018
@achew22 achew22 deleted the renovate/io_bazel_rules_go-0.x branch November 4, 2018 00:02
@achew22 achew22 mentioned this pull request Nov 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants