Migrate account_groups.email_only_authors to capability

Added a new schema to migrate the account_groups.email_only_authors flag
to the emailReviewers global capability in All-Projects.

Change-Id: I15d330f9aa04460c7f93eb216bd7f4157cf2eb43
This commit is contained in:
Colby Ranger
2012-04-11 09:57:52 -07:00
parent 74d093d93d
commit 01967efeba
3 changed files with 125 additions and 1 deletions

View File

@@ -117,6 +117,9 @@ public class InMemoryDatabase implements SchemaFactory<ReviewDb> {
.annotatedWith(GerritPersonIdent.class) //
.toProvider(GerritPersonIdentProvider.class);
bind(AllProjectsName.class)
.toInstance(new AllProjectsName("All-Projects"));
bind(GitRepositoryManager.class) //
.to(LocalDiskRepositoryManager.class);
}