diff --git a/scripts/svnauth/archived_repos.php b/scripts/svnauth/archived_repos.php new file mode 100644 index 0000000000..fdc8833f75 --- /dev/null +++ b/scripts/svnauth/archived_repos.php @@ -0,0 +1,5 @@ + diff --git a/scripts/svnauth/rebuild_svnauth.php b/scripts/svnauth/rebuild_svnauth.php index f76da8db4f..080565fc75 100755 --- a/scripts/svnauth/rebuild_svnauth.php +++ b/scripts/svnauth/rebuild_svnauth.php @@ -106,6 +106,14 @@ function rebuildConfiguration($what) { $authfile = array(); $access = array(); + + require_once 'archived_repos.php'; + foreach ($ARCHIVED_REPOS as $repository) { + $repository_pathname = "$repository:/"; + $access[$repository_pathname]['RW'] = array(); + $access[$repository_pathname]['RO'] = array(); + } + foreach ($repositories as $repository_id => $repository) { $type = $repository->getVersionControlSystem(); if ($type == PhabricatorRepositoryType::REPOSITORY_TYPE_SVN) {