Commit graph

554 commits

Author SHA1 Message Date
Duncan Ferguson
595cfab20c Improve host tests t/10host.t
Use a randomly generated hostname to prevent a clash where a user had a host called 'hostname' on their network

Github issue #23
2015-09-30 17:45:45 +01:00
Duncan Ferguson
efcc12e1d5 Remove unnecessary code 2015-09-30 17:37:24 +01:00
Duncan Ferguson
b77830dea5 Fix configuration tests for 'use_natural_sort=0' 2015-09-21 22:35:16 +01:00
Duncan Ferguson
153709b220 Fix ccon and ctel not working correctly
Prevent ssh options being applied on non-ssh connections.  Github issue #35
2015-09-21 22:19:22 +01:00
Duncan Ferguson
5fad534ef0 Fix perltidy tests 2015-09-21 21:07:03 +01:00
Duncan Ferguson
e83887c9b7 Fix Metadata file info
Correct bugtracker links in metadata files - Github issue #41
2015-09-21 21:02:44 +01:00
Duncan Ferguson
7136c515a6 Include recent patches in changes 2015-05-01 20:45:08 +01:00
Duncan Ferguson
56d5a163df Merge branch 'master' of github.com:duncs/clusterssh 2015-05-01 20:42:06 +01:00
Duncan Ferguson
264391660d Include bash completion script in the distribution
The bash completion script was contributed some time ago by Aaron Spettl but never included.  Time to correct that...

Github issue #29
2015-05-01 20:40:06 +01:00
Duncan Ferguson
b288fa217b Merge pull request #28 from cqexbesd/sort
Allow sorting windows in natural order
2015-04-07 21:55:20 +01:00
Duncan Ferguson
3e06edfbe5 Merge pull request #27 from cqexbesd/readd
Allow re-adding closed sessions
2015-04-07 21:54:41 +01:00
Andrew Stevenson
ed49237f52 Support natural sorting for the order of hosts
Both window order and order in the hosts menu

Fixes #24
2015-03-23 13:10:35 +01:00
Andrew Stevenson
4b02448f0a Don't import Carp twice 2015-03-19 17:58:01 +01:00
Andrew
576ace2e3d Allow re-adding of previously closed sessions
Keep track of which sessions are closed and allow the user to re-add
them in one go. Useful in environments with a lot of network problems.
2015-03-19 17:53:36 +01:00
Andrew
f23821af6f Don't hardcode the number of static menu entries 2015-03-19 17:50:09 +01:00
Duncan Ferguson
61449301d0 Correct typo 2015-01-31 10:56:32 +00:00
Duncan Ferguson
b002b1aac2 Correct reference to previous version (4.04_04 vs the correct 4.03_04) 2015-01-31 10:55:30 +00:00
Duncan Ferguson
5fbc452d29 Version 4.03_06 release changes 2015-01-31 10:50:36 +00:00
Duncan Ferguson
c53eedaf1c Update version and changes file with patch from Andrew Stevenson 2015-01-31 10:47:30 +00:00
Duncan Ferguson
ef13feb390 Merge pull request #21 from cqexbesd/logmsg
logmsg -> $self->debug
2015-01-24 18:34:04 +00:00
Andrew Stevenson
4045bb467b logmsg -> $self->debug
logmsg is no more

Fixes #20
2015-01-21 17:48:37 +00:00
Duncan Ferguson
74720d6b2f Version 4.03_05 release changes 2014-12-20 22:28:22 +00:00
Duncan Ferguson
6f30f9976e Fix Changes file test 2014-12-20 18:18:27 +00:00
Duncan Ferguson
fb4d991053 Fix some tests failures
Fix failures picked up via cpantesters
- Bump version
- Remove accidental duplicate option in test file
- Add TODO to test for duplicate options correctly
- Fix test error when @ARGV is set to undef when this should never happen
2014-12-20 18:05:08 +00:00
Duncan Ferguson
457c3e8e1c Version 4.03_04 release changes 2014-12-12 17:31:14 +00:00
Duncan Ferguson
e528584eb0 Correct version/history and add in recent changes 2014-12-12 17:23:38 +00:00
Duncan Ferguson
9b21aaaa61 Fix case when the terminal isn't installed
Fix the case when the configured terminal isn't actually on the system.  Alert for the problem rather than attempt to continue and hang.
2014-12-12 17:18:19 +00:00
Duncan Ferguson
97ec81692a Fix ordering; config needs clusters 2014-12-12 17:15:43 +00:00
Duncan Ferguson
76b8096dcc Tidyups from getting perltidy working better 2014-12-12 10:26:09 +00:00
Duncan Ferguson
d684b077fd Rearrange initialisation order 2014-12-12 10:25:03 +00:00
Duncan Ferguson
fdf4d0c1dd Merge branch 'master' of github.com:duncs/clusterssh 2014-12-11 20:19:19 +00:00
Duncan Ferguson
4971005d17 Version bump and prereq change 2014-12-11 20:19:15 +00:00
Duncan Ferguson
02942e7e24 Reduce unnecessary output
Don't show what windows are going to be opened if there are none.
2014-11-25 20:25:04 +00:00
Duncan Ferguson
6bf4b932ee Do not use system perl
Use whichever perl is configured first on the users PATH, not the system perl.  This fixes problems when building in a perlbrew environment.
2014-11-23 22:01:34 +00:00
Duncan Ferguson
f169e544fd Fix perltidy test
Remove taint mode so $PERL5LIB is used as expected
Exclude Makefile.PL since it doesn't matter if it isn't tidy
2014-11-18 21:03:00 +00:00
Duncan Ferguson
3cfb83c0d6 Fix building on a brand new system
Require modules rather than use to prevent Build.PL dying before prereq's can be checked
2014-11-18 21:01:01 +00:00
Duncan Ferguson
c4211a1ee5 Fix perltidy test 2014-09-28 09:03:19 +01:00
Duncan Ferguson
12587955b2 Remove history when window closed
Thanks for patch to Bill Rushmore
2014-09-28 09:01:31 +01:00
Duncan Ferguson
56dfd55d30 Fix duplicate attribution 2014-09-20 13:36:59 +01:00
Duncan Ferguson
5d5634c4cc Options file to ensure files are perltidied to a common standard 2014-09-19 23:33:56 +01:00
Duncan Ferguson
f8ed9da353 Ensure code is run through 'perltidy -pbp -nst -nse' 2014-09-19 23:33:08 +01:00
Duncan Ferguson
d9446aa28a Fix Pod::Coverage test 2014-09-19 23:18:22 +01:00
Duncan Ferguson
296580227a Record patch by Andrew (cqexbesd) 2014-09-19 23:14:33 +01:00
Duncan Ferguson
c07d283958 Merge branch 'cqexbesd-random' 2014-09-19 23:11:48 +01:00
Duncan Ferguson
9962aa08f8 Merge branch 'random' of https://github.com/cqexbesd/clusterssh into cqexbesd-random 2014-09-19 23:06:46 +01:00
Duncan Ferguson
8aaea928d7 Ensure ssh_args in config file is honored
Because the default value is defined for --options parameter, the config file value was always overwritten

Only use --options if config file option is not defined and --options is not the default value
2014-09-19 23:01:41 +01:00
Duncan Ferguson
26e783be1c Skip permissions check test when run as root
This is because root has access to the file even when it is locked down in this simple test, so it always fails

Github issue: 11

Thanks to Deny Dias
2014-09-19 22:39:48 +01:00
Duncan Ferguson
a93b3f3cac Force tests to have English locale
Important when user has something else set else tests can fail

Github issue: 10

Thanks to Emanuele Tomasi
2014-09-19 22:33:33 +01:00
Duncan Ferguson
f88353d3dd Fix behaviour when no cluster command defined
Also tidyup output to 'cssh -L' when no external clusters defined
2014-08-10 10:37:34 +01:00
Andrew Stevenson
bc45e0cac7 Add "send random number" menu option
Add a new option in the send menu to send a random integer from 0 to
1023 to each host. This can be used to spread load across resources
or delay the activation of commands to spread load across time.

e.g. sleep $(( [random] % 10)) &&
		fetch http://srv-$(( [random] % 5 )).small.server/file
2014-07-24 16:09:44 +00:00