| 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 11 matching lines...) Expand all Loading... |
| 22 * <<_managing_multiple_cls,Managing multiple CLs>> | 22 * <<_managing_multiple_cls,Managing multiple CLs>> |
| 23 * <<_managing_dependent_cls,Managing dependent CLs>> | 23 * <<_managing_dependent_cls,Managing dependent CLs>> |
| 24 * <<_example_walkthrough,Example Walkthrough>> | 24 * <<_example_walkthrough,Example Walkthrough>> |
| 25 | 25 |
| 26 Please refer to the manpages (or `--help` output) for details about any of the | 26 Please refer to the manpages (or `--help` output) for details about any of the |
| 27 commands mentioned in this tutorial. | 27 commands mentioned in this tutorial. |
| 28 | 28 |
| 29 [NOTE] | 29 [NOTE] |
| 30 If your platform does not support manpages (or you prefer something a bit more | 30 If your platform does not support manpages (or you prefer something a bit more |
| 31 expressive than plain text) you can find all documentation in 'html' form in the | 31 expressive than plain text) you can find all documentation in 'html' form in the |
| 32 `[DEPOT_TOOLS]/docs/html` folder. | 32 `[DEPOT_TOOLS]/man/html` folder. |
| 33 | 33 |
| 34 PREREQUISITES | 34 PREREQUISITES |
| 35 ~~~~~~~~~~~~~ | 35 ~~~~~~~~~~~~~ |
| 36 This tutorial assumes basic familiarity with git terminology and concepts. If yo
u | 36 This tutorial assumes basic familiarity with git terminology and concepts. If yo
u |
| 37 need to brush up on these, the following are very good resources: | 37 need to brush up on these, the following are very good resources: |
| 38 | 38 |
| 39 * link:http://think-like-a-git.net/[Think like (a) Git] - A lighthearted | 39 * link:http://think-like-a-git.net/[Think like (a) Git] - A lighthearted |
| 40 overview of git. If you're sorta-familiar with git, but not 'comfortable' with | 40 overview of git. If you're sorta-familiar with git, but not 'comfortable' with |
| 41 it, then give this a look. | 41 it, then give this a look. |
| 42 * link:http://gitimmersion.com/[Git Immersion Tutorial] - An in-depth git | 42 * link:http://gitimmersion.com/[Git Immersion Tutorial] - An in-depth git |
| (...skipping 24 matching lines...) Expand all Loading... |
| 67 LINUX / MAC | 67 LINUX / MAC |
| 68 ^^^^^^^^^^^ | 68 ^^^^^^^^^^^ |
| 69 endif::backend-xhtml11[] | 69 endif::backend-xhtml11[] |
| 70 Clone the 'depot_tools' repository: | 70 Clone the 'depot_tools' repository: |
| 71 | 71 |
| 72 [subs="quotes"] | 72 [subs="quotes"] |
| 73 ---- | 73 ---- |
| 74 [white]**$ git clone https://chromium.googlesource.com/chromium/tools/depot_tool
s** | 74 [white]**$ git clone https://chromium.googlesource.com/chromium/tools/depot_tool
s** |
| 75 ---- | 75 ---- |
| 76 | 76 |
| 77 Add 'depot_tools' to the 'end' of your PATH and MANPATH (you will probably want | 77 Add 'depot_tools' to the 'end' of your PATH (you will probably want to put this |
| 78 to put this in your `~/.bashrc` or `~/.zshrc`). Assuming you cloned | 78 in your `~/.bashrc` or `~/.zshrc`). Assuming you cloned 'depot_tools' to |
| 79 'depot_tools' to `/path/to/depot_tools`: | 79 `/path/to/depot_tools`: |
| 80 | 80 |
| 81 [postsubs="quotes"] | 81 [postsubs="quotes"] |
| 82 ---- | 82 ---- |
| 83 [white]**$ export PATH=$PATH:/path/to/depot_tools** | 83 [white]**$ export PATH=$PATH:/path/to/depot_tools** |
| 84 [white]**$ export MANPATH=$MANPATH:/path/to/depot_tools/docs** <1> | |
| 85 ---- | 84 ---- |
| 86 <1> Observe that this path is +depot_tools/+**+docs+**. | |
| 87 | 85 |
| 88 // No need to show the Windows stuff on the manpage output. | 86 // No need to show the Windows stuff on the manpage output. |
| 89 ifdef::backend-xhtml11[] | 87 ifdef::backend-xhtml11[] |
| 90 WINDOWS | 88 WINDOWS |
| 91 ^^^^^^^ | 89 ^^^^^^^ |
| 92 Download the 'depot_tools' | 90 Download the 'depot_tools' |
| 93 link:https://src.chromium.org/svn/trunk/tools/depot_tools.zip[bundle] and | 91 link:https://src.chromium.org/svn/trunk/tools/depot_tools.zip[bundle] and |
| 94 extract it somewhere. | 92 extract it somewhere. |
| 95 | 93 |
| 96 [WARNING] | 94 [WARNING] |
| (...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 424 dependencies to pull in. This file also contains 'hooks'. | 422 dependencies to pull in. This file also contains 'hooks'. |
| 425 | 423 |
| 426 LKGR:: | 424 LKGR:: |
| 427 Last Known Good Revision. This is a linkgit:git-tag[1] which tracks the last | 425 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 | 426 version of `origin/master` which has passed the full set of testing on the |
| 429 link:http://build.chromium.org[main Chromium waterfall]. | 427 link:http://build.chromium.org[main Chromium waterfall]. |
| 430 | 428 |
| 431 include::_footer.txt[] | 429 include::_footer.txt[] |
| 432 | 430 |
| 433 // vim: ft=asciidoc: | 431 // vim: ft=asciidoc: |
| OLD | NEW |