# # # patch "NEWS" # from [b4b1d56b495f1b29bfee488a8304b27010fe803a] # to [0e122601f45add742f399a2880fbafc42c0a5290] # # patch "monotone.texi" # from [ae7f2f8151bb0ca219a0d2d94bc1dcadccb0538c] # to [ed3e14ba84d5f405c05ae81a4786978cb7f3273f] # ============================================================ --- NEWS b4b1d56b495f1b29bfee488a8304b27010fe803a +++ NEWS 0e122601f45add742f399a2880fbafc42c0a5290 @@ -19,6 +19,9 @@ requires that the server be running monotone 0.46 or later. Access control on the server is uses a new lua hook "get_remote_automate_permitted(identity, command_line, options)". + - There's also a new command "automate remote" that's very much + the same, but executes only a single command and does not + stdio-encode the output. Bugs fixed ============================================================ --- monotone.texi ae7f2f8151bb0ca219a0d2d94bc1dcadccb0538c +++ monotone.texi ed3e14ba84d5f405c05ae81a4786978cb7f3273f @@ -7790,6 +7790,40 @@ @section Automation @end table address@hidden mtn automate remote @option{--remote=host} @var{command} @var{args-and-opts} + address@hidden @strong address@hidden Arguments + +A command and its arguments, to execute on the remote server specified +by the @option{--remote} option. If options are to be passed to the command, +they must be preceded by @option{--} to prevent them from being interpreted +as local options. + address@hidden Added in + +FIXME + address@hidden Purpose + +Permit a single @code{automate} command to be run against a database that is +being used to serve netsync connections, without having its output encoded +as by @code{automate stdio}. + address@hidden Input/Output Format + +This command does not accept input. + +The output will be whatever output the remote command generates. + address@hidden Error Conditions + +If the remote command returns an error code, will exit with code 1 and +print "Received remote error code N" to standard error, with "N" being +the remote error code. + address@hidden table + @item mtn automate genkey @var{name} @var{passphrase} @table @strong