Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Side by Side Diff: man/src/depot_tools_tutorial.txt

Issue 2371333002: Modify depot_tools instructions regarding %PATH% (Closed)
Patch Set: Minimal changes to docs Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « man/man7/depot_tools_tutorial.7 ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 depot_tools_tutorial(7) 1 depot_tools_tutorial(7)
2 ======================= 2 =======================
3 3
4 NAME 4 NAME
5 ---- 5 ----
6 depot_tools_tutorial - A tutorial introduction to the Chromium depot_tools git 6 depot_tools_tutorial - A tutorial introduction to the Chromium depot_tools git
7 extensions. 7 extensions.
8 8
9 DESCRIPTION 9 DESCRIPTION
10 ----------- 10 -----------
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 ^^^^^^^ 89 ^^^^^^^
90 Download the 'depot_tools' 90 Download the 'depot_tools'
91 link:https://storage.googleapis.com/chrome-infra/depot_tools.zip[bundle] and 91 link:https://storage.googleapis.com/chrome-infra/depot_tools.zip[bundle] and
92 extract it somewhere. 92 extract it somewhere.
93 93
94 [WARNING] 94 [WARNING]
95 *DO NOT* use drag-n-drop or copy-n-paste extract from Explorer, this will not 95 *DO NOT* use drag-n-drop or copy-n-paste extract from Explorer, this will not
96 extract the hidden ``.git'' folder which is necessary for 'depot_tools' to 96 extract the hidden ``.git'' folder which is necessary for 'depot_tools' to
97 autoupdate itself. You can use ``Extract all...'' from the context menu though. 97 autoupdate itself. You can use ``Extract all...'' from the context menu though.
98 98
99 Add 'depot_tools' to the 'end' of your PATH. Assuming you unzipped the 99 Add 'depot_tools' to the 'start' of your PATH (must be ahead of any installs of
100 bundle to `C:\workspace\depot_tools`: 100 Python). Assuming you unzipped the bundle to `C:\workspace\depot_tools`:
101 101
102 With Administrator access: :: 102 With Administrator access: ::
103 *Control Panel -> System and Security -> System -> Advanced system settings* 103 *Control Panel -> System and Security -> System -> Advanced system settings*
104 + 104 +
105 Modify the PATH system variable to include `C:\workspace\depot_tools`. 105 Modify the PATH system variable to include `C:\workspace\depot_tools`.
106 106
107 Without Administrator access: :: 107 Without Administrator access: ::
108 *Control Panel -> User Accounts -> User Accounts -> Change my environment vari ables* 108 *Control Panel -> User Accounts -> User Accounts -> Change my environment vari ables*
109 + 109 +
110 Add a PATH user variable: `%PATH%;C:\workspace\depot_tools`. 110 Add a PATH user variable: `C:\workspace\depot_tools;%PATH%`.
111 111
112 From a `cmd.exe` shell, run the command `gclient` (without arguments). On first 112 From a `cmd.exe` shell, run the command `gclient` (without arguments). On first
113 run, gclient will install all the Windows-specific bits needed to work with the 113 run, gclient will install all the Windows-specific bits needed to work with the
114 code, including msysgit and python. 114 code, including msysgit and python.
115 115
116 [NOTE] 116 [NOTE]
117 ===== 117 =====
118 * If you run gclient from a non-cmd shell (e.g., cygwin, PowerShell), it 118 * If you run gclient from a non-cmd shell (e.g., cygwin, PowerShell), it
119 may appear to run properly, but msysgit, python, and other tools may not get 119 may appear to run properly, but msysgit, python, and other tools may not get
120 installed correctly. 120 installed correctly.
121 * If you see strange errors with the file system on the first run of gclient, 121 * If you see strange errors with the file system on the first run of gclient,
122 you may want to link:http://tortoisesvn.tigris.org/faq.html#cantmove2[disable 122 you may want to link:http://tortoisesvn.tigris.org/faq.html#cantmove2[disable
123 Windows Indexing]. 123 Windows Indexing].
124 * If you are running Windows XP and see errors like ``The system cannot execute 124 * After running gclient open a command prompt and type `where python` and confir m that
125 the specified program'', try installing the 125 the depot_tools python.bat comes ahead of any copies of python.exe. Failing to ensure
126 link:http://code.google.com/p/chromium/issues/detail?id=75886[``Microsoft 126 this can lead to overbuilding when using gn - see
127 Visual C++ 2008 Redistributable Package'']. 127 link:https://bugs.chromium.org/p/chromium/issues/detail?id=611087[crbug.com/61 1087].
128 ===== 128 =====
129 endif::backend-xhtml11[] 129 endif::backend-xhtml11[]
130 130
131 BOOTSTRAPPING CONFIGURATION 131 BOOTSTRAPPING CONFIGURATION
132 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 132 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
133 If you have never used git before, you’ll need to set some global git 133 If you have never used git before, you’ll need to set some global git
134 configurations; substitute your name and email address in the following 134 configurations; substitute your name and email address in the following
135 commands: 135 commands:
136 136
137 [subs="quotes,attributes"] 137 [subs="quotes,attributes"]
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 dependencies to pull in. This file also contains 'hooks'. 423 dependencies to pull in. This file also contains 'hooks'.
424 424
425 LKGR:: 425 LKGR::
426 Last Known Good Revision. This is a linkgit:git-tag[1] which tracks the last 426 Last Known Good Revision. This is a linkgit:git-tag[1] which tracks the last
427 version of `origin/master` which has passed the full set of testing on the 427 version of `origin/master` which has passed the full set of testing on the
428 link:http://build.chromium.org[main Chromium waterfall]. 428 link:http://build.chromium.org[main Chromium waterfall].
429 429
430 include::_footer.txt[] 430 include::_footer.txt[]
431 431
432 // vim: ft=asciidoc: 432 // vim: ft=asciidoc:
OLDNEW
« no previous file with comments | « man/man7/depot_tools_tutorial.7 ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698