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

Side by Side Diff: src/cmd/goinstall/doc.go

Issue 1699050: code review 1699050: Added Bazaar+Launchpad support in goinstall (Closed)
Patch Set: code review 1699050: Added Bazaar+Launchpad support in goinstall Created 14 years, 9 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/cmd/goinstall/download.go » ('j') | src/cmd/goinstall/download.go » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2010 The Go Authors. All rights reserved. 1 // Copyright 2010 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style 2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file. 3 // license that can be found in the LICENSE file.
4 4
5 /* 5 /*
6 6
7 Goinstall is an experiment in automatic package installation. 7 Goinstall is an experiment in automatic package installation.
8 It installs packages, possibly downloading them from the internet. 8 It installs packages, possibly downloading them from the internet.
9 It maintains a list of public Go packages at http://godashboard.appspot.com/pack age. 9 It maintains a list of public Go packages at http://godashboard.appspot.com/pack age.
10 10
(...skipping 24 matching lines...) Expand all
35 import "github.com/user/project.git/sub/directory" 35 import "github.com/user/project.git/sub/directory"
36 36
37 Google Code Project Hosting (Mercurial, Subversion) 37 Google Code Project Hosting (Mercurial, Subversion)
38 38
39 import "project.googlecode.com/hg" 39 import "project.googlecode.com/hg"
40 import "project.googlecode.com/hg/sub/directory" 40 import "project.googlecode.com/hg/sub/directory"
41 41
42 import "project.googlecode.com/svn/trunk" 42 import "project.googlecode.com/svn/trunk"
43 import "project.googlecode.com/svn/trunk/sub/directory" 43 import "project.googlecode.com/svn/trunk/sub/directory"
44 44
45 Launchpad
rsc1 2010/06/28 21:17:44 wrong indentation
niemeyer 2010/06/28 21:46:30 Done.
46
47 import "launchpad.net/project
48 import "launchpad.net/project/series
49 import "launchpad.net/project/series/sub/directory
50
51 import "launchpad.net/~user/project/branch
52 import "launchpad.net/~user/project/branch/sub/directory
53
45 54
46 If the destination directory (e.g., $GOROOT/src/pkg/bitbucket.org/user/project) 55 If the destination directory (e.g., $GOROOT/src/pkg/bitbucket.org/user/project)
47 already exists and contains an appropriate checkout, goinstall will not 56 already exists and contains an appropriate checkout, goinstall will not
48 attempt to fetch updates. The -update flag changes this behavior, 57 attempt to fetch updates. The -update flag changes this behavior,
49 causing goinstall to update all remote packages encountered during 58 causing goinstall to update all remote packages encountered during
50 the installation. 59 the installation.
51 60
52 When downloading or updating, goinstall first looks for a tag or branch 61 When downloading or updating, goinstall first looks for a tag or branch
53 named "release". If there is one, it uses that version of the code. 62 named "release". If there is one, it uses that version of the code.
54 Otherwise it uses the default version selected by the version control 63 Otherwise it uses the default version selected by the version control
(...skipping 11 matching lines...) Expand all
66 The -v flag causes goinstall to print information about packages 75 The -v flag causes goinstall to print information about packages
67 being considered and installed. 76 being considered and installed.
68 77
69 Goinstall does not attempt to be a replacement for make. 78 Goinstall does not attempt to be a replacement for make.
70 Instead, it invokes "make install" after locating the package sources. 79 Instead, it invokes "make install" after locating the package sources.
71 For local packages without a Makefile and all remote packages, 80 For local packages without a Makefile and all remote packages,
72 goinstall creates and uses a temporary Makefile constructed from 81 goinstall creates and uses a temporary Makefile constructed from
73 the import path and the list of Go files in the package. 82 the import path and the list of Go files in the package.
74 */ 83 */
75 package documentation 84 package documentation
OLDNEW
« no previous file with comments | « no previous file | src/cmd/goinstall/download.go » ('j') | src/cmd/goinstall/download.go » ('J')

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