bazel-contrib / bazel-contrib/rules_go

Add stamp attribute in go_binary rule

Open
#2,154 1 comment 1 reaction 0 assignees View on GitHub
enhancement go
Dominant language
Go
Stars
1.5k
Forks
760
Avg merge
1d 11h
Merged PRs (30d)
12

Description

### What version of rules_go are you using?

0.19.0

### What version of gazelle are you using?

commit: 7a19100a6d86a392a2f88e337fbcc60a3e4b154a

Near master

### What version of Bazel are you using?

0.24.1

### Does this issue reproduce with the latest releases of all the above?

Yes

### What operating system and processor architecture are you using?

Linux amd64

### What did you expect to see?

Hope the stamp behavior to keep consistent with other language toolchains in https://docs.bazel.build/versions/master/be/overview.html

Many [lang]_binary rule have stamp attribute.

Contributor guide

Open the contributing guide

Research direction

Start with the go_binary rule in rules_go and compare its attributes with the other language binary rules referenced in the issue. Read Bazel's stamp behavior documentation, then identify the relevant rule tests and verify that go_binary accepts and honors the requested stamp attribute consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
build-system
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.