bazel-contrib / bazel-contrib/buildtools
Redacted version and scm version, but only when `go get`ing
- Dominant language
- Go
- Stars
- 1.2k
- Forks
- 471
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 13
Description
`buildifier --version` returns
```
buildifier version: redacted
buildifier scm revision: redacted
```
when `buildifier` is installed via `go get`, but it returns
```
buildifier version: 3.0.0
buildifier scm revision: dbd4ef8997abb3a7bef0ba4867caaf206db86b6e
```
when downloaded from github's assets in the release page.
Why is this?
Contributor guide
Research direction
Start by running `buildifier --version` for a `go get` installation and for the GitHub release asset, then compare the build paths and metadata used by each. Determine why the two commands report different version and SCM revision values, and make the output consistent or document the intended behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- build-system, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100