]> de.git.xonotic.org Git - xonotic/xonotic.wiki.git/blob - Repository_Access.textile
(Commit created by redmine exporter script from page "Repository_Access" version 8)
[xonotic/xonotic.wiki.git] / Repository_Access.textile
1 h1. Repository Access
2
3 The repository is accessed using git.
4
5 h2. Linux/OS X:
6
7 First, you install git using your favorite package manager. Then:
8
9 <pre>
10 git clone git://git.xonotic.org/xonotic/xonotic.git
11 cd xonotic
12 ./all update
13 </pre>
14
15 After that, you have a working checkout of the repository.
16
17 h3. Getting write access
18
19 A condition for write (push) access is that you agree that any code or data you push will be licensed under the General Public License, version 2, with or without the "or any later version" clause. In case the directory the changes apply to contains a LICENSE or COPYING file indicating another license, your pushed code has to be dual licensed appropriately. Subdirectories currently having a dual license:
20 * data/qcsrc/warpzonelib - dual licensed as "GPLv2 or later" or MIT license.
21 In case code you pushed was not written by you, it is your responsibility to ensure proper licensing.
22
23 To apply for write access, make an issue of type "Support" in the category "Repository" and attach your public SSH key to it.
24
25 To cleanly check out then, you would do:
26
27 <pre>
28 git clone ssh://xonotic@git.xonotic.org/xonotic.git
29 cd xonotic
30 ./all update
31 </pre>
32
33 If you already have a checkout, you would do:
34
35 <pre>
36 git config remote.origin.url ssh://xonotic@git.xonotic.org/xonotic.git
37 ./all update
38 </pre>
39
40 After that, you can write to the reposiotry using the usual git commands (commit, push).
41
42 h2. Windows
43
44 TODO info for TortoiseGit