-
Notifications
You must be signed in to change notification settings - Fork 6
/
ChangeLog
253 lines (253 loc) · 12.5 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
2015-01-21 Jon McKenzie <jcmcken at gmail.com>
* Version 3.4.0
- Added the --env option to ``pssh``, for use with ``--script``. This
allows the user to pass ``KEY=VALUE`` pairs to inject into the
environment of the executing script. E.g. ``pssh --script
/tmp/some-script.sh --env foo=bar ...etc...``.
2014-04-06 Jon McKenzie <jcmcken at gmail.com>
* Version 3.3.0
- Added the --copy-to option for pssh, which allows you to configure
where the script (--script) gets copied on the remote end.
- If a shebang line exists in the script passed to --script, the script
will be executed using the runtime from that shebang rather than a
straight execution. This fixes an issue where the --copy-to location
is a device mounted with the noexec option.
- Added the --runtime option for pssh, which allows you to manually set
the script (--script) runtime to use.
- Added the --debug option for all p-utilities. Currently not much is
logged, however.
- The --args option now correctly accepts multiple arguments.
- An RPM spec file for Red Hat Enterprise Linux 5/6 (and derivatives)
was added.
2012-12-29 Jon McKenzie <jcmcken at gmail.com>
* Version 3.2.2
- Fixed a bug with --script where pssh would interpret a run as a success when
the script could not be written on the remote side due to a full disk device.
2012-05-04 Jon McKenzie <jcmcken at gmail.com>
* Version 3.2.1
- Added --args companion option for --script, for passing arguments to
the script when run on remote host.
2012-02-05 Jon McKenzie <jcmcken at gmail.com>
* Version 3.1.1
- Fixed a bug with blank lines in host files (Issue #20).
- Fixed Python 2.4 compatibility vis-a-vis the hashlib module. (Issue
#21)
- Fixed Python 2.5/2.6 compatibility vis-a-vis use of the special _sqlite
module. (Issue #22)
2012-01-16 Jon McKenzie <jcmcken at gmail.com>
* Version 3.1.0
- Added PSSH --sudo companion option for --script, which executes the script as root
if user has passwordless sudo permissions.
2012-01-15 Jon McKenzie <jcmcken at gmail.com>
* Version 3.0.0
- Added -s/--summary option, for printing success/failure summary after a run
- Added -B/--progress-bar option, for printing a progress bar instead of task
output.
- Added --sample-size option, for running against a host sample
- Added --host-regexp option, for filtering hosts based on a regular expression
- Added -T/--test option, for splitting up a run so that you can first verify
your command succeeds on a small number of servers before continuing on the rest.
- Added a -F/--fork-hosts option, which outputs all successful hosts to one file and all
failed hosts to another file. Useful for running follow-up tasks
- Added --sqlite-db option for PSSH. After a run, dumps all task data to a sqlite DB.
- Added --pickle-file option for PSSH. After a run, pickles all task data and dumps to file.
- Added --script option for PSSH. Runs supplied script on all remote machines instead of
running the given command.
- Help output for all scripts now uses option groups, making it more readable
- UI functionality split out into its own submodule 'psshlib.ui'
- Host lists are now computed using the ServerPool class in the new submodule
'psshlib.hosts'
- Refactored and minified all scripts. All logic is now implemented in 'psshlib.cli'.
Makes it easy to programmatically call any of the CLIs without hacking at sys.path
- Completely refactored many parts of the API, making things easier to maintain and
extend.
2011-02-02 Andrew McNabb <amcnabb at mcnabbs.org>
* Version 2.2.2
- Fixed two crashes (issues 35 and 36). One affects Python <= 2.5
and the other affects all of the scripts except pssh.
2011-01-26 Andrew McNabb <amcnabb at mcnabbs.org>
* Version 2.2.1
- Fixed a crash when the -l option was used in conjunction with a
hosts file (issue #34).
2011-01-21 Andrew McNabb <amcnabb at mcnabbs.org>
* Version 2.2
- Added a basic man page for pssh (issue #10).
- Fixed askpass to work correctly in the presence of non-password
prompts from ssh (issue #23).
- Updated the -O option so that it can be specified multiple times
(issue #25). Thanks to soham.mehta for the patch.
- Fixed host file loader to give an error instead of a backtrace
if a file is not found.
- Fixed prsync's "-ssh-args" mangling of its argument (issue #24).
Thanks to jbyers for the patch.
- Fixed some variable names to appease pylint. Thanks to solj for
the patch.
- Improved pscp to be able to copy multiple local files. Thanks
to Carlo Marcelo Arenas Belon for the patch.
- Deprecated the PSSH_HOSTS environment variable that seems to
cause more problems than it's worth.
- Added the ability to set multiple hosts with a single -H flag
(issue #26). Thanks to [email protected] for the patch.
- Stopped passing "-q" to ssh by default (this masked error messages
and reduced usability).
- Removed automatic reading from stdin (deprecated in version 2.1).
Please use the "-I" option instead.
- Added meaningful exit status codes (issue #30).
- Other minor fixes
2010-02-26 Andrew McNabb <amcnabb at mcnabbs.org>
* Version 2.1.1
- Fixed a problem causing PSSH to crash with Python 2.4.
2010-02-24 Andrew McNabb <amcnabb at mcnabbs.org>
* Version 2.1
- Added support for Python 3.0 and 3.1. Although PSSH has only
been lightly tested with Python 3, anything that doesn't work
in Python 3 is officially a bug.
- Added a "-H" option for specifying hosts one-by-one instead of
or in addition to a hosts file.
- Added "-x" and "-X" options for passing extra command-line
arguments to ssh and rsync. Also added a "-S" option to prsync
for the special case of passing extra arguments to ssh
(issue #2).
- Added a "-I" option for specifying that pssh should read from
standard input, and added a deprecation warning when standard
input is used without this option (issue #12).
- Made the command argument optional when the "-I" option is
given, so a script can be passed to pssh on standard input
(issue #5).
- If a username or port is given, these are now included in the
output filename, which allows different connections to be
distinguished from each other (issue #7).
- Added the pssh-askpass wrapper as a standalone script because
setup.py was removing the executable bit from askpass.py. This
fixes a "permission denied" error when using the -A option
(issue #8).
- Fixed a problem where pssh was unnecessarily specifying a
username (issue #14).
- Fixed a delay due to a lost SIGCHLD signal.
- Removed extra spaces between output chunks in outdir files
(issue #6). Thanks to knutsen for the fix.
- Fixed a bug where pscp passed the wrong option for sending scp
a custom port. Thanks to Jan Rafaj for the patch.
- Fixed prsync to send the port as an option to ssh (issue #1).
Thanks to Ryan Brothers for the fix.
2009-10-20 Andrew McNabb <amcnabb at mcnabbs.org>
* Version 2.0
- Rewrote communication code to be more efficient. PSSH now
operates with only one or two threads.
- Added the ability to interrupt PSSH (with CTRL-c).
- Added an option to prompt for a password.
- Refactored code into a distinct library (psshlib).
2008-10-12 Brent N. Chun <bnc at theether.org>
* Version 1.4.3
- Fixed bug in select_wrap. If timeout is None (e.g., the
default for prsync, etc.), then never time out. Bug reported
by Carlo Marcelo Arenas Belon (carenas at sajinet.com.pe).
- Catch getopt exceptions and print usage as well as getopt
exception string. Contribution from Carlo Marcelo Arenas
Belon (carenas at sajinet.com.pe).
- Added contribution from Bas van der Vlies (basv at sara.nl)
to allow comments in hosts file. Comments must begin with
# character (leading whitespace is also allowed).
- Restore file status bugs after reading stdin in pssh.
- Fixed typo bug in pslurp when using options and in
non-recursive mode.
- Removed conflicts with built-in names.
2008-09-01 Brent N. Chun <bnc at theether.org>
* Version 1.4.2
- Fixed minor bug: select returns select.error on an error,
not OSError.
2008-08-27 Brent N. Chun <bnc at theether.org>
* Version 1.4.1
- Removed broken SIGCHLD handler.
- Refining subprocess _cleanup dynamically to an empty lambda
function since subprocess is not thread-safe and we already
call wait on child processes ourselves anyway.
- Adding missing verbose flag to rest of bin/* programs.
2008-08-24 Brent N. Chun <bnc at theether.org>
* Version 1.4.0
- Fixed 64-bit bug in pslurp, pscp, prsync. Previously, the
default select timeout was sys.maxint, but this is a 64-bit
value on 64-machines. Now using None when calling select when
there is no timeout. Bug reported by (buixor at gmail.com).
- Catching EINTR and ignoring it for select, read, write in
BaseThread class.
- Fixed longopts for pnuke, prsync, pscp, pslurp, pssh (bug
reported a Debian user via Andrew Pollock (apollock at
debian.org)).
Reference: "bug #481901: pssh: options mis-specified"
- Added missing environment variables for options for pnuke,
prsync, pscp, pslurp, pssh.
2008-06-04 Brent N. Chun <bnc at theether.org>
* Version 1.3.2
- Added shortopts bug fix from Lev Givon (lev at
columbia.edu) in bin/pssh.
2007-04-11 Brent N. Chun <bnc at theether.org>
* Version 1.3.1
- Reverted I/O back to 1.2.2. style pssh I/O.
2007-04-10 Brent N. Chun <bnc at theether.org>
* Version 1.3.0
- Added contributions from Deepak Giridharagopal (deepak at
brownman.org)
* Added ANSI color to pssh, pscp, etc. output.
* Each status message now includes a timestamp.
* Failures now indicate the cause (e.g., timeout, etc.)
* Intermediate directories are created as needed for output.
* Removed use of setsid in shell exec.
* Using Exception objects rather than raw strings.
* Added support for piping stdin to each ssh process.
* Added -i option to pssh for "inlining" output to stdout.
* Added Python setup.py file for a standard install.
- Switched to BSD license.
2006-06-18 Brent N. Chun <bnc at theether.org>
* Version 1.2.2
- Added patch from Dan Silverstein (dans at pch.net) to fix
parsecmdline bug.
2005-12-31 Brent N. Chun <bnc at theether.org>
* Version 1.2.1
- Changed sys.path so pssh can run without RPM
install.
- Changed RPM library files to install in
/usr/local/lib/python
- make install and make uninstall now work as
expected for installations from source.
2004-11-10 Brent N. Chun <bnc at intel-research.net>
* Added patch from Dave Barr <barr at google.com>
- Adds -a, -z flags to prsync
2004-10-05 Brent N. Chun <bnc at intel-research.net>
* Default user is now current user in all programs (on
suggestion from Jim Wight <j.k.wight at newcastle.ac.uk>).
* Fixed path typo on prsync from 1.1.0 release
* Version 1.1.1
2004-10-04 Brent N. Chun <bnc at intel-research.net>
* Added patch from Dave Barr <barr at google.com>
- Adds an ssh options flag (-O) to prsync
* Added patch from Chad Yoshikawa <chadyoshikawa at gmail.com>
- Adds a print to stdout flag (-P) to pssh
* Version 1.1.0
2004-08-21 Brent N. Chun <bnc at intel-research.net>
* All cmds now take -o, -e for stdout, stderr
* Checking return values for all cmds
* Factored common thread structure out of all cmds
* Changed pslurp's dir for local to -L, rather than -o (stdout)
* Version 1.0.0
2003-11-20 Brent N. Chun <bnc at intel-research.net>
* Added handler for SIGCHLD
* Wait for all threads before returning to main thread
* Kill all straggler processes when done
2003-11-18 Brent N. Chun <bnc at intel-research.net>
* Added pslurp (scp from remote nodes), updated to 0.2.3
2003-11-12 Brent N. Chun <bnc at intel-research.net>
* Fixed read bug, so all output is obtained.
* Added timeout option (defaults to None for pscp/prsync)
* Added verbose option for pssh/pnuke (this is -q or not)
* Added environment variables for options
* Fixed usage for pnuke
2003-09-06 Brent N. Chun <bnc at intel-research.net>
* Added -O for pssh, pscp, and pnuke for passing SSH options
* Changed order of options in usage (required, optional)
2003-09-06 Brent N. Chun <bnc at intel-research.net>
* Added parallel rsync (prsync)
* Added support for "host[:port] user" lines in hosts files
* Factored a bit of code out into lib/python/psshutil.py
2003-08-16 Brent N. Chun <bnc at intel-research.net>
* Initial version (0.1.0)