new check-g2-compat, lots of migration related changes

- rc differences moved to their own file
  - main g2migr now helps interpret output of check-g2-compat
  - Gitolite::Compat gone; no point...
This commit is contained in:
Sitaram Chamarty 2012-03-25 09:15:39 +05:30
parent c14e01d6c0
commit 3ed923f503
7 changed files with 287 additions and 84 deletions

View file

@ -59,8 +59,8 @@ my $rc = glrc('filename');
do $rc if -r $rc;
if ( defined($GL_ADMINDIR) ) {
say2 "";
say2 "FATAL: $rc seems to be for older gitolite; checking compat";
require Gitolite::Compat;
say2 "FATAL: $rc seems to be for older gitolite; please see doc/g2migr.mkd\n" .
"(online at http://sitaramc.github.com/gitolite/g3/g2migr.html)";
exit 1;
}
@ -250,7 +250,9 @@ __DATA__
# used by the info command
# SITE_INFO => 'Please see http://blahblah/gitolite for more help',
# add more roles (like MANAGER, TESTER, ...) here
# add more roles (like MANAGER, TESTER, ...) here.
# WARNING: if you make changes to this hash, you MUST run 'gitolite
# compile' afterward, and possibly also 'gitolite trigger POST_COMPILE'
ROLES =>
{
READERS => 1,