Skip to content

Commit

Permalink
(minor) fix docs about admin-ing a gitolite installation
Browse files Browse the repository at this point in the history
(since easy-install is no longer the *only* install method)
  • Loading branch information
sitaramc committed Apr 29, 2010
1 parent ffccd0a commit 6787dc2
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 6 deletions.
16 changes: 11 additions & 5 deletions doc/0-INSTALL.mkd
Expand Up @@ -6,7 +6,7 @@ Gitolite is somewhat unusual as far as "server" software goes -- every userid
on the server is a potential "gitolite host".

This document tells you how to install gitolite. After the install is done,
you may want to see the [admin document][admin] for adding users, repos, etc.
you may want to see [doc/2-admin.mkd][admin] for adding users, repos, etc.

**Please note** that gitolite depends heavily on proper ssh setup and pubkey
based access. Sadly, most people don't know ssh as well as they think they
Expand Down Expand Up @@ -54,7 +54,9 @@ The "user install" section describes this method.

The **system-install followed by user-setup** mode is used when you (or
someone who has root) has installed an RPM or DEB of gitolite and you intend
to use that version.
to use that version. [Update 2010-04-27: there is now a script called
`gl-system-install` that helps you do a system-install if your distribution
does not yet have a package for gitolite; details below].

The "system install / user setup" section describes this method.

Expand Down Expand Up @@ -202,11 +204,15 @@ to have a command line on the server, so don't give them the passwords if you
don't need to -- the pubkey will allow them to be gitolite admins on their
domain, and that's quite enough for normal operations.

----

### next steps

The last message produced by the easy install script should tell you how to
add users, repos, etc., and you will find more details in the [admin][admin]
document.
If you installed it using "gl-easy-install", the last message produced by that
script should tell you how to add users, repos, etc. In any case, you will
find more details in [doc/2-admin.mkd][admin].

----

<a name="server_reqs"></a>

Expand Down
10 changes: 9 additions & 1 deletion doc/2-admin.mkd
Expand Up @@ -19,7 +19,15 @@ First of all, ***do NOT add new repos manually***, unless you know how to add
the required hook as well. Without the hook, branch-level access control will
not work for that repo, which sorta defeats the idea of using gitolite :-)

Please read on to see how to do this correctly.
Most normal (day-to-day) gitolite admin work is done by cloning the
gitolite-admin repo from the server to your workstation, making changes to the
clone, and pushing those changes back.

If you installed using "gl-easy-install", that script would have already tried
to clone the repo to your `$HOME`. Otherwise clone it yourself to any
convenient location you like.

Once you've cloned it, you're ready to add users and repos.

#### adding users and repos

Expand Down

0 comments on commit 6787dc2

Please sign in to comment.