[
{
message: <<EOT
gitolite v2 -> v3 migration procedures:

WARNING: gitolite v3 is NOT "API" compatible with gitolite v2. Any local
modifications - hooks, scripts, ADCs, etc - must be migrated.

Please refer to [0] or [1] before moving on.

tl;dr:
    Run /usr/local/libexec/gitolite/check-g2-compat as your gitolite provider
    Backup gitolite-admin repo
    Remove old gitolite references (authorized_keys, rc file, gitolite-admin,
        ~/.gitolite)
    Preset rc file
    Proceed with final instructions for setup
    Push old gitolite-admin repo

[0] http://sitaramc.github.com/gitolite/install.html#migr
[1] http://sitaramc.github.com/gitolite/master-toc.html
EOT
  type: upgrade
  maximum_version: "2.99"
}
{
  message: <<EOT
Final gitolite setup instructions:

Any ssh user can be a gitolite provider. Simply run the following command as
the user:

/usr/local/bin/gitolite setup -pk /path/to/admin.ssh.key.pub

This will setup up the configuration files and repositories for gitolite.

The admin ssh key allows full access to the gitolite-admin repository where
additional users and repositories can be configured.

By default, the git user is created for use by gitolite.

A quick-install guide can be found in:

/usr/local/share/doc/gitolite/README.markdown
EOT
  type: install
}
]
