gerrit/gerrit-war
Bruce Zu ae479c7fda Refactor the way of binding ssh commands
If a command should only be used on a server in master mode, but not
slave mode, it should be bound in both MasterCommandModule and
SlaveCommandModule, we have to remember to add it separately on each
of the commands list, the maintenance work is tedious.

Refactor the way of binding ssh commands. Add a field 'runsWith' to
CommandMetaData to mark a given ssh command to run on MASTER mode or
MASTER_OR_SLAVE mode. Remove SlaveCommandModule and MasterCommandModule,
and use only DefaultCommandModule.

This reverts commit 84bcead690.

Change-Id: Ia4908267b135be04ff9c8a9470a243a6c8d665a8
2014-02-04 16:01:55 +09:00
..
src/main Refactor the way of binding ssh commands 2014-02-04 16:01:55 +09:00
BUCK Bump Jetty version to stable 9.1 and Servlet API to 3.1 2014-01-04 22:28:10 +01:00