Remove SVN authfile generation
It is no longer needed (replaced with the auth_provider).
This commit is contained in:
@@ -131,11 +131,8 @@ function rebuildConfiguration($what) {
|
|||||||
$viewer, $repository, $authfile, $access);
|
$viewer, $repository, $authfile, $access);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ($what == 'AUTHFILE') {
|
|
||||||
foreach ($authfile as $user => $data) {
|
if ($what == 'ACCESS') {
|
||||||
print("$user:${data['hash']}\n");
|
|
||||||
}
|
|
||||||
} else if ($what == 'ACCESS') {
|
|
||||||
foreach ($access as $repository => $users) {
|
foreach ($access as $repository => $users) {
|
||||||
print("[$repository]\n");
|
print("[$repository]\n");
|
||||||
$rw_users = array();
|
$rw_users = array();
|
||||||
@@ -156,12 +153,13 @@ function rebuildConfiguration($what) {
|
|||||||
print("$user\t${data['email']}\t${data['name']}\n");
|
print("$user\t${data['email']}\t${data['name']}\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (count($argv) != 2 ||
|
if (count($argv) != 2 ||
|
||||||
($argv[1] != 'ACCESS' && $argv[1] != 'AUTHFILE' && $argv[1] != 'NAMEMAP')) {
|
($argv[1] != 'ACCESS' && $argv[1] != 'NAMEMAP')) {
|
||||||
print("Usage: {$argv[0]} ACCESS|AUTHFILE|NAMEMAP\n");
|
print("Usage: {$argv[0]} ACCESS|NAMEMAP\n");
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user