diff options
author | James Moger <james.moger@gitblit.com> | 2013-10-25 15:25:02 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2013-10-25 18:32:13 -0400 |
commit | 6c4be170559efa112bb92cd1676543e86850e976 (patch) | |
tree | c919d115bae4e1a801e545009e1f17fd6f6f7e40 /src/site/federation.mkd | |
parent | 3079105705d76ff0fbfcc755825aa75b0b6ef01a (diff) | |
download | gitblit-6c4be170559efa112bb92cd1676543e86850e976.tar.gz gitblit-6c4be170559efa112bb92cd1676543e86850e976.zip |
Documentation
Change-Id: I717e13d1f852a4adf50b547f4769dd62da2384ce
Diffstat (limited to 'src/site/federation.mkd')
-rw-r--r-- | src/site/federation.mkd | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/site/federation.mkd b/src/site/federation.mkd index 756d3fcd..7574a321 100644 --- a/src/site/federation.mkd +++ b/src/site/federation.mkd @@ -48,12 +48,13 @@ Changing your *federation.passphrase* will break any registrations you have esta 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:
----JAVA---
+
+```java
String allToken = SHA1(passphrase + "-ALL");
String usersAndRepositoriesToken = SHA1(passphrase + "-USERS_AND_REPOSITORIES");
String repositoriesToken = SHA1(passphrase + "-REPOSITORIES");
----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.
The *REPOSITORIES* token only allows pulling of the repositories.
|