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

Issue 1301043: code review 1301043: Make goinstall work with main packages. (Closed)

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

Description

Make goinstall work with main packages. Currently to install a command, you have to manually goinstall each of the remote packages that it depends on. This patch lets goinstall P work where P is contains files in package main. It does not actually build the package, but it installs all of its dependencies and prints a message to that effect.

Patch Set 1 #

Patch Set 2 : code review 1301043: Make goinstall work with main packages. #

Patch Set 3 : code review 1301043: Make goinstall work with main packages. #

Total comments: 6

Patch Set 4 : code review 1301043: Make goinstall work with main packages. #

Patch Set 5 : code review 1301043: Make goinstall work with main packages. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -16 lines) Patch
M src/cmd/goinstall/main.go View 1 2 3 2 chunks +9 lines, -1 line 0 comments Download
M src/cmd/goinstall/make.go View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M src/cmd/goinstall/parse.go View 1 2 3 3 chunks +20 lines, -13 lines 0 comments Download

Messages

Total messages: 8
rog
Hello rsc (cc: golang-dev@googlegroups.com), I'd like you to review this change.
15 years, 1 month ago (2010-05-27 06:55:10 UTC) #1
rsc1
Looks pretty good. http://codereview.appspot.com/1301043/diff/5/5001 File src/cmd/goinstall/main.go (right): http://codereview.appspot.com/1301043/diff/5/5001#newcode139 src/cmd/goinstall/main.go:139: fmt.Fprintf(os.Stderr, "%s: %s needs manual installation. ...
15 years, 1 month ago (2010-06-01 21:25:41 UTC) #2
rog
Hello rsc (cc: golang-dev@googlegroups.com), Please take another look.
15 years, 1 month ago (2010-06-06 10:47:08 UTC) #3
rog
also found an embarassing error that meant that the dependencies weren't actually built. i could've ...
15 years, 1 month ago (2010-06-06 10:48:22 UTC) #4
rog
is there any chance that this patch might be accepted, or should i abandon it? ...
15 years, 1 month ago (2010-06-20 21:06:56 UTC) #5
rsc1
LGTM Sorry for the long delay. I'm not managing to keep up with email recently.
15 years, 1 month ago (2010-06-20 21:18:51 UTC) #6
rog
no problem. even superheroes have their limitations :-) still needs the commit BTW, but i'm ...
15 years, 1 month ago (2010-06-21 07:57:42 UTC) #7
rsc
15 years, 1 month ago (2010-06-21 18:01:26 UTC) #8
*** Submitted as http://code.google.com/p/go/source/detail?r=d6b7d21d1d21 ***

goinstall: process dependencies for package main

Currently to install a command, you have to manually
goinstall each of the remote packages that it depends on.
This patch lets goinstall P work where P is
contains files in package main.
It does not actually build the package, but
it installs all of its dependencies and prints a message
to that effect.

R=rsc
CC=golang-dev
http://codereview.appspot.com/1301043

Committer: Russ Cox <rsc@golang.org>
Sign in to reply to this message.

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