|
2 | 2 |
|
3 | 3 | .. _chapter-git_trac: |
4 | 4 |
|
5 | | -======================================= |
6 | | -Collaborative Development with Git-Trac |
7 | | -======================================= |
8 | | - |
9 | | -Sometimes you will only want to work on local changes to Sage, for |
10 | | -your own private needs. However, typically it is beneficial to |
11 | | -share code and ideas with others; the manner in which the |
12 | | -`Sage project <https://www.sagemath.org>`_ does this (as well as fixing |
13 | | -bugs and upgrading components) is in a very collaborative and |
14 | | -public setting on `the Sage Trac server <https://trac.sagemath.org>`_ |
15 | | -(the Sage bug and enhancement tracker). |
16 | | - |
17 | | -One can use ``git`` :ref:`the hard way <chapter-manual-git>` for this, |
18 | | -but this section explains how to use the helper ``git trac`` command, which |
19 | | -simplifies many of the most common actions in collaboration on Sage. Some |
20 | | -of the :ref:`tutorials <section-git-tutorials>` we suggest may be helpful |
21 | | -in navigating what they are for. |
22 | | - |
23 | | -Most of the commands in the following section will not work unless |
24 | | -you have an account on Trac. If you want to contribute to Sage, it |
25 | | -is a good idea to get an account now (see :ref:`section-trac-account`). |
| 5 | +==================================== |
| 6 | +Optional: Using the Git-Trac Command |
| 7 | +==================================== |
26 | 8 |
|
| 9 | +Git is a separate project from trac, and the two do not know how to |
| 10 | +talk to each other. To simplify the development, we have a special |
| 11 | +``git trac`` subcommand for the git suite. Note that this really is |
| 12 | +only to simplify interaction with our trac issue management, you can |
| 13 | +perform every development task with just git and a web browser. |
27 | 14 |
|
28 | 15 | .. _section-git_trac-install: |
29 | 16 |
|
30 | 17 | Installing the Git-Trac Command |
31 | 18 | =============================== |
32 | 19 |
|
33 | | -Git is a separate project from trac, and the two do not know how to |
34 | | -talk to each other. To simplify the development, we have a special |
35 | | -``git trac`` subcommand for the git suite. Note that this really is |
36 | | -only to simplify interaction with our trac issue management, you can |
37 | | -perform every development task with just git and a web browser. See |
38 | | -:ref:`chapter-manual-git` instead if you prefer to do everything by |
39 | | -hand:: |
40 | | - |
41 | 20 | [user@localhost]$ git clone https://github.com/sagemath/git-trac-command.git |
42 | 21 | Cloning into 'git-trac-command'... |
43 | 22 | [...] |
@@ -149,10 +128,6 @@ secured with SSH keys, which you must have set up as in |
149 | 128 | :ref:`section-trac-ssh-key`. Read-only access happens through the |
150 | 129 | fetch url and does not require SSH. |
151 | 130 |
|
152 | | -Finally, if you do not want to use the ``git trac`` subcommand at all |
153 | | -then you can set up the remote by hand as described in the section on |
154 | | -:ref:`section-git-trac`. |
155 | | - |
156 | 131 |
|
157 | 132 | Trac Tickets and Git Branches |
158 | 133 | ============================= |
|
0 commit comments