-
-
Notifications
You must be signed in to change notification settings - Fork 684
Comparing changes
Open a pull request
base repository: bazel-contrib/rules_go
base: master
head repository: cockroachdb/rules_go
compare: master
- 11 commits
- 7 files changed
- 5 contributors
Commits on Nov 11, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 01b4592 - Browse repository at this point
Copy the full SHA 01b4592View commit details -
Stage Go sources in a directory named after the package.
This is a workaround for the issue described at cockroachdb/cockroach#64379 -- this is unnecessarily inefficient, but it does work and avoids some regressions `rules_go` would otherwise introduce.
Configuration menu - View commit details
-
Copy full SHA for 18a0557 - Browse repository at this point
Copy the full SHA 18a0557View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c7fdb1 - Browse repository at this point
Copy the full SHA 4c7fdb1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 442d7c1 - Browse repository at this point
Copy the full SHA 442d7c1View commit details
Commits on Nov 23, 2021
-
Save test output in test2json format
If `GO_TEST_JSON_OUTPUT_FILE` environment variable is set, write the test output in test2json format.
Configuration menu - View commit details
-
Copy full SHA for 1ce9e34 - Browse repository at this point
Copy the full SHA 1ce9e34View commit details
Commits on Jan 14, 2022
-
Revert "Stage Go sources in a directory named after the package."
This reverts commit 18a0557.
Configuration menu - View commit details
-
Copy full SHA for 6b31297 - Browse repository at this point
Copy the full SHA 6b31297View commit details -
compilepkg: fix stored file path truncation
This fixes the issue described in cockroachdb/cockroach#64379 where the internal paths of the files don't include the `github.com/cockroachdb/cockroach` prefix. We fix this by using the rewrite syntax of `-trimpath`, e.g. `-trimpath=/sandbox/execroot=>github.com/cockroachdb/cockroach`. Figuring out the replacement part is not trivial. We use the package path and strip out the relative path of the source file directory.
Configuration menu - View commit details
-
Copy full SHA for 23b381c - Browse repository at this point
Copy the full SHA 23b381cView commit details
Commits on Feb 20, 2022
-
sdk: symlink everything under lib/ when using local SDK
We rely on the packaged zoneinfo zip in CRDB, found under lib/time/zoneinfo.zip. When using the remote SDK, we untar the entire thing into our sandbox. When pointing to a local SDK however, we ignored everything under lib, so failed to build. We'll need this diff in order to build CRDB with modified go installations, or at least iterating on it locally. +cc cockroachdb/cockroach#56178
Configuration menu - View commit details
-
Copy full SHA for 3f0fb1e - Browse repository at this point
Copy the full SHA 3f0fb1eView commit details
Commits on Feb 22, 2022
-
Merge pull request #4 from cockroachdb/220219.local-sdk-lib
sdk: symlink everything under lib/ when using local SDK
Configuration menu - View commit details
-
Copy full SHA for f96cc04 - Browse repository at this point
Copy the full SHA f96cc04View commit details
Commits on Apr 7, 2022
-
Translate paths in compilepkg output.
When cgo2 is involved in a build, the go srcs are linked/copied into a temporary directory to keep everything in the same directory. Those paths are unrecognizable to IDEs, being absolute paths outside the project directory. This adds a translation step to replace paths in the compiler output, translating them back to the input paths that were given to the tool in the first place. This doesn't affect -trimpath, which affects runtime error messages but not compilation-time error messages; for the same reason, this change can't use that flag to do its dirty work. Fixes cockroachdb/cockroach#76377. Release note: None
Configuration menu - View commit details
-
Copy full SHA for 2a778e9 - Browse repository at this point
Copy the full SHA 2a778e9View commit details -
Merge pull request #5 from mari-crl/pathtranslation
Translate paths in compilepkg output.
Configuration menu - View commit details
-
Copy full SHA for 58cb947 - Browse repository at this point
Copy the full SHA 58cb947View commit details
There are no files selected for viewing