git:// links no longer work, refer to the https:// one.
[wiki] / repository.mdwn
1 ## Source code repository
2
3 You can get the latest development source code from our git
4 repository if you want to. This code may not work, run, or even
5 compile. You'll also *need* to have the latest versions of
6 autoconf, automake, libtool and gettext installed. The files that
7 can be generated using these tools are *not* in the repository.
8
9 ### Accessing the repository
10
11 You can [browse the repository](/git/tinc/) online. However, to
12 make real use of it you should have to have the git tools
13 installed. If you do not have them, you can find them at
14 [https://git-scm.com/](https://git-scm.com/).
15 Then run this command:
16
17     git clone https://tinc-vpn.org/git/tinc
18
19 This creates a copy of the public repository of tinc. For every
20 release of tinc there is a corresponding tag in the git repository,
21 you can get an old version by running
22 `git checkout release-`*version* on your copy of the git
23 repository. If you have checked out a copy of the public
24 repository, you can bring it up to date using the command
25 `git pull`.
26
27 ### GitHub and GitLab repositories
28
29 There are also a clones of the official repository on GitHub and GitLab:
30
31 * [https://github.com/gsliepen/tinc](https://github.com/gsliepen/tinc)
32 * [https://gitlab.com/gsliepen/tinc](https://gitlab.com/gsliepen/tinc)
33
34 You can use these to easily create your own forks and make your own commits public.
35 This allows us to review them and possibly merge them with the official tinc repository.
36
37 ### Log messages
38
39 Whenever something is changed in the repository, a log message is
40 sent to the tinc-svn list. If you wish to be kept up to date, you
41 can subscribe yourself to that [[mailing list|mail]].