Commit graph

791 commits

Author SHA1 Message Date
Duncan Ferguson
9431ccc863 Re-release/version bump
Re-release due to poor release upload to CPAN (4.17)
2024-10-19 12:57:45 +01:00
Duncan Ferguson
cc90a9a3fb Run through 'dzil perltidy' 2024-10-17 21:12:23 +01:00
Duncan Ferguson
fea0b80d48
GitHub actions (#161) 2024-10-16 09:21:26 +01:00
Duncan Ferguson
2d39fe46f3 Fix gitactions typos 2024-10-14 23:25:52 +01:00
Duncan Ferguson
6967bceb8b Swap Travis-CI to Github Actions 2024-10-14 23:21:32 +01:00
Duncan Ferguson
a915d3d218 Update perl testing versions in TravisCI 2024-10-14 22:51:43 +01:00
Duncan Ferguson
46c9bfc067 Add in 'hostname_override' configuration
Add in a new configuration option to override the system hostname
rather than rely on DNS (which may not be correctly configured on
the system)

Github issue #158
2024-10-14 22:48:50 +01:00
Duncan Ferguson
4188dc980f
Merge pull request #155 from cqexbesd/ref
Don't check config is a HASH
2024-05-12 08:21:11 +01:00
Andrew Stevenson
4ea91d4e68 Don't check config is a HASH
At some point `$self->config()` started returning a `bless`ed object so
checking it was a `HASH` began to fail, preventing someone using natural
sort. AFAIK the config option always has to behave as a hash so it should be
safe to avoid this test.
2023-07-31 16:40:10 +02:00
Duncan Ferguson
b302a7724f
Merge pull request #149 from GerMalaz/4k_displays_bigger_menu
Bigger menu for 4k (or bigger) displays
2023-06-11 11:40:59 +01:00
Duncan Ferguson
387190e8f6
Merge pull request #138 from babs/override_via_env
Override config via cssh_* environment variables
2023-06-11 11:40:26 +01:00
Duncan Ferguson
618602f496
Merge pull request #150 from tmancill/perl-issue-20103
Don't try to open a directory as the config file
2023-06-11 11:39:50 +01:00
tony mancill
cffe20e5ae Update t/15config.t test note to differentiate from another test 2023-01-04 22:07:41 -08:00
tony mancill
5eae528662 Don't try to open a directory as the config file
This patches load_configs() to check that the $config being opened is
actually a file and not a directory, which was tripping up the tests
that assert that there is an error when the config file cannot be
written because a directory already exists.

Until recently, the attempt to read the directory as a file was being
silently ignored due to a latent bug in Perl; more about that here:

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1016369

and

  https://github.com/Perl/perl5/pull/20103

This addresses a bug filed against the Debian package for clusterssh
when t/15config.t tests started failing after the Perl bug was fixed.

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1026735
2023-01-04 22:07:41 -08:00
Gerardo Esteban Malazdrewicz
00d8aa0ebd Bigger menu for 4k (or bigger) displays
Detects screen size based on $xdisplay data.
If 4k or bigger uses Nimbus 14 for the menu.

Fixes #136.
2023-01-04 05:24:00 -04:00
Duncan Ferguson
e11cc83620
Merge pull request #141 from tmancill/minor-typos
address minor typos in manpage for ClusterSSH and ClusterSSH::Host
2021-06-29 08:48:48 +01:00
Duncan Ferguson
70b4731659
Merge pull request #140 from tmancill/startup-vars
warn user when short-circuiting initialisation
2021-06-29 08:47:55 +01:00
tony mancill
4b317108fe
address minor typos in manpage for ClusterSSH and ClusterSSH::Host 2021-06-27 12:23:12 -07:00
tony mancill
0b5b5c8608 warn user when short-circuiting initialisation
See Debian bug report and discussion here:
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=989679

The bug submitter suggests using a mechanism like the following to
prevent test failures when Tk isn't present:
  5cf873739e/t/config-model-ui.t (L96)
2021-06-27 12:07:49 -07:00
Damien Degois
5ddb7dbe83 Override confuration via environment variable using cssh_ prefix (works with upper and lower case)
Squash commit.
2021-04-01 10:28:09 +02:00
Duncan Ferguson
6cbec687bd Merge branch 'master' of github.com:duncs/clusterssh 2020-06-20 10:33:19 +01:00
Duncan Ferguson
c3a2336b09 Further fix for resolve_names error
Correct a further two method calls
2020-06-20 10:30:48 +01:00
Duncan Ferguson
0505630d15
Merge pull request #133 from pevik/fix-regression-v4.15
helper: Fix missing space separator for ssh_args
2020-05-27 09:15:03 +01:00
Petr Vorel
bf6e9d0648 helper: Fix missing space separator for ssh_args
Docs suggest using ssh_args without space at the end
ssh_args = "-x -o ConnectTimeout=10"

+ remove also trailing space in another line.

Fixes: 82f8845 ("Add in 'command_pre' and 'command_post' configs")

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
2020-05-22 11:20:30 +02:00
Duncan Ferguson
b35f198f08 v4.15 2020-05-18 08:22:32 +01:00
Duncan Ferguson
208889e36d Mark perms test as TODO
This test appears to be inconsistent and needs further investigation to
work out why
2020-04-21 08:29:12 +01:00
Duncan Ferguson
4674b20fb9 Add lib path to range.t
Some users have picked up on failing tests due to "use lib" not being set
in the range.t test file
2020-04-21 08:25:55 +01:00
Duncan Ferguson
276cab7014 Fix 'Add Host' menu error finding 'resolved_names' 2020-04-19 20:08:07 +01:00
Duncan Ferguson
82f88450d0 Add in 'command_pre' and 'command_post' configs
This allows for running commands before and after the comms method in
the command pipeline, such as setting up python virtual environments
and piping output through other commands
2020-04-18 17:05:00 +01:00
Duncan Ferguson
7fe7c69769 Include all utilies within each man page
Explicitly list each util in the help pages to make it more obvious they
exist
2020-04-18 13:13:47 +01:00
Duncan Ferguson
6ec912aac2 Release 4.14 2019-08-21 21:15:44 +01:00
Duncan Ferguson
dab4fa2237 Add in macro_user_1 .. 4
Add in user macros that can run an external command to pass into each
client terminal session.  Ensure that if no user command is defined that
the expected 'Alt-1' to 'Alt-4' keys are passed into the terminals
instead.

Include docs and examples of how they might be used.
2019-03-28 22:52:03 +00:00
Duncan Ferguson
900d0fabb6
Merge pull request #119 from pevik/fix-typo
doc: Fix typo s/quiting/quitting/
2019-03-17 16:42:57 +00:00
Petr Vorel
e039fef919 doc: Fix typo s/quiting/quitting/
Fixes: #118

Reported-by: Tony Mancill <tmancill@debian.org>
Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
2019-03-16 20:20:02 +01:00
Duncan Ferguson
805f97cd78 Include github issue in changes log 2019-03-16 14:59:08 +00:00
Duncan Ferguson
40079d23d9 Perltidy 2019-03-16 14:56:49 +00:00
Duncan Ferguson
6529bccdbd Correct macro_hostname to be as per the docs
macro_hostname should be the FQDN of the server where cssh is being run
2019-03-16 14:54:31 +00:00
Duncan Ferguson
dd33799eb7 Mark github issue in changes log 2019-03-16 14:40:04 +00:00
Duncan Ferguson
537c4c2572 Add 'auto quit' setting to the File menu
The initial value for "auto quit" is taken from the config file but can
be overridden within the console UI for that session.

Although menu code for "auto close" is added, the functionality does not
work as expected.  This is because the setting is put onto each terminal
when it is opened and is not updated thereafter.
2019-03-16 14:35:16 +00:00
Duncan Ferguson
2712379084 Update docs with version bump 2019-03-16 09:06:05 +00:00
Duncan Ferguson
fb4b90886b Skip release tests unless releasing 2019-03-16 09:04:23 +00:00
Duncan Ferguson
40d0bd4b8f Include generated README in the repository
This is so releases downlaoded directly from github pass tests and
also so the project page has the text available
2019-03-16 08:14:06 +00:00
Duncan Ferguson
73657d2fa3 4.13.2_02 release 2019-01-14 20:06:43 +00:00
Duncan Ferguson
ee3677dcd9 Fix Sort::Naturally error output 2019-01-14 20:05:27 +00:00
Duncan Ferguson
7095383762 More author test prereqs for newer perls
Also mark 'dev' as allowed build failures
2018-12-01 18:44:31 +00:00
Duncan Ferguson
006216faff Force install author repreqs 2018-12-01 18:36:42 +00:00
Duncan Ferguson
49828a49d0 Add author mods to travis config
Add required modules for author testing to the travis build environment
2018-12-01 18:30:26 +00:00
Duncan Ferguson
2fc4516740 Disable author testing 2018-12-01 17:59:07 +00:00
Duncan Ferguson
6fbc2a3eab Amend README generation order 2018-12-01 17:55:57 +00:00
Duncan Ferguson
204048ecc5 Author dependancies
Delare some prereqs used when authoring
2018-12-01 17:47:32 +00:00