-
Notifications
You must be signed in to change notification settings - Fork 409
Comparing changes
Open a pull request
base repository: bazel-contrib/bazel-gazelle
base: v0.31.0
head repository: bazel-contrib/bazel-gazelle
compare: v0.31.1
- 8 commits
- 36 files changed
- 5 contributors
Commits on May 28, 2023
-
point sync.Once in walkConfig (#1532)
Preventing concurrency bugs by making the loadOnce field of walkConfig a pointer to sync.Once to avoid instead copying the mutex within it. Fixes #1531 Co-authored-by: Fabian Meumertzheim <fabian@meumertzhe.im>
Configuration menu - View commit details
-
Copy full SHA for 5492285 - Browse repository at this point
Copy the full SHA 5492285View commit details -
add copylock vet to nogo (#1534)
Fixes #1532 Co-authored-by: Fabian Meumertzheim <fabian@meumertzhe.im>
Configuration menu - View commit details
-
Copy full SHA for 3a1235c - Browse repository at this point
Copy the full SHA 3a1235cView commit details
Commits on May 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 56b3f78 - Browse repository at this point
Copy the full SHA 56b3f78View commit details -
Add default directives for github.com/envoyproxy/protoc-gen-validate (#…
…1553) * Add test * Add to default_gazelle_overrides.bzl
Configuration menu - View commit details
-
Copy full SHA for 0dbb617 - Browse repository at this point
Copy the full SHA 0dbb617View commit details
Commits on May 31, 2023
-
cmd/gazelle: do not use the epoch as timestamp in diff output (#1552)
* diff: do not use the epoch as timestamp * Fix tests * Update comment to mention epoch is special
Configuration menu - View commit details
-
Copy full SHA for 023974a - Browse repository at this point
Copy the full SHA 023974aView commit details -
fileinfo: fix not detecting 'unix' files to be OS specific (#1554)
The build file generation logic works like this today: ``` GenerateRules() package.go->*goTarget.addFiles package.go->getPlatformStringsAddFunction() fileinfo.go->isOSArchSpecific() ``` Depending on whether the file has special Go build directives, Gazelle would use a different logic to include/exclude the file into the 'srcs' attribute of the Go targets. In #1512, we added support for 'unix' build directive but did not tell Gazelle to treat files with 'unix' file as OS specific file. This caused Gazelle to mismatch the OS in a later stage and exclude the needed file instead. Fix that logic and provide some additional tests to reinforce the fileinfo logic. Also added a small knob to print stdout of Gazelle when it's run under go_repository with `debug_mode` attribute set to True. Most Gazelle's logs are printed to stdout and not stderr.
Configuration menu - View commit details
-
Copy full SHA for e770d46 - Browse repository at this point
Copy the full SHA e770d46View commit details
Commits on Jun 2, 2023
-
language/go: Emit apparent repo name of rules_go in select keys (#1555)
The constraint labels emitted as `select` keys now use the apparent name of the `rules_go` repository when using Bzlmod, with a fallback to `io_bazel_rules_go` if the `rules_go` module is not a declared `bazel_dep`.
Configuration menu - View commit details
-
Copy full SHA for af95853 - Browse repository at this point
Copy the full SHA af95853View commit details -
Let
bazel_dep
s replace Go deps (#1526)* Let `bazel_dep`s replace Go deps When a Go dependency is brought in both as a `bazel_dep` and as a regular Go dependency via e.g. go.mod, the `bazel_dep` repo should be used instead of creating a separate `go_repository`, which would risk duplicate packages. This is realized by registering every Bazel module with a `go_deps.from_file` tag as providing the Go module of the same version with the module path given in `go.mod`. Gazelle is aware of these tags and generates either a canonical label or a label using the apparent module repo name (the latter only for the root module and only if it directly depends on the `bazel_dep`). * Add warning * Add support for relaxed semvers * Add a dep on circl
Configuration menu - View commit details
-
Copy full SHA for 7feffe1 - Browse repository at this point
Copy the full SHA 7feffe1View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.31.0...v0.31.1