File was renamed from docs/02_federation.mkd |
| | |
| | | If you want your repositories (and optionally users accounts and settings) to be pulled by another Gitblit instance, you need to register your origin Gitblit instance with a pulling Gitblit instance by providing the url of your Gitblit instance and a federation token.
|
| | |
|
| | | Gitblit generates the following standard federation tokens:
|
| | | %BEGINCODE%
|
| | | ---JAVA---
|
| | | String allToken = SHA1(passphrase + "-ALL");
|
| | | String usersAndRepositoriesToken = SHA1(passphrase + "-USERS_AND_REPOSITORIES");
|
| | | String repositoriesToken = SHA1(passphrase + "-REPOSITORIES");
|
| | | %ENDCODE%
|
| | | ---JAVA---
|
| | |
|
| | | The *ALL* token allows another Gitblit instance to pull all your repositories, user accounts, server settings, and referenced push scripts.
|
| | | The *USERS_AND_REPOSITORIES* token allows another Gitblit instance to pull all your repositories and user accounts.
|