Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(409)

Issue 5820070: code review 5820070: build: catch API changes during build (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 1 month ago by bradfitz
Modified:
13 years, 1 month ago
Reviewers:
CC:
golang-dev, dsymonds, rsc
Visibility:
Public.

Description

build: catch API changes during build Adds new file api/go1.txt, locking down the current API. Any changes to the API will need to update that file. run.bash (but not make.bash, or Windows) will check for accidental API changes.

Patch Set 1 #

Patch Set 2 : diff -r ae443f313c8f https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r ae443f313c8f https://go.googlecode.com/hg/ #

Total comments: 1

Patch Set 4 : diff -r ae443f313c8f https://go.googlecode.com/hg/ #

Patch Set 5 : diff -r 207004f9cc45 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -4 lines) Patch
M src/cmd/api/goapi.go View 1 2 3 4 3 chunks +11 lines, -2 lines 0 comments Download
M src/run.bash View 1 2 3 4 2 chunks +6 lines, -2 lines 0 comments Download

Messages

Total messages: 13
bradfitz
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 1 month ago (2012-03-15 22:59:03 UTC) #1
bradfitz
Hah, the API is too large: $ hg mail 5820070 Issue updated. URL: http://codereview.appspot.com/5820070 Not ...
13 years, 1 month ago (2012-03-15 23:00:08 UTC) #2
dsymonds
http://codereview.appspot.com/5820070/diff/5001/src/run.bash File src/run.bash (right): http://codereview.appspot.com/5820070/diff/5001/src/run.bash#newcode94 src/run.bash:94: go tool api -c $GOROOT/api/go1.txt || echo $? shouldn't ...
13 years, 1 month ago (2012-03-15 23:36:51 UTC) #3
bradfitz
Hello golang-dev@googlegroups.com, dsymonds@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 1 month ago (2012-03-16 00:41:10 UTC) #4
bradfitz
On Thu, Mar 15, 2012 at 4:36 PM, <dsymonds@golang.org> wrote: > > http://codereview.appspot.com/**5820070/diff/5001/src/run.bash<http://codereview.appspot.com/5820070/diff/5001/src/run.bash> > File ...
13 years, 1 month ago (2012-03-16 00:41:36 UTC) #5
dsymonds
LGTM
13 years, 1 month ago (2012-03-16 02:01:08 UTC) #6
rsc
Please drop the || exit $?. The rest of the file only does them in ...
13 years, 1 month ago (2012-03-16 02:47:31 UTC) #7
rsc
Except for line 77, which would be great to fix too.
13 years, 1 month ago (2012-03-16 02:48:05 UTC) #8
dsymonds
On Fri, Mar 16, 2012 at 1:47 PM, Russ Cox <rsc@golang.org> wrote: > The rest ...
13 years, 1 month ago (2012-03-16 02:56:18 UTC) #9
rsc
On Thu, Mar 15, 2012 at 22:56, David Symonds <dsymonds@golang.org> wrote: > Even there I ...
13 years, 1 month ago (2012-03-16 03:10:32 UTC) #10
dsymonds
On Fri, Mar 16, 2012 at 2:10 PM, Russ Cox <rsc@golang.org> wrote: > On Thu, ...
13 years, 1 month ago (2012-03-16 03:24:47 UTC) #11
rsc
On Thu, Mar 15, 2012 at 23:24, David Symonds <dsymonds@golang.org> wrote: > Yes, and in ...
13 years, 1 month ago (2012-03-16 03:28:49 UTC) #12
bradfitz
13 years, 1 month ago (2012-03-17 18:21:03 UTC) #13
*** Submitted as http://code.google.com/p/go/source/detail?r=b15d9965bcd8 ***

build: catch API changes during build

Adds new file api/go1.txt, locking down the current API.
Any changes to the API will need to update that file.

run.bash (but not make.bash, or Windows) will check for
accidental API changes.

R=golang-dev, dsymonds, rsc
CC=golang-dev
http://codereview.appspot.com/5820070
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b