| OLD | NEW |
| 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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 [white]**$** # and for fun! | 143 [white]**$** # and for fun! |
| 144 [white]**$ git config --global color.ui true** | 144 [white]**$ git config --global color.ui true** |
| 145 ---- | 145 ---- |
| 146 | 146 |
| 147 TL;DR | 147 TL;DR |
| 148 ----- | 148 ----- |
| 149 [postsubs="quotes"] | 149 [postsubs="quotes"] |
| 150 ---- | 150 ---- |
| 151 [white]**$** # get the code | 151 [white]**$** # get the code |
| 152 [white]**$** # In an empty directory: | 152 [white]**$** # In an empty directory: |
| 153 [white]**$ fetch {chromium,blink,...}** | 153 [white]**$ fetch {chromium,...}** |
| 154 | 154 |
| 155 [white]**$** # Update third_party repos and run pre-compile hooks | 155 [white]**$** # Update third_party repos and run pre-compile hooks |
| 156 [white]**$ gclient sync** | 156 [white]**$ gclient sync** |
| 157 | 157 |
| 158 [white]**$** # Make a new change and upload it for review | 158 [white]**$** # Make a new change and upload it for review |
| 159 [white]**$ git new-branch <branch_name>** | 159 [white]**$ git new-branch <branch_name>** |
| 160 [white]**$** # repeat: [edit, git add, git commit] | 160 [white]**$** # repeat: [edit, git add, git commit] |
| 161 [white]**$ git cl upload** | 161 [white]**$ git cl upload** |
| 162 | 162 |
| 163 [white]**$** # After change is reviewed, commit with the CQ | 163 [white]**$** # After change is reviewed, commit with the CQ |
| 164 [white]**$ git cl set_commit** | 164 [white]**$ git cl set_commit** |
| 165 [white]**$** # Note that the committed hash which lands will /not/ match the | 165 [white]**$** # Note that the committed hash which lands will /not/ match the |
| 166 [white]**$** # commit hashes of your local branch. | 166 [white]**$** # commit hashes of your local branch. |
| 167 ---- | 167 ---- |
| 168 | 168 |
| 169 | 169 |
| 170 GETTING THE CODE | 170 GETTING THE CODE |
| 171 ---------------- | 171 ---------------- |
| 172 Pick an empty directory and run one of the following: | 172 Pick an empty directory and run one of the following: |
| 173 | 173 |
| 174 [subs="quotes"] | 174 [subs="quotes"] |
| 175 ---- | 175 ---- |
| 176 [white]**$ fetch chromium** # Basic checkout for desktop Chromium | 176 [white]**$ fetch chromium** # Basic checkout for desktop Chromium |
| 177 [white]**$ fetch blink** # Chromium code with Blink checked out to tip-of-tr
ee | |
| 178 [white]**$ fetch android** # Chromium checkout for Android platform | 177 [white]**$ fetch android** # Chromium checkout for Android platform |
| 179 [white]**$ fetch ios** # Chromium checkout for iOS platform | 178 [white]**$ fetch ios** # Chromium checkout for iOS platform |
| 180 ---- | 179 ---- |
| 181 | 180 |
| 182 When the `fetch` tool completes you should have the following in your working | 181 When the `fetch` tool completes you should have the following in your working |
| 183 directory: | 182 directory: |
| 184 | 183 |
| 185 [subs="quotes"] | 184 [subs="quotes"] |
| 186 ---- | 185 ---- |
| 187 [white]**.gclient** # A configuration file for you source checkout | 186 [white]**.gclient** # A configuration file for you source checkout |
| (...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 424 dependencies to pull in. This file also contains 'hooks'. | 423 dependencies to pull in. This file also contains 'hooks'. |
| 425 | 424 |
| 426 LKGR:: | 425 LKGR:: |
| 427 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 |
| 428 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 |
| 429 link:http://build.chromium.org[main Chromium waterfall]. | 428 link:http://build.chromium.org[main Chromium waterfall]. |
| 430 | 429 |
| 431 include::_footer.txt[] | 430 include::_footer.txt[] |
| 432 | 431 |
| 433 // vim: ft=asciidoc: | 432 // vim: ft=asciidoc: |
| OLD | NEW |