| Commit message (Expand) | Author | Age | Files | Lines |
| * | session.scm (session-set!): Accept keywords•••* modules/ssh/session.scm (session-set!): Add new version that accepts
keywords. Export it.
(set-config!): New procedure.
(make-session): Use the new version of 'session-set!'.
* libguile-ssh/session-func.c (guile_ssh_session_set): Rename the Scheme
procedure to "%session-set!".
* tests/session.scm ("session-set!, invalid values", "session-set!, valid
values"): Update.
wip-session-set-improvement | Artyom V. Poptsov | 2017-01-01 | 3 | -22/+49 |
| * | node.scm (node-loadavg): New procedure•••* modules/ssh/dist.scm (with-ssh): Move to (ssh dist node); re-export the
procedure.
* modules/ssh/dist/node.scm (node-loadavg): New procedure.
| Artyom V. Poptsov | 2017-01-01 | 2 | -9/+33 |
| * | shell.scm (loadavg): New procedure•••* modules/ssh/shell.scm (loadavg): New procedure.
| Artyom V. Poptsov | 2016-12-31 | 1 | -1/+9 |
| * | shell.scm (rexec): Check only for EOF object•••* modules/ssh/shell.scm (rexec): Check only for EOF object.
(eof-or-null?): Remove.
| Artyom V. Poptsov | 2016-12-31 | 1 | -10/+1 |
| * | tests/shell.scm: Add to the repository•••* tests/shell.scm: Add to the repository.
* tests/Makefile.am (SCM_TESTS): Add 'shell.scm'.
| Artyom V. Poptsov | 2016-12-31 | 2 | -0/+66 |
| * | tests/common.scm: (start-server/exec): Send EOF after response•••* tests/common.scm: (start-server/exec): Send EOF after response.
| Artyom V. Poptsov | 2016-12-31 | 1 | -2/+10 |
| * | shell.scm (fallback-pgrep): Add dumb 'full?' option•••* modules/ssh/shell.scm (fallback-pgrep): Add dumb 'full?' option so the
procedure can be used as drop-in replacement to 'pgrep' where full search is
performed (e.g. in (ssh dist node)).
* modules/ssh/dist/node.scm (node-server-running?): Update.
| Artyom V. Poptsov | 2016-12-25 | 2 | -10/+5 |
| * | shell.scm: Add/update docstrings•••* modules/ssh/shell.scm (pgrep): Update the docstring.
(pkill, fallback-pkill): Add docstrings.
| Artyom V. Poptsov | 2016-12-25 | 1 | -2/+13 |
| * | shell.scm (fallback-pkill): Use 'fallback-pkill'•••* modules/ssh/shell.scm (fallback-pkill): Use 'fallback-pkill'.
(fallback-pgrep): Return PIDs as the 1st value.
| Artyom V. Poptsov | 2016-12-25 | 1 | -11/+12 |
| * | shell.scm: Update the module commentary•••* modules/ssh/shell.scm: Update the module commentary.
| Artyom V. Poptsov | 2016-12-25 | 1 | -0/+3 |
| * | node.scm (procps-available?): New procedure•••* modules/ssh/dist/node.scm (procps-available?): New procedure.
(node-server-running?, node-stop-server): Use it.
| Artyom V. Poptsov | 2016-12-25 | 1 | -7/+7 |
| * | shell.scm (fallback-pkill): New procedure•••* modules/ssh/shell.scm (fallback-pkill): New procedure.
* modules/ssh/dist/node.scm (node-stop-server): Use it. Improve logging.
| Artyom V. Poptsov | 2016-12-25 | 2 | -10/+35 |
| * | node.scm (node-stop-server): Use SIGKILL signal as the last resort•••* modules/ssh/dist/node.scm (node-stop-server): Try to SIGTERM the RREPL
server first, then use SIGKILL signal. Add logging.
* modules/ssh/shell.scm (pkill): Allow to specify signal to send.
| Artyom V. Poptsov | 2016-12-25 | 2 | -2/+13 |
| * | shell.scm (rexec): Close a remote pipe after use•••* modules/ssh/shell.scm (rexec): Close a remote pipe after use.
| Artyom V. Poptsov | 2016-12-25 | 1 | -8/+10 |
| * | shell.scm (pgrep): Fix misspelled pgrep option•••* modules/ssh/shell.scm (pgrep): Fix misspelled pgrep option
| Artyom V. Poptsov | 2016-12-25 | 1 | -1/+1 |
| * | node.scm (node-server-running?): Fix the check•••* modules/ssh/dist/node.scm (node-server-running?) <guile-up-and-running?>:
Fix the check.
| Artyom V. Poptsov | 2016-12-25 | 1 | -2/+2 |
| * | shell.scm (pgrep, pkill): Use '-f' instead of '--full'•••* modules/ssh/shell.scm (pgrep, pkill): Use the short version of '--full'
option.
| Artyom V. Poptsov | 2016-12-24 | 1 | -2/+9 |
| * | shell.scm (pkill): New procedure•••* modules/ssh/shell.scm (pkill): New procedure
* modules/ssh/dist/node.scm (node-stop-server): Use it.
| Artyom V. Poptsov | 2016-12-18 | 2 | -4/+9 |
| * | shell.scm: Add missing (ice-9 receive) module•••* modules/ssh/shell.scm: Add missing (ice-9 receive) module.
| Artyom V. Poptsov | 2016-12-18 | 1 | -0/+1 |
| * | shell.scm (fallback-pgrep): Bugfix: Fix the format string•••* modules/ssh/shell.scm (fallback-pgrep): Bugfix: Use (ice-9 format), replace
all '~' with '~~'.
| Artyom V. Poptsov | 2016-12-18 | 1 | -1/+2 |
| * | modules/ssh/shell.scm: Fix commentary | Artyom V. Poptsov | 2016-12-18 | 1 | -1/+1 |
| * | shell.scm (fallback-pgrep): Add 'make-command' procedure•••* modules/ssh/shell.scm (fallback-pgrep): Add 'make-command' procedure.
| Artyom V. Poptsov | 2016-12-18 | 1 | -16/+19 |
| * | shell.scm: Use (ice-9 regex)•••* modules/ssh/shell.scm: Use (ice-9 regex) module.
| Artyom V. Poptsov | 2016-12-13 | 1 | -0/+1 |
| * | shell.scm (command-available?): New procedure•••* modules/ssh/shell.scm (command-available?): New procedure.
* modules/ssh/dist/node.scm (node-server-running?): Use it.
| Artyom V. Poptsov | 2016-12-13 | 2 | -4/+8 |
| * | shell.scm: New module•••* modules/ssh/shell.scm: New module.
* modules/ssh/dist/node.scm: Move all shell related procedures to (ssh shell).
Use (ssh shell).
* modules/ssh/Makefile.am (SCM_SOURCES): Add 'shell.scm'.
| Artyom V. Poptsov | 2016-12-13 | 3 | -59/+123 |
| * | node.scm: Implement a fallback pgrep•••* modules/ssh/dist/node.scm (which, pgrep, fallback-pgrep): New procedures.
(node-server-running?): Fallback to a Guile-SSH implementation of 'pgrep' if
procps tools aren't available on a node; issue a libssh warning if fallback
pgrep is used.
| Artyom V. Poptsov | 2016-12-11 | 1 | -12/+72 |
| * | dist.scm (distribute, dist-map, execute-job): Use 'when'•••* modules/ssh/dist.scm (distribute, dist-map, execute-job): Use 'when' instead
of 'and' where it is appropriate.
| Artyom V. Poptsov | 2016-12-11 | 1 | -6/+6 |
| * | api-dist.texi: Document procps dependency for 'make-node'•••* doc/api-dist.texi: Document procps dependency for 'make-node'.
| Artyom V. Poptsov | 2016-12-11 | 1 | -1/+11 |
| * | NEWS: Bump version to 0.10.2•••* NEWS: Update. Bump version to 0.10.2.
* configure.ac: Update.
* build-aux/compile: Update.
v0.10.2 | Artyom V. Poptsov | 2016-11-25 | 3 | -4/+6 |
| * | NEWS: Update | Artyom V. Poptsov | 2016-11-24 | 1 | -1/+3 |
| * | sftp-file-type.c (ptob_close): Add missing 'return' statement•••* libguile-ssh/sftp-file-type.c (ptob_close): Add missing 'return' statement.
| Artyom V. Poptsov | 2016-11-20 | 1 | -1/+3 |
| * | sftp-session-type.c (print_sftp_session): Add missing 'return' statement•••* libguile-ssh/sftp-session-type.c (print_sftp_session): Add missing 'return'
statement.
| Artyom V. Poptsov | 2016-11-20 | 1 | -1/+2 |
| * | session-func.c (guile_ssh_session_get): Fix warnings•••* libguile-ssh/session-func.c (guile_ssh_session_get): Fix warnings:
initialize variables with default values.
| Artyom V. Poptsov | 2016-11-06 | 1 | -2/+2 |
| * | channel-func.c (_ssh_result_to_symbol): Add assertion, fix warning•••* libguile-ssh/channel-func.c (_ssh_result_to_symbol): Assert that the
argument is one of the libssh valid return codes. Fix warning related to
missed 'return' statement.
| Artyom V. Poptsov | 2016-11-06 | 1 | -0/+8 |
| * | channel-func.c (guile_ssh_channel_get_stream): Fix a warning•••* libguile-ssh/channel-func.c (guile_ssh_channel_get_stream): Fix a warning
due to missed 'return' statement at the end of non-void procedure.
| Artyom V. Poptsov | 2016-11-06 | 1 | -0/+2 |
| * | build: Build with '-Wall'.•••* configure.ac: Set and substitute 'WARN_CFLAGS'.
* libguile-ssh/Makefile.am (AM_CFLAGS): New variable.
Signed-off-by: Artyom V. Poptsov <poptsov.artyom@gmail.com>
| Ludovic Courtès | 2016-11-06 | 2 | -0/+9 |
| * | libguile-ssh: Remove unused variables.•••* libguile-ssh/auth.c (guile_ssh_userauth_public_key_x): Remove
'public_key'.
* libguile-ssh/message-func.c (get_auth_req): Remove 'pkey_smob' and
'pkey_data'.
* libguile-ssh/session-type.c (print_session): Remove 'smob_addr'.
* libguile-ssh/sftp-file-type.c (print_sftp_file): Remove 'attr'.
(ptob_flush): Remove 'fd'.
Signed-off-by: Artyom V. Poptsov <poptsov.artyom@gmail.com>
| Ludovic Courtès | 2016-11-06 | 4 | -6/+0 |
| * | libguile-ssh/server-func.c: Add missing 'const'.•••This is a followup to e490ba5226cedf22eb8f9166b5ac9fb5486c65f8.
* libguile-ssh/server-func.c (set_sym_opt)
(guile_ssh_server_set_x, guile_ssh_server_get): 'const'-qualify 'opt'
and 'sd'.
Signed-off-by: Artyom V. Poptsov <poptsov.artyom@gmail.com>
| Ludovic Courtès | 2016-11-06 | 1 | -4/+4 |
| * | channel.scm: Remove trailing bang from 'channel-send-eof'.•••This procedure merely does I/O without mutating its argument, so it does
not deserve the trailing '!' (similar to Scheme's 'write',
'put-bytevector', etc. procedures).
* libguile-ssh/channel-func.c (gssh_channel_send_eof_x): Rename to...
(gssh_channel_send_eof): ... this. Change Scheme name to
'%channel-send-eof'. Adjust caller.
* modules/ssh/channel.scm (channel-send-eof!): Rename to...
(channel-send-eof): ... this.
* tests/client-server.scm ("channel-send-eof!"): Rename to...
("channel-send-eof"): ... this. Adjust accordingly.
* doc/api-channels.texi (Channel Management): Adjust accordingly.
Signed-off-by: Artyom V. Poptsov <poptsov.artyom@gmail.com>
| Ludovic Courtès | 2016-11-06 | 4 | -10/+10 |
| * | doc: Add procedure index.•••* doc/indices.texi (Procedure Index): New node.
* doc/guile-ssh.texi: Add it to the menu.
Signed-off-by: Artyom V. Poptsov <poptsov.artyom@gmail.com>
| Ludovic Courtès | 2016-11-06 | 2 | -0/+6 |
| * | build: Remove 'version.texi', which is generated.•••* doc/version.texi: Remove.
Signed-off-by: Artyom V. Poptsov <poptsov.artyom@gmail.com>
| Ludovic Courtès | 2016-11-06 | 2 | -9/+1 |
| * | AUTHORS: Update | Artyom V. Poptsov | 2016-11-04 | 1 | -1/+7 |
| * | libguile-ssh/key-type.c: Improve locality and constness.•••* libguile-ssh/key-type.c (key_types): Mark as 'static const'.
(mark_key_smob, free_key_smob, equalp_key): Mark as 'static'.
* libguile-ssh/key-type.h (key_types): Remove declaration.
Signed-off-by: Artyom V. Poptsov <poptsov.artyom@gmail.com>
| Ludovic Courtès | 2016-11-04 | 2 | -6/+4 |
| * | libguile-ssh/common.h: 'const'-qualify pointers to 'symbol_mapping'.•••* libguile-ssh/common.h (_ssh_const_to_scm): Const-qualify 'types'
parameter.
(_scm_to_ssh_const): Likewise, and const-qualify return type.
* libguile-ssh/common.c (_ssh_const_to_scm):
(_scm_to_ssh_const): Adjust accordingly.
* libguile-ssh/key-func.c (guile_ssh_string_to_public_key): Adjust
accordingly.
* libguile-ssh/key-type.c (_scm_to_ssh_key_type,
guile_ssh_make_keypair): Likewise.
* libguile-ssh/key-type.h (_scm_to_ssh_key_type): Likewise.
* libguile-ssh/log.c (guile_ssh_write_log)
(guile_ssh_set_log_verbosity_x): Likewise.
* libguile-ssh/session-func.c (set_sym_opt): Likewise.
(guile_ssh_session_set, guile_ssh_session_get): Likewise.
Signed-off-by: Artyom V. Poptsov <poptsov.artyom@gmail.com>
| Ludovic Courtès | 2016-11-04 | 7 | -18/+18 |
| * | libguile-ssh/key-type.c: Add mapping for ed25519 keys.•••* libguile-ssh/key-type.c (key_types): Add entry for
'SSH_KEYTYPE_ED25519'.
Signed-off-by: Artyom V. Poptsov <poptsov.artyom@gmail.com>
| Ludovic Courtès | 2016-11-04 | 1 | -0/+1 |
| * | channel.scm (channel-send-eof!): New procedure•••* modules/ssh/channel.scm (channel-send-eof!): New procedure.
* libguile-ssh/channel-func.c (gssh_channel_send_eof_x): New procedure.
* doc/api-channels.texi: Add description of 'channel-send-eof!'.
* tests/client-server.scm ("channel-send-eof!"): New TC.
* doc/version.texi, NEWS: Update.
| Artyom V. Poptsov | 2016-10-30 | 6 | -1/+117 |
| * | NEWS: Bump version to 0.10.1•••* NEWS: Bump version to 0.10.1.
* configure.ac, doc/version.texi: Update.
v0.10.1 | Artyom V. Poptsov | 2016-10-09 | 3 | -7/+9 |
| * | AUTHORS: Update | Artyom V. Poptsov | 2016-10-09 | 1 | -0/+4 |
| * | build: Change default 'guilesitedir' to PREFIX/share/guile/site/X.Y.•••* configure.ac: Use 'm4_pattern_forbid' for 'GUILE_' macros.
Use 'GUILE_PKG' instead of 'PKG_CHECK_MODULES' to find Guile.
Change default value of 'guilesitedir'.
Signed-off-by: Artyom V. Poptsov <poptsov.artyom@gmail.com>
| Ludovic Courtès | 2016-10-09 | 1 | -3/+9 |
| * | build: Update Guile's and Gettext's Autoconf macros.•••* m4/guile.m4, m4/lib-link.m4, m4/lib-ld.m4, m4/lib-prefix.m4: Update
from Guile 2.0.12 and Gettext 0.19.8.
* build-aux/compile, build-aux/config.rpath: New files, imported from
Gettext.
* Makefile.am (EXTRA_DIST): Add them.
* INSTALL: Update.
Signed-off-by: Artyom V. Poptsov <poptsov.artyom@gmail.com>
| Ludovic Courtès | 2016-10-09 | 8 | -48/+1563 |