(doc updates)

This commit is contained in:
Sitaram Chamarty 2012-03-27 11:31:02 +05:30
parent 93fb9552d2
commit fd98b21bf2
3 changed files with 19 additions and 6 deletions

View file

@ -50,9 +50,8 @@ perl API module) for ideas.
### the perl API ### the perl API
...is implemented by Gitolite::Easy; see src/Gitolite/Easy.pm. This is a work ...is implemented by Gitolite::Easy; the comments in src/Gitolite/Easy.pm
in progress; for example it does not yet have the equivalent of `gitolite serve as documentation.
git-config`. I'll add it when I or someone else needs it.
## your own hooks ## your own hooks

View file

@ -11,11 +11,20 @@ when you're ready to migrate. Instead, you need to run
# (assuming you saved your g2 rc file somewhere) # (assuming you saved your g2 rc file somewhere)
gitolite print-default-rc > $HOME/.gitolite.rc gitolite print-default-rc > $HOME/.gitolite.rc
$EDITOR $HOME/.gitolite.rc $EDITOR $HOME/.gitolite.rc
# make appropriate changes, save # make appropriate changes (see below), save
gitolite setup gitolite setup
One example of this is `GL_NO_SETUP_AUTHKEYS`. If you don't jump in and fix The most serious example of this is `GL_NO_SETUP_AUTHKEYS`. If you don't
the rc first, the first run will clobber your authkeys file. preset the rc (in this case, by commenting out the 'ssh-authkeys' line)
**before** running `gitolite setup`, your `~/.ssh/authorized_keys` file will
get clobbered.
There are several other settings that you may want to look at, with varying
degrees of severity; **please go through the list below before blindly running
`gitolite setup`**. (For example, if you had `GL_NO_DAEMON_NO_GITWEB` in g2
but forgot to comment out all the gitweb and daemon update lines in the rc
file, your projects.list and git-daemon-export-ok files might get clobbered.
Of course this is less severe than ssh authkeys but still...).
### rc file differences ### rc file differences

View file

@ -4,6 +4,11 @@ Gitolite has only one server side "command" now, much like git itself. And
it's been designed so that you don't even really have to *install* it, as you it's been designed so that you don't even really have to *install* it, as you
will see. will see.
**NOTE**: if you're migrating from g2, there are some settings that MUST be
dealt with **before** running `gitolite setup`; please read the [g2
migration][g2migr] page and linked pages, and especially the one on
'presetting the rc file][rc-preset].
## simplest ## simplest
1. Put all of `src` in one place, doesn't matter where; let's call it 1. Put all of `src` in one place, doesn't matter where; let's call it