|
|
|
Created:
14 years, 10 months ago by adg Modified:
14 years, 9 months ago Reviewers:
CC:
bsiegert, rsc, r, golang-dev Visibility:
Public. |
Descriptiondoc: update install.html for binary distros, add install-source.html
Patch Set 1 #
Total comments: 16
Patch Set 2 : diff -r 3256a9b8797c https://go.googlecode.com/hg #Patch Set 3 : diff -r 1a7e26c156b8 https://go.googlecode.com/hg #Patch Set 4 : diff -r 1a7e26c156b8 https://go.googlecode.com/hg #
Total comments: 10
Patch Set 5 : diff -r 1a7e26c156b8 https://go.googlecode.com/hg #
Total comments: 18
Patch Set 6 : diff -r 792c7561af4b https://go.googlecode.com/hg #
Total comments: 13
Patch Set 7 : diff -r ed38b37e1338 https://go.googlecode.com/hg #
MessagesTotal messages: 15
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg
Sign in to reply to this message.
http://codereview.appspot.com/5605047/diff/1/doc/install-source.html File doc/install-source.html (right): http://codereview.appspot.com/5605047/diff/1/doc/install-source.html#newcode2 doc/install-source.html:2: "Title": "Instaling Go from source" Installing http://codereview.appspot.com/5605047/diff/1/doc/install-source.html#newcode10 doc/install-source.html:10: build them on your own machine, and run them. Remove Oxford comma? http://codereview.appspot.com/5605047/diff/1/doc/install-source.html#newcode50 doc/install-source.html:50: It only supports Linux binaries, the optimizer is incomplete, What about Darwin/arm? http://codereview.appspot.com/5605047/diff/1/doc/install-source.html#newcode66 doc/install-source.html:66: The compilers can target the FreeBSD, Linux, OpenBSD NetBSD? http://codereview.appspot.com/5605047/diff/1/doc/install-source.html#newcode68 doc/install-source.html:68: (A port to Microsoft Windows is in progress but incomplete. See the The Windows port works fairly well now. Should this be worded more optimistically? http://codereview.appspot.com/5605047/diff/1/doc/install-source.html#newcode339 doc/install-source.html:339: <code>freebsd</code>, <code>linux</code>, <code>openbsd</code>, netbsd? http://codereview.appspot.com/5605047/diff/1/doc/install-source.html#newcode340 doc/install-source.html:340: and <code>windows</code> (Windows, an incomplete port). ditto, see above http://codereview.appspot.com/5605047/diff/1/doc/install-source.html#newcode417 doc/install-source.html:417: </dl> Mention GOPATH?
Sign in to reply to this message.
http://codereview.appspot.com/5605047/diff/1/doc/install-source.html File doc/install-source.html (right): http://codereview.appspot.com/5605047/diff/1/doc/install-source.html#newcode2 doc/install-source.html:2: "Title": "Instaling Go from source" On 2012/02/01 10:50:34, bsiegert wrote: > Installing Done. http://codereview.appspot.com/5605047/diff/1/doc/install-source.html#newcode10 doc/install-source.html:10: build them on your own machine, and run them. On 2012/02/01 10:50:34, bsiegert wrote: > Remove Oxford comma? No. http://img.anongallery.org/img/9/5/with-the-oxford-comma-without-the-oxford-c... http://codereview.appspot.com/5605047/diff/1/doc/install-source.html#newcode50 doc/install-source.html:50: It only supports Linux binaries, the optimizer is incomplete, On 2012/02/01 10:50:34, bsiegert wrote: > What about Darwin/arm? It's not supported. http://codereview.appspot.com/5605047/diff/1/doc/install-source.html#newcode66 doc/install-source.html:66: The compilers can target the FreeBSD, Linux, OpenBSD On 2012/02/01 10:50:34, bsiegert wrote: > NetBSD? It may be supported but we don't have a builder for it. I'm hesitant to say we support it when we have no confidence in it. http://codereview.appspot.com/5605047/diff/1/doc/install-source.html#newcode68 doc/install-source.html:68: (A port to Microsoft Windows is in progress but incomplete. See the On 2012/02/01 10:50:34, bsiegert wrote: > The Windows port works fairly well now. Should this be worded more > optimistically? Done. http://codereview.appspot.com/5605047/diff/1/doc/install-source.html#newcode339 doc/install-source.html:339: <code>freebsd</code>, <code>linux</code>, <code>openbsd</code>, On 2012/02/01 10:50:34, bsiegert wrote: > netbsd? Done. http://codereview.appspot.com/5605047/diff/1/doc/install-source.html#newcode340 doc/install-source.html:340: and <code>windows</code> (Windows, an incomplete port). On 2012/02/01 10:50:34, bsiegert wrote: > ditto, see above Done. http://codereview.appspot.com/5605047/diff/1/doc/install-source.html#newcode417 doc/install-source.html:417: </dl> On 2012/02/01 10:50:34, bsiegert wrote: > Mention GOPATH? Not here.
Sign in to reply to this message.
LGTM
Sign in to reply to this message.
http://codereview.appspot.com/5605047/diff/5003/doc/install.html File doc/install.html (right): http://codereview.appspot.com/5605047/diff/5003/doc/install.html#newcode7 doc/install.html:7: <p> Let's get rid of the detail div (but not its content). The text here seems disconnected from the rest of the "detail". I think this intro needs to say the following. 1. Go is an open source project with a BSD-style license. 2. There are two official Go compiler toolchains, the <code>gc</code> Go compiler and tools and the <code>gccgo</code> compiler that is part of GCC. 3. This page is about installing a binary distribution of the gc compiler. 4. For information about installing the gc compiler from source, see xxx. 5. For information about installing gccgo, see xxx. http://codereview.appspot.com/5605047/diff/5003/doc/install.html#newcode49 doc/install.html:49: <a href="install-source.html">installing from source</a>. <a>installing from source</a> or <a>using gccgo</a>. http://codereview.appspot.com/5605047/diff/5003/doc/install.html#newcode80 doc/install.html:80: Go doesn't need to be in <code>/usr/local/go</code>. The Go binary downloads assume they will be installed in /usr/local/go, but it is possible to install them in a different location. If you do this, you will need to set the <code>GOROOT</code> environment variable to that directory when using the Go tools. http://codereview.appspot.com/5605047/diff/5003/doc/install.html#newcode99 doc/install.html:99: <h3 id="osx">Mac OS X (<code>darwin</code>)</h3> Why does this say (darwin)? http://codereview.appspot.com/5605047/diff/5003/doc/install.html#newcode154 doc/install.html:154: If you see the "hello, world" message then your Go installation is good. s/good/working/
Sign in to reply to this message.
PTAL http://codereview.appspot.com/5605047/diff/5003/doc/install.html File doc/install.html (right): http://codereview.appspot.com/5605047/diff/5003/doc/install.html#newcode7 doc/install.html:7: <p> On 2012/02/02 19:22:18, rsc wrote: > Let's get rid of the detail div (but not its content). > The text here seems disconnected from the rest of the "detail". > I think this intro needs to say the following. > > 1. Go is an open source project with a BSD-style license. > 2. There are two official Go compiler toolchains, the <code>gc</code> Go > compiler and tools and the <code>gccgo</code> compiler that is part of GCC. > 3. This page is about installing a binary distribution of the gc compiler. > 4. For information about installing the gc compiler from source, see xxx. > 5. For information about installing gccgo, see xxx. > Done. http://codereview.appspot.com/5605047/diff/5003/doc/install.html#newcode49 doc/install.html:49: <a href="install-source.html">installing from source</a>. On 2012/02/02 19:22:18, rsc wrote: > <a>installing from source</a> or <a>using gccgo</a>. Done. http://codereview.appspot.com/5605047/diff/5003/doc/install.html#newcode80 doc/install.html:80: Go doesn't need to be in <code>/usr/local/go</code>. On 2012/02/02 19:22:18, rsc wrote: > The Go binary downloads assume they will be installed in > /usr/local/go, but it is possible to install them in a different > location. If you do this, you will need to set the > <code>GOROOT</code> environment variable to that > directory when using the Go tools. Done. http://codereview.appspot.com/5605047/diff/5003/doc/install.html#newcode99 doc/install.html:99: <h3 id="osx">Mac OS X (<code>darwin</code>)</h3> On 2012/02/02 19:22:18, rsc wrote: > Why does this say (darwin)? It shouldn't. http://codereview.appspot.com/5605047/diff/5003/doc/install.html#newcode154 doc/install.html:154: If you see the "hello, world" message then your Go installation is good. On 2012/02/02 19:22:18, rsc wrote: > s/good/working/ Done.
Sign in to reply to this message.
Ping.
Sign in to reply to this message.
On 2012/02/03 03:03:38, adg wrote: > Ping. Uh, that ping was meant for a different cl. Oops.
Sign in to reply to this message.
http://codereview.appspot.com/5605047/diff/10001/doc/install.html File doc/install.html (right): http://codereview.appspot.com/5605047/diff/10001/doc/install.html#newcode10 doc/install.html:10: and the <code>gccgo</code> compiler that is part of the GNU C Compiler (GCC). "getting started" begins by telling you to choose between two things you don't know about and gives no information about how to choose. http://codereview.appspot.com/5605047/diff/10001/doc/install.html#newcode58 doc/install.html:58: tar -C /usr/local go.release.go1.tar.gz is C guaranteed in all tars? it was new to me. http://codereview.appspot.com/5605047/diff/10001/doc/install.html#newcode77 doc/install.html:77: environment variable to that directory when using the Go tools. you say this after it's been installed. put it first. http://codereview.appspot.com/5605047/diff/10001/doc/install.html#newcode98 doc/install.html:98: <code>gofmt</code> commands to <code>/usr/local/bin</code> and maybe, maybe not i think you want to say, early, the default is /user/local/go, you can override like this. for the rest of this document we assume /usr/local/go http://codereview.appspot.com/5605047/diff/10001/doc/install.html#newcode109 doc/install.html:109: /usr/bin:/bin:/usr/sbin:/sbin:<b>/usr/local/bin</b>:/usr/local/sbin too much path craziness here. you need a more focused narrative. this sounds too hard. I JUST WANT TO INSTALL THIS PACKAGE
Sign in to reply to this message.
http://codereview.appspot.com/5605047/diff/10001/doc/install.html File doc/install.html (right): http://codereview.appspot.com/5605047/diff/10001/doc/install.html#newcode10 doc/install.html:10: and the <code>gccgo</code> compiler that is part of the GNU C Compiler (GCC). On 2012/02/03 19:27:49, r wrote: > "getting started" begins by telling you to choose between two things you don't > know about and gives no information about how to choose. I'm trying to keep this page short, so I added a sentence the leads them to choose gc. http://codereview.appspot.com/5605047/diff/10001/doc/install.html#newcode58 doc/install.html:58: tar -C /usr/local go.release.go1.tar.gz On 2012/02/03 19:27:49, r wrote: > is C guaranteed in all tars? it was new to me. I don't know about "guaranteed" but it's present in tar on my darwin, linux, and freebsd systems. http://codereview.appspot.com/5605047/diff/10001/doc/install.html#newcode77 doc/install.html:77: environment variable to that directory when using the Go tools. On 2012/02/03 19:27:49, r wrote: > you say this after it's been installed. put it first. Done. http://codereview.appspot.com/5605047/diff/10001/doc/install.html#newcode98 doc/install.html:98: <code>gofmt</code> commands to <code>/usr/local/bin</code> and On 2012/02/03 19:27:49, r wrote: > maybe, maybe not > > i think you want to say, early, the default is /user/local/go, you can override > like this. for the rest of this document we assume /usr/local/go Simplified. http://codereview.appspot.com/5605047/diff/10001/doc/install.html#newcode109 doc/install.html:109: /usr/bin:/bin:/usr/sbin:/sbin:<b>/usr/local/bin</b>:/usr/local/sbin On 2012/02/03 19:27:49, r wrote: > too much path craziness here. > you need a more focused narrative. this sounds too hard. I JUST WANT TO INSTALL > THIS PACKAGE Removed.
Sign in to reply to this message.
the document needs to say that you need to do this only if your distribution doesn't already have go installed. that needs to be right up top. also, it bothers me (but maybe nobody else) that we tell you to be root to install a binary package but you can do the source package all by yourself. the more you know, the less you break security. that's just weird. or maybe normal in the modern, sense-free world http://codereview.appspot.com/5605047/diff/10001/doc/install-source.html File doc/install-source.html (right): http://codereview.appspot.com/5605047/diff/10001/doc/install-source.html#newc... doc/install-source.html:54: Tested against a Nexus One. this paragraph is out of date http://codereview.appspot.com/5605047/diff/10001/doc/install-source.html#newc... doc/install-source.html:61: (a fancier one is in the works), efficient array and string slicing, delete the parenthetical remark. http://codereview.appspot.com/5605047/diff/10001/doc/install-source.html#newc... doc/install-source.html:62: support for segmented stacks, and a strong goroutine implementation. "strong" is weird. maybe support for efficient goroutines, such as stacks that grow and shrink on demand. http://codereview.appspot.com/5605047/diff/10001/doc/install-source.html#newc... doc/install-source.html:74: <h2 id="ctools">Install C tools, if needed</h2> oh dear, this document needs serious work. i'll stop here but please address the comments above
Sign in to reply to this message.
http://codereview.appspot.com/5605047/diff/10001/doc/install-source.html File doc/install-source.html (right): http://codereview.appspot.com/5605047/diff/10001/doc/install-source.html#newc... doc/install-source.html:54: Tested against a Nexus One. On 2012/02/08 00:05:29, r wrote: > this paragraph is out of date Done. http://codereview.appspot.com/5605047/diff/10001/doc/install-source.html#newc... doc/install-source.html:61: (a fancier one is in the works), efficient array and string slicing, On 2012/02/08 00:05:29, r wrote: > delete the parenthetical remark. Done. http://codereview.appspot.com/5605047/diff/10001/doc/install-source.html#newc... doc/install-source.html:62: support for segmented stacks, and a strong goroutine implementation. On 2012/02/08 00:05:29, r wrote: > "strong" is weird. > maybe > support for efficient goroutines, such as stacks that grow and shrink on demand. Done. http://codereview.appspot.com/5605047/diff/10001/doc/install-source.html#newc... doc/install-source.html:74: <h2 id="ctools">Install C tools, if needed</h2> On 2012/02/08 00:05:29, r wrote: > oh dear, this document needs serious work. i'll stop here but please address the > comments above Erk, I prepared this CL before the dist tool went in. I will update it.
Sign in to reply to this message.
Hello bsiegert@gmail.com, rsc@golang.org, r@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
Sign in to reply to this message.
LGTM for now http://codereview.appspot.com/5605047/diff/17001/doc/install-source.html File doc/install-source.html (right): http://codereview.appspot.com/5605047/diff/17001/doc/install-source.html#newc... doc/install-source.html:101: sudo easy_install mercurial==2.0 of course this doesn't work on some macs,but maybe that's not our problem to report here http://codereview.appspot.com/5605047/diff/17001/doc/install-source.html#newc... doc/install-source.html:106: python-dev build-essential</code> first. The Mercurial in your distribution's put that horror in a pre block http://codereview.appspot.com/5605047/diff/17001/doc/install.html File doc/install.html (right): http://codereview.appspot.com/5605047/diff/17001/doc/install.html#newcode15 doc/install.html:15: The <code>gc</code> compiler is the most mature and well-tested of the two. s/most/more/ http://codereview.appspot.com/5605047/diff/17001/doc/install.html#newcode47 doc/install.html:47: <a href="/install/gccgo/">using gccgo</a>. s/using gccgo/installing gccgo instead of gc http://codereview.appspot.com/5605047/diff/17001/doc/install.html#newcode94 doc/install.html:94: Open the <code>pkg</code> file and follow the prompts to install the Go tools. confusing. maybe ".pkg"? http://codereview.appspot.com/5605047/diff/17001/doc/install.html#newcode113 doc/install.html:113: Check that Go is installed correctly by building a simple program. s/.$/, as follows.
Sign in to reply to this message.
*** Submitted as http://code.google.com/p/go/source/detail?r=4e57832a0c74 *** doc: update install.html for binary distros, add install-source.html R=bsiegert, rsc, r CC=golang-dev http://codereview.appspot.com/5605047 http://codereview.appspot.com/5605047/diff/17001/doc/install-source.html File doc/install-source.html (right): http://codereview.appspot.com/5605047/diff/17001/doc/install-source.html#newc... doc/install-source.html:101: sudo easy_install mercurial==2.0 On 2012/02/14 05:43:40, r wrote: > of course this doesn't work on some macs,but maybe that's not our problem to > report here Ehh.. http://codereview.appspot.com/5605047/diff/17001/doc/install-source.html#newc... doc/install-source.html:106: python-dev build-essential</code> first. The Mercurial in your distribution's On 2012/02/14 05:43:40, r wrote: > put that horror in a pre block Done. http://codereview.appspot.com/5605047/diff/17001/doc/install.html File doc/install.html (right): http://codereview.appspot.com/5605047/diff/17001/doc/install.html#newcode15 doc/install.html:15: The <code>gc</code> compiler is the most mature and well-tested of the two. On 2012/02/14 05:43:40, r wrote: > s/most/more/ Done. http://codereview.appspot.com/5605047/diff/17001/doc/install.html#newcode47 doc/install.html:47: <a href="/install/gccgo/">using gccgo</a>. On 2012/02/14 05:43:40, r wrote: > s/using gccgo/installing gccgo instead of gc Done. http://codereview.appspot.com/5605047/diff/17001/doc/install.html#newcode47 doc/install.html:47: <a href="/install/gccgo/">using gccgo</a>. On 2012/02/14 05:43:40, r wrote: > s/using gccgo/installing gccgo instead of gc Done. http://codereview.appspot.com/5605047/diff/17001/doc/install.html#newcode94 doc/install.html:94: Open the <code>pkg</code> file and follow the prompts to install the Go tools. On 2012/02/14 05:43:40, r wrote: > confusing. maybe ".pkg"? Done. http://codereview.appspot.com/5605047/diff/17001/doc/install.html#newcode113 doc/install.html:113: Check that Go is installed correctly by building a simple program. On 2012/02/14 05:43:40, r wrote: > s/.$/, as follows. Done.
Sign in to reply to this message.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
