Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: bazel-contrib/rules_go
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.47.1
Choose a base ref
...
head repository: bazel-contrib/rules_go
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.48.0
Choose a head ref
  • 8 commits
  • 36 files changed
  • 8 contributors

Commits on May 6, 2024

  1. Update docs to cover new FilePath ReplaceDirective Support (#3931)

    Update docs to cover new capabilities added by: bazel-contrib/bazel-gazelle#1776
    stefanpenner authored May 6, 2024
    Configuration menu
    Copy the full SHA
    35b7f07 View commit details
    Browse the repository at this point in the history

Commits on May 7, 2024

  1. Configuration menu
    Copy the full SHA
    6a05f8d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f3cc8a2 View commit details
    Browse the repository at this point in the history

Commits on May 8, 2024

  1. feat(mode): add purego tag when pure (#3901)

    The community has agreed[1] that "pure" builds of Go code should
    use the `purego` build tag.
    
    This change adds that de-facto tag.
    
    The minimum version of Gazelle is bumped to `0.36.0` which includes a patch[2]
    for ignoring the `purego` tag so that the source flies are passed to the
    compiler for conditional compilation decisions.
    
    [1]: golang/go#23172
    [2]: bazel-contrib/bazel-gazelle#1767
    mattyclarkson authored May 8, 2024
    Configuration menu
    Copy the full SHA
    fcd6390 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2024

  1. generate_test_main: Move timeout handling back to bzltestutil (#3939)

    This gives us a determinstic location to ignore for goleak, which we
    previously had, but was removed as part of #3920.
    DolceTriade authored May 10, 2024
    Configuration menu
    Copy the full SHA
    dd35e7d View commit details
    Browse the repository at this point in the history

Commits on May 13, 2024

  1. Add support for --incompatible_enable_proto_toolchain_resolution (#…

    …3919)
    
    * Add support for `--incompatible_enable_proto_toolchain_resolution`
    
    * Do not use dict union
    
    * Fix visibility
    
    * Fix buildifier finding
    
    * Add proto deps to tests
    
    * Attempt to fix integration tests
    
    * MOre fixes
    
    * Add test deps
    
    * Fix test sources
    
    * Remove unused load
    
    * Fix tests and update to rules_proto 6.0.0
    
    * Add back WORKSPACE deps
    fmeum authored May 13, 2024
    Configuration menu
    Copy the full SHA
    a54fd56 View commit details
    Browse the repository at this point in the history

Commits on May 15, 2024

  1. Add exec_compatible_with to @go_sdk//:builder (#3943)

    go_tool_binary() is completely oblivious of toolchains. The reason being
    that Go toolchains actually depend on their output. Adding a toolchain
    dependency would thus add a cyclic dependency. This is problematic,
    because it means that the actions with mnemonic GoToolchainBinaryBuild
    end up getting scheduled on arbitrary workers.
    
    Address this by adding exec_compatible_with to the locations where
    go_tool_binary() is instantiated, namely the auto-generated BUILD files
    that are part of Go SDKs.
    
    Fixes: #3942
    EdSchouten authored May 15, 2024
    Configuration menu
    Copy the full SHA
    e7ddb9e View commit details
    Browse the repository at this point in the history

Commits on May 21, 2024

  1. prepare v0.48.0 release (#3946)

    This PR prepares a minor release to allow downstream users to begin integrating with #3919
    tyler-french authored May 21, 2024
    Configuration menu
    Copy the full SHA
    354a98f View commit details
    Browse the repository at this point in the history
Loading