Add stream-events command
The stream-events command outputs patchset added, comment added, change merged, and change abandoned events in JSON format over SSH. Streaming ends when the client disconnects or aborts the command. Change-Id: Iba3ff56c23ab91cf3b855d5dde6c40d9735b643f
This commit is contained in:

committed by
Shawn O. Pearce

parent
f458bf6337
commit
15ac1b83f5
@@ -75,6 +75,8 @@ public class SshModule extends FactoryModule {
|
||||
|
||||
bind(WorkQueue.Executor.class).annotatedWith(CommandExecutor.class)
|
||||
.toProvider(CommandExecutorProvider.class).in(SINGLETON);
|
||||
bind(WorkQueue.Executor.class).annotatedWith(StreamCommandExecutor.class)
|
||||
.toProvider(StreamCommandExecutorProvider.class).in(SINGLETON);
|
||||
|
||||
bind(PublickeyAuthenticator.class).to(DatabasePubKeyAuth.class);
|
||||
bind(PasswordAuthenticator.class).to(DatabasePasswordAuth.class);
|
||||
|
Reference in New Issue
Block a user