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.48.0
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.49.0
Choose a head ref
  • 13 commits
  • 54 files changed
  • 8 contributors

Commits on May 29, 2024

  1. Add support for path mapping (#3915)

    Path mapping improves disk/remote cache hit ratio by automatically
    removing the configuration-specific path segments (e.g.
    `k8-fastbuild-ST-12345678`) from action command lines before staging
    them for execution.
    
    This commit makes the stdlib, compilepkg (assuming no cgo) and
    gentestmain actions compatible with path mapping, which is mostly
    automatic except that `GOROOT` now needs to be passed in via a flag
    rather than an environment variable.
    
    Can be tested via `--experimental_output_paths=strip` with Bazel
    last_green.
    
    See https://www.youtube.com/watch?v=Et1rjb7ixUU for more information on
    path mapping.
    fmeum authored May 29, 2024
    Configuration menu
    Copy the full SHA
    6f206ad View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2024

  1. Introduce rules_go_unsupported_feature (#3955)

    This sentinel feature allows the C++ toolchain configuration to use distinct
    sets of flags when compiling Go rules.
    cramertj authored Jun 6, 2024
    Configuration menu
    Copy the full SHA
    b2b5dbc View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2024

  1. Automatically run bazel mod tidy in @rules_go//go (#3927)

    `bazel mod tidy` is run if supported and if relevant files change due to the command.
    fmeum authored Jun 11, 2024
    Configuration menu
    Copy the full SHA
    a24a63e View commit details
    Browse the repository at this point in the history
  2. Fix revive warning in testmain.go files (#3958)

    When configuring nogo() to run the revive linter, we currently see
    builds of testmain.go files fail with the following error:
    
        if block ends with call to os.Exit function, so drop this else and outdent its block (move short variable declaration to its own line if necessary)
    
    Let's restructure this code slightly, so that this is no longer an
    issue.
    EdSchouten authored Jun 11, 2024
    Configuration menu
    Copy the full SHA
    52865a8 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2024

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

    This reverts commit fcd6390.
    
    `purego` regresses performance of certain third-party libraries (see #3959).
    fmeum authored Jun 18, 2024
    Configuration menu
    Copy the full SHA
    f81ce9f View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2024

  1. prepare patch release 0.48.1 (#3963)

    This PR helps prepare the patch release to include f81ce9f
    tyler-french authored Jun 19, 2024
    Configuration menu
    Copy the full SHA
    75cc291 View commit details
    Browse the repository at this point in the history
  2. Fix broken link to https://bazel.build/concepts/dependencies#data-dep…

    …endencies (#3960)
    
    * Update link in rules.md
    
    upd
    
    * nit
    alexbozhenko authored Jun 19, 2024
    Configuration menu
    Copy the full SHA
    d3ecd76 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2024

  1. Configuration menu
    Copy the full SHA
    93f29a5 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2024

  1. Add linux/ppc64le to GOARCH constraints (#3975)

    * Add linux/ppc64le to GOARCH constraints
    
    This also updates `platforms` module dependency to 0.0.10
    
    Signed-off-by: Chaitanya Munukutla <chaitanya.m61292@gmail.com>
    
    * Support older versions of Bazel
    
    Signed-off-by: Chaitanya Munukutla <chaitanya.m61292@gmail.com>
    
    ---------
    
    Signed-off-by: Chaitanya Munukutla <chaitanya.m61292@gmail.com>
    c16a authored Jul 1, 2024
    Configuration menu
    Copy the full SHA
    77e04cc View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2024

  1. gopackagesdriver: Make kind query regexes anchored (#3978)

    A query like kind("go_library", ...) also returns rules that are not go 
    libraries but have go_library as a substring of the rule name, e.g. 
    not_a_go_library. To fix that, add regex anchors.
    jscissr authored Jul 2, 2024
    Configuration menu
    Copy the full SHA
    634fc28 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2024

  1. Add a full fs.FS implementation to runfiles (#3969)

    * WIP: Add a full `fs.FS` implementation to `runfiles`
    
    * Extract out common implementation
    
    * Minimal feature parity for manifest implementation
    
    * Implement manifest except for dir statting plus test
    
    * Test info
    
    * Add basic trie implementation
    
    * Fully fix test
    
    * Simplify
    
    * Vendor testfs
    
    * FIx tests
    
    * Cleanup
    
    * Simplify
    
    * Root symlinks
    
    * Simplify further
    
    * Add comments and refactor
    
    * Adopt test to Bzlmod
    
    * Also materialize canonical names
    
    * Adjust comment
    
    * Attempt to throw test failures
    
    * Attemp to fix WIndows #2
    
    * Fix test #3
    
    * Address review comments
    
    * Fix test
    
    * Address review comments
    
    * Rename links for better test coverage
    
    * Rename manifest dir entries
    
    * Add `String()` implementations and faithfully fake runfiles dir
    
    * Resolve one layer of symlinks in directory impl
    
    * Resolve all symlinks
    fmeum authored Jul 10, 2024
    Configuration menu
    Copy the full SHA
    3e84965 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c2212fd View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2024

  1. Configuration menu
    Copy the full SHA
    a23892e View commit details
    Browse the repository at this point in the history
Loading