Skip to content

x/exp/cmd/gorelease: add glossary-defined code next to each (in)compatible change #37414

@myitcv

Description

@myitcv

What version of Go are you using (go version)?

$ go version go version devel +151ccd4bdb Mon Feb 24 02:36:05 2020 +0000 linux/amd64 $ git rev-parse HEAD 7c80518d1cc79ffde9e571fe4fd281f321d36200 

Does this issue reproduce with the latest release?

Yes

What operating system and processor architecture are you using (go env)?

go env Output
$ go env GO111MODULE="on" GOARCH="amd64" GOBIN="" GOCACHE="/home/myitcv/.cache/go-build" GOENV="/home/myitcv/.config/go/env" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="linux" GOINSECURE="" GONOPROXY="" GONOSUMDB="" GOOS="linux" GOPATH="/home/myitcv/gostuff" GOPRIVATE="" GOPROXY="https://proxy.golang.org,direct" GOROOT="/home/myitcv/gos" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/home/myitcv/gos/pkg/tool/linux_amd64" GCCGO="gccgo" AR="ar" CC="gcc" CXX="g++" CGO_ENABLED="1" GOMOD="/home/myitcv/gostuff/src/github.com/myitcv/govim/go.mod" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build347856664=/tmp/go-build -gno-record-gcc-switches" 

What did you do?

Ran gorelease against govim:

$ gorelease -base=v0.0.29 github.com/govim/govim ---------------------- Compatible changes: - EventUser: added github.com/govim/govim/cmd/govim/config --------------------------------------- Incompatible changes: - Config.ExperimentalTempModfile: removed Compatible changes: - CommandHighlightReferences: added - Config.HighlightReferences: added - Config.TempModfile: added - EnvVarGoplsGOMAXPROCSMinusN: added - FunctionWorkspaceSymbol: added - HighlightReferences: added github.com/govim/govim/testsetup -------------------------------- Compatible changes: - EnvStrictVimBufferLifecycle: added github.com/govim/govim/testdriver --------------------------------- Compatible changes: - Config.Vim: added - VimConfig: added Suggested version: v0.1.0 

What did you expect to see?

Some sort of code/reference against each change that allows me to refer to a glossary for more detail. Very much in the same vein as staticcheck's codes for each analysis.

What did you see instead?

A plain presentation of the changes that were compatible/incompatible.

cc @jayconrod

Metadata

Metadata

Assignees

No one assigned

    Labels

    FeatureRequestIssues asking for a new feature that does not need a proposal.NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions