summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2011-09-27 09:49:57 -0400
committerJames Moger <james.moger@gitblit.com>2011-09-27 09:49:57 -0400
commitea936aa63d7a756ca7d0284f76b830656d1e8918 (patch)
tree9556940eed45ab2112dd6ad291a20ac927efe3da /docs
parent4aafd4362caf198bdea97d2fdf2957aa5c345465 (diff)
downloadgitblit-ea936aa63d7a756ca7d0284f76b830656d1e8918.tar.gz
gitblit-ea936aa63d7a756ca7d0284f76b830656d1e8918.zip
Documentation.
Diffstat (limited to 'docs')
-rw-r--r--docs/02_federation.mkd6
-rw-r--r--docs/fed_aggregation.pngbin0 -> 21532 bytes
-rw-r--r--docs/fed_mirror.pngbin0 -> 6897 bytes
-rw-r--r--docs/federation.odgbin0 -> 12385 bytes
4 files changed, 5 insertions, 1 deletions
diff --git a/docs/02_federation.mkd b/docs/02_federation.mkd
index e004a27a..f77d7034 100644
--- a/docs/02_federation.mkd
+++ b/docs/02_federation.mkd
@@ -2,13 +2,15 @@
*SINCE 0.6.0*
-A Gitblit federation is a mechanism to clone repositories and keep them in sync from one Gitblit instance to another. Federation can be used for automated backup of your repositories or may be used to initially clone groups of repositories to developer workstations. If you are/were a Subversion user you might think of this as [svn-sync](http://svnbook.red-bean.com/en/1.5/svn.ref.svnsync.html), but better.
+A Gitblit federation is a mechanism to clone repositories and keep them in sync from one Gitblit instance to another. Federation can be used to maintain a mirror of your Gitblit instance, to aggregate repositories from developer workstations, or to initially clone groups of repositories to developer workstations. If you are/were a Subversion user you might think of this as [svn-sync](http://svnbook.red-bean.com/en/1.5/svn.ref.svnsync.html), but better.
If your Gitblit instance allows federation and it is properly registered with another Gitblit instance, each of the *non-excluded* repositories of your Gitblit instance can be mirrored, in their entirety, to the pulling Gitblit instance. You may optionally allow pulling of user accounts and backup of server settings.
The federation feature should be considered a security backdoor and enabled or disabled as appropriate for your installation.<br/>
Please review all the documentation to understand how it works and its limitations.
+![block diagram](fed_aggregation.png "Gitblit Federation Aggregation")
+
### Origin Gitblit Instance Requirements
- *git.enableGitServlet* must be true, all Git clone and pull requests are handled through Gitblit's JGit servlet
@@ -236,6 +238,8 @@ These examples would be entered into the `gitblit.properties` file of the pullin
#### (Nearly) Perfect Mirror Example
+![block diagram](fed_mirror.png "Gitblit Mirror")
+
This assumes that the *token* is the *ALL* token from the origin gitblit instance.
The repositories, example1_users.properties, and example1_gitblit.properties will be put in *git.repositoriesFolder* and the origin user accounts will be merged into the local user accounts, including passwords and all roles. The Gitblit instance will also send a status acknowledgment to the origin Gitblit instance at the end of the pull operation. The status report will include the state of each repository pull (EXCLUDED, SKIPPED, NOCHANGE, PULLED, MIRRORED). This way the origin Gitblit instance can monitor the health of its mirrors.
diff --git a/docs/fed_aggregation.png b/docs/fed_aggregation.png
new file mode 100644
index 00000000..556d1e47
--- /dev/null
+++ b/docs/fed_aggregation.png
Binary files differ
diff --git a/docs/fed_mirror.png b/docs/fed_mirror.png
new file mode 100644
index 00000000..3ad238e6
--- /dev/null
+++ b/docs/fed_mirror.png
Binary files differ
diff --git a/docs/federation.odg b/docs/federation.odg
new file mode 100644
index 00000000..e2c3ba8a
--- /dev/null
+++ b/docs/federation.odg
Binary files differ