Permalink
Browse files

releng work for the 0.027 release.

  • Loading branch information...
1 parent 67287ae commit 9304414385ef7cc58afec14f88a594e6fff65c40 @agentzh committed Aug 25, 2011
Showing with 90 additions and 33 deletions.
  1. +1 −1 Changes
  2. +2 −2 META.yml
  3. +1 −1 Makefile.PL
  4. +12 −6 README
  5. +17 −2 bin/atnodes
  6. +3 −1 bin/key2nodes
  7. +3 −1 bin/tonodes
  8. +25 −7 lib/SSH/Batch.pm
  9. +26 −12 lib/SSH/Batch/ForNodes.pm
View
@@ -1,4 +1,4 @@
-0.025
+0.027
- update variable format check to \w[-\.\w]*
- added the SSH_BATCH_PASSPHRASE environment for -P and
SSH_BATCH_PASSWORD env for -w
View
@@ -1,7 +1,7 @@
---
abstract: 'Cluster operations based on parallel SSH, set and interval arithmetic'
author:
- - 'Agent Zhang <agentzh@yahoo.cn>'
+ - "Zhang \"agentzh\" Yichun <agentzh@gmail.com>"
build_requires:
ExtUtils::MakeMaker: 6.42
IPC::Run3: 0
@@ -30,4 +30,4 @@ requires:
resources:
license: http://opensource.org/licenses/bsd-license.php
repository: http://github.com/agentzh/sshbatch
-version: 0.025
+version: 0.027
View
@@ -4,7 +4,7 @@ use inc::Module::Install;
name ('SSH-Batch');
license ('bsd');
-author ('Agent Zhang <agentzh@yahoo.cn>');
+author ('Zhang "agentzh" Yichun <agentzh@gmail.com>');
perl_version ('5.006001');
all_from ('lib/SSH/Batch.pm');
View
18 README
@@ -3,7 +3,7 @@ NAME
arithmetic
VERSION
- This document describes SSH::Batch 0.025 released on 25 August 2011.
+ This document describes SSH::Batch 0.027 released on 25 August 2011.
SYNOPSIS
The following scripts are provided:
@@ -363,17 +363,19 @@ TODO
* Add the betweennodes script to transfer files between clusters
through localhost.
-SEE ALSO
- fornodes, atnodes, tonodes, key2nodes, SSH::Batch::ForNodes,
- Net::OpenSSH.
+AUTHORS
+ * Zhang "agentzh" Yichun (章亦春) "<agentzh@gmail.com>"
-COPYRIGHT AND LICENSE
+ * Liseen Wan (万珣新)
+
+COPYRIGHT & LICENSE
This module as well as its programs are licensed under the BSD License.
Copyright (c) 2009, Yahoo! China EEEE Works, Alibaba Inc. All rights
reserved.
- Copyright (C) 2009, Agent Zhang (agentzh). All rights reserved.
+ Copyright (C) 2009, 2010, 2011, Zhang "agentzh" Yichun (章亦春). All rights
+ reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
@@ -403,3 +405,7 @@ COPYRIGHT AND LICENSE
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+SEE ALSO
+ fornodes, atnodes, tonodes, key2nodes, SSH::Batch::ForNodes,
+ Net::OpenSSH.
+
View
@@ -396,13 +396,28 @@ Please refer to L<SSH::Batch> for more documentation.
L<fornodes>, L<tonodes>, L<key2nodes>, L<SSH::Batch>, L<Net::OpenSSH>.
-=head1 COPYRIGHT AND LICENSE
+=head1 AUTHORS
+
+=over
+
+=item *
+
+Zhang "agentzh" Yichun (章亦春) C<< <agentzh@gmail.com> >>
+
+=item *
+
+Liseen Wan (万珣新)
+
+=back
+
+
+=head1 COPYRIGHT & LICENSE
This module as well as its programs are licensed under the BSD License.
Copyright (c) 2009, Yahoo! China EEEE Works, Alibaba Inc. All rights reserved.
-Copyright (C) 2009, Agent Zhang (agentzh). All rights reserved.
+Copyright (C) 2009, 2010, 2011, Zhang "agentzh" Yichun (章亦春). All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
View
@@ -253,6 +253,8 @@ _EOC_
}
__END__
+=encoding utf-8
+
=head1 NAME
key2nodes - Push SSH public keys to remote clusters
@@ -305,7 +307,7 @@ This module as well as its programs are licensed under the BSD License.
Copyright (c) 2009, Yahoo! China EEEE Works, Alibaba Inc. All rights reserved.
-Copyright (C) 2009, Agent Zhang (agentzh). All rights reserved.
+Copyright (C) 2009, 2010, 2011, Zhang "agentzh" Yichun (章亦春). All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
View
@@ -375,6 +375,8 @@ _EOC_
}
__END__
+=encoding utf-8
+
=head1 NAME
tonodes - Upload local files/directories to remote clusters
@@ -438,7 +440,7 @@ This module as well as its programs are licensed under the BSD License.
Copyright (c) 2009, Yahoo! China EEEE Works, Alibaba Inc. All rights reserved.
-Copyright (C) 2009, Agent Zhang (agentzh). All rights reserved.
+Copyright (C) 2009, 2010, 2011, Zhang "agentzh" Yichun. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
View
@@ -1,20 +1,24 @@
+# vim:set ft=perl ts=4 sw=4 et
+
package SSH::Batch;
use strict;
use warnings;
-our $VERSION = '0.025';
+our $VERSION = '0.027';
1;
__END__
+=encoding utf-8
+
=head1 NAME
SSH::Batch - Cluster operations based on parallel SSH, set and interval arithmetic
=head1 VERSION
-This document describes SSH::Batch 0.025 released on 25 August 2011.
+This document describes SSH::Batch 0.027 released on 25 August 2011.
=head1 SYNOPSIS
@@ -367,18 +371,27 @@ localhost.
=back
-=head1 SEE ALSO
+=head1 AUTHORS
-L<fornodes>, L<atnodes>, L<tonodes>, L<key2nodes>,
-L<SSH::Batch::ForNodes>, L<Net::OpenSSH>.
+=over
+
+=item *
-=head1 COPYRIGHT AND LICENSE
+Zhang "agentzh" Yichun (章亦春) C<< <agentzh@gmail.com> >>
+
+=item *
+
+Liseen Wan (万珣新)
+
+=back
+
+=head1 COPYRIGHT & LICENSE
This module as well as its programs are licensed under the BSD License.
Copyright (c) 2009, Yahoo! China EEEE Works, Alibaba Inc. All rights reserved.
-Copyright (C) 2009, Agent Zhang (agentzh). All rights reserved.
+Copyright (C) 2009, 2010, 2011, Zhang "agentzh" Yichun (章亦春). All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
@@ -400,3 +413,8 @@ Neither the name of the Yahoo! China EEEE Works, Alibaba Inc. nor the names of i
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+=head1 SEE ALSO
+
+L<fornodes>, L<atnodes>, L<tonodes>, L<key2nodes>,
+L<SSH::Batch::ForNodes>, L<Net::OpenSSH>.
+
View
@@ -1,9 +1,11 @@
+# vim:set ft=perl ts=4 sw=4 et
+
package SSH::Batch::ForNodes;
use strict;
use warnings;
-our $VERSION = '0.025';
+our $VERSION = '0.027';
use Set::Scalar;
use File::HomeDir;
@@ -27,14 +29,14 @@ sub clear_universe () {
}
sub init_rc () {
- my $rcfile = $ENV{SSH_BATCH_RC} || q();
- if(! $rcfile){
- my $home = $ENV{SSH_BATCH_HOME} || File::HomeDir->my_home;
- if (!defined $home || !-d $home) {
- die "Can't find the home for the current user.\n";
- }
- $rcfile = "$home/.fornodesrc";
- }
+ my $rcfile = $ENV{SSH_BATCH_RC} || q();
+ if(! $rcfile){
+ my $home = $ENV{SSH_BATCH_HOME} || File::HomeDir->my_home;
+ if (!defined $home || !-d $home) {
+ die "Can't find the home for the current user.\n";
+ }
+ $rcfile = "$home/.fornodesrc";
+ }
# auto create $rcfile if $rcfile not exists
if (! -e $rcfile) {
@@ -275,6 +277,8 @@ sub expand_wildcards ($) {
1;
__END__
+=encoding utf-8
+
=head1 NAME
SSH::Batch::ForNodes - Expand set arithmetic expression to host list
@@ -291,17 +295,27 @@ SSH::Batch::ForNodes - Expand set arithmetic expression to host list
print "$host\n";
}
-=head1 AUTHOR
+=head1 AUTHORS
-Agent Zhang (agentzh) C<< <agentzh@yahoo.cn> >>
+=over
+
+=item *
+
+Zhang "agentzh" Yichun (章亦春) C<< <agentzh@gmail.com> >>
+
+=item *
+
+Liseen Wan (万珣新)
+
+=back
=head1 COPYRIGHT AND LICENSE
This module as well as its programs are licensed under the BSD License.
Copyright (c) 2009, Yahoo! China EEEE Works, Alibaba Inc. All rights reserved.
-Copyright (C) 2009, Agent Zhang (agentzh). All rights reserved.
+Copyright (C) 2009, 2010, 2011, Zhang "agentzh" Yichun (章亦春). All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

0 comments on commit 9304414

Please sign in to comment.