Permalink
Browse files

rc file format change (please read below)

First: if you have an old rc file it will still work.  In fact
internally the new rc file data gets converted to the old one.  So you
do not have to do anything normally.

This changes the rc file in the following way, taking mirroring as an
example.  Simple enough for most purposes but you really should read the
documentation...

old:
    INPUT                       =>
        [
            'Mirroring::input',
        ],

    PRE_GIT                     =>
        [
            'Mirroring::pre_git',
        ],

    POST_GIT                    =>
        [
            'Mirroring::post_git',
        ],

new:
    ENABLE  =>
        [
        # COMMANDS
            ... several commands ...
        # Triggers
            ... several triggers ...
            'Mirroring',
        ],
  • Loading branch information...
1 parent 1e3a4af commit d7024deffacf8f39afb104e834593cc78abcf102 @sitaramc committed Jan 10, 2013
Showing with 382 additions and 228 deletions.
  1. +249 −119 src/lib/Gitolite/Rc.pm
  2. +133 −109 t/mirror-test-rc
Oops, something went wrong.

0 comments on commit d7024de

Please sign in to comment.