Duncan Ferguson
4c38c4d1f4
Fix perl intepreter for use under perlbrew
2015-11-04 09:56:52 +00:00
Duncan Ferguson
94d3bca20e
Merge pull request #43 from mperry2/move_send_menu
...
Move send menu file to $HOME/.clusterssh directory
2015-10-01 07:32:55 +01:00
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
Matt Perry
dda4297711
Move send menu file to $HOME/.clusterssh directory
...
Move send menu file from $HOME/.csshrc_send_menu to $HOME/.clusterssh
directory.
2015-09-26 09:25:52 -07:00
Duncan Ferguson
b77830dea5
Fix configuration tests for 'use_natural_sort=0'
2015-09-21 22:35:16 +01: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
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
76b8096dcc
Tidyups from getting perltidy working better
2014-12-12 10:26:09 +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
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
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
Duncan Ferguson
f22bce3cb1
Fix test after fixing -v option
2014-07-09 20:32:38 +01:00
Duncan Ferguson
d7d9f83b15
Correct ctel pod
...
Amend references to ssh in the pod to be either the comms binary (telnet, rsh) or more generic wording
2014-07-05 23:26:06 +01:00
Duncan Ferguson
085803c328
List external clusters
...
List on command line (cssh -L) and in 'add host' dialogue in GUI
2014-07-05 20:26:44 +01:00
Duncan Ferguson
c6747288d5
Improve test coverage
2014-07-04 21:41:52 +01:00
Duncan Ferguson
3e2392e9b6
Improve test coverage
2014-07-02 22:39:36 +01:00
Duncan Ferguson
0853d8fee6
Alternative IPv6 address port
...
Allow for parsing ports from 'xxxx:xxxx:xxxx:xxxx/pppp' style IPv6 addresses
2014-07-02 18:48:06 +01:00
Duncan Ferguson
d439a777b3
Create initial test file
2014-07-01 19:07:52 +01:00
Duncan Ferguson
f344270921
Add wondow geomerty into host spec
...
Also improve host tests to be more comprehensive and understandable
2014-02-01 13:47:42 +00:00
Duncan Ferguson
cd1abe15b9
Amend Changes file format
...
This is to match CPAN::Changes spec, which also allows for tests.
Also add 'email' Build rule to help generate announcement email
2014-01-31 21:05:17 +00:00
Duncan Ferguson
3fa50f0b49
Add in config for macro's
...
Allow for changing macro strings. Also add option in UI to enable/disable macro processing
2014-01-13 18:44:12 +00:00
Duncan Ferguson
583c8bbe53
Fixed the default cluster not being opened
...
This was due to a method being called in scalar context, which returned incorrect detail
Reported by Aaron C. de Bruyn
2014-01-04 15:07:34 +00:00
Duncan Ferguson
6aca350f8b
Add in key shortcut for local hostname macro
...
Another useful macro to have - ALT-l
2013-04-21 22:13:54 +01:00
Duncan Ferguson
b93253123d
Add in key shortcut for username (ALT-u)
...
Seems a useful shortcut to have
2013-04-21 22:05:17 +01:00
Duncan Ferguson
5ea730aff9
Fix tests
2013-04-16 09:23:03 +01:00
Duncan Ferguson
ea811ba639
Run through 'perltidy -pbp'
...
Standardise the code layout
2013-04-15 21:56:19 +01:00
Duncan Ferguson
d7e116e470
Functionality to call external command
...
Code and tests to call the external command
2013-04-15 21:34:05 +01:00
Duncan Ferguson
f1546a0d7d
Resolving tags by external command
...
Start coding up resolving tags by an external command instead of a cluster or tag file
2013-03-25 13:13:03 +00:00
Duncan Ferguson
6fccd92d6a
Bring new 'tag' file into use
...
/etc/tags and $HOME/.clusterssh/tags is now used
Refacter some code to make it clearer and update docs for new options
2013-03-19 21:06:00 +00:00
Duncan Ferguson
b2ba4daa46
Start of tags file handling
...
Refactor file loading code into one place since it should all work in a similar way.
Added in tag functionality.
- Cluster files are: tag host host host host
- Tag files are: host tag tag tag
Yes to add in remainder of code to load in the files automatically
2013-03-16 21:56:56 +00:00
Duncan Ferguson
2ab7527633
Fix TODO's since they are actually done
2013-03-15 18:29:38 +00:00
Duncan Ferguson
402f6c34a9
Don't set default user name in configuration file
...
Setting the default username in the config file will override ssh settings, which is generally not what is wanted. Show the option in generated config files but commented out.
2013-03-08 07:58:39 +00:00
Duncan Ferguson
72e37269fb
Fix 'ccon'
...
Fixed 'ccon' not calling the correct command
Sf bug 3605002
2013-02-26 20:10:01 +00:00
Duncan Ferguson
244c657f51
Ensure tests all OK
2013-02-15 08:47:09 +00:00
Duncan Ferguson
5edca936ed
Fix test when run as root
...
Root user cannot easily be prevented from accessing a no-access file so don't run the test if run as root
2013-02-14 23:35:20 +00:00
Duncan Ferguson
a7296983e6
Move .csshrc to .csshrc.DISABLED
...
Move the old config file to one side since it should no longer be used and the error was more annoying than useful
Also catch perltidy from previous commit
2013-02-13 22:10:30 +00:00
Duncan Ferguson
7755a60161
Allow the path to the comms binary to be set
...
This allows for users to specify using an alternative binary for rsh/ssh/telnet, no matter what $PATH is set to, otherwise will just use the first binary found on $PATH
2013-02-13 21:41:30 +00:00
Duncan Ferguson
9695b3a4f0
Reinstate 'user' config option
...
Add 'user=' back into the config file
Add newlines for some error messages
2013-02-13 17:50:26 +00:00
Duncan Ferguson
5e51e41790
Fix tests
...
Display differences between expected and actual strings more readily by using Test::Differences
2012-11-26 21:42:06 +00:00
Joe Atzberger
0fe9523e08
Update t/15config.t
...
Your home is not my home.
2012-09-21 02:11:03 -03:00
Duncan Ferguson
0f51bb95c3
Add in missing MANIFEST files
...
Also add in tests to ensure it doesn't happen again
2011-12-09 08:37:23 +00:00
Duncan Ferguson
3c3e145199
Bring option processing back into use
2011-11-25 22:09:33 +00:00
Duncan Ferguson
2b7ec74e6a
Add in auto_close functionality
...
Set whether terminal windows close after given numnber of seconds or wait until input given into terminal windows
2011-11-24 21:49:08 +00:00
Duncan Ferguson
23483ce362
Improve Cluster module functionality
...
Add in extra functionality to load in and record tags and their hosts
2011-11-24 21:47:37 +00:00
Duncan Ferguson
cd4c59b12e
Further work on getting cluster module working
2011-11-21 18:02:26 +00:00
Duncan Ferguson
26e3ab7ef7
Start of cluster module
2011-11-18 22:44:08 +00:00
Duncan Ferguson
be0ff95430
Get the hostname reolution code working again
...
Fix option -A (use_all_a_records)
2011-11-18 22:31:12 +00:00