golang/go

x/build/cmd/gerritbot: perform gofmt checks before pushing to Gerrit

Open

#24.946 aperta il 19 apr 2018

Vedi su GitHub
 (4 commenti) (1 reazione) (0 assegnatari)Go (19.008 fork)batch import
BuildersNeedsFixhelp wanted

Metriche repository

Star
 (133.883 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

In https://golang.org/cl/99337 a file using CRLF instead of LF line endings was added. When using git-codereview to send CLs, there is a gofmt check which prevents this. But it seems there is no corresponding check when sending CLs via Github PRs.

It would be nice to run the gofmt check also for PRs submitted via Github.

/cc @bradfitz @andybons

Guida contributor