-
Notifications
You must be signed in to change notification settings - Fork 32
/
CHANGES.txt
434 lines (274 loc) · 15.2 KB
/
CHANGES.txt
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
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
RYE, CHANGES
#### 0.9.13 (2014-02-11) #############################
* FIXED: Fixup for stty annoyance #58 [derjohn]
#### 0.9.12 (2014-02-11) #############################
* CHANGE: Bumped up sysinfo dep to 0.8.1
* CHANGE: Pass user, host, nickname to stdout_hook [crandles]
#### 0.9.11 (2013-11-11) #############################
* CHANGE: Removed Gemspec to avoid install issues
#### 0.9.10 (2013-11-11) #############################
* FIXED: gemspec fix for windows install error (rye requires rye)
#### 0.9.9 (2013-11-09) #############################
* FIXED: Stderr channel fix for lost Rye::Set error messages [megeek]
* CHANGE: Propagate original Net::SSH exceptions [Musannif Zahir]
* CHANGE: Raise Net::SSH::HostKeyMismatch instead of waiting input [Ruy Rocha]
* CHANGE: Add Gemfile, make setting signing_key in gemspec conditional [Dan Peterson]
#### 0.9.8 (2013-02-06) #############################
* ADDED: Rudimentary DSL (see tst/dsl_example.rb) [Randy D. Wallace Jr]
* CHANGE: All releases will now be signed. See "Installation" in the readme.
#### 0.9.7 (2012-07-06) #############################
* FIXED: STDERR output was printing to STDOUT in one case (Thanks rrepen)
* FIXED: Pass options from Set to Box
* ADDED: Feature/raise auth failure if publickey only [Dan Richert]
#### 0.9.6 (2012-05-10) #############################
* ADDED: Feature/capture parallel set exceptions [Dan Richert]
#### 0.9.5 (2012-01-05) #############################
* FIXED: Bugfix for Sets to allow unsafe commands [vishnugopal]
#### 0.9.4 (2011-02-14) #############################
* FIXED: Box#method_missing fix for to_ary exception in Ruby 1.9.2
#### 0.9.3 (2011-01-29) #############################
* ADDED: Rye::Hop for gateway support.
(https://github.com/delano/rye/issues/closed#issue/10)
* CHANGE: Don't overwrite :paranoid option
#### 0.9.2 (2010-10-25) #############################
* FIXED: add_keys stores key paths for Rye::Box and Rye::Set
* ADDED: remove_keys method for Rye::Box and Rye::Set
* ADDED: interactive_ssh adds private paths to ssh command
#### 0.9.1 (2010-10-18) #############################
* CHANGE: Don't add keys to ssh-agent in Rye::Box and Rye::Set
#### 0.9.0 (2010-08-19) #############################
* FIXED: Pubkeys correctly added for first connection.
(NOTE: some state seems to be maintained by ssh-agent)
* ADDED: Interactive and non-interactive shell support (via Net::SSH)
* ADDED: Basic readline support for interactive mode
* ADDED: New hook for printing STDOUT as it is returned
* CHANGE: Removed bin/rye
* CHANGE: Removed authorize_keys_remote and authorize_keys_local
#### 0.8.20 (2010-08-17) #############################
* ADDED: string_append, template_write, template_upload, file_modify
#### 0.8.19 (2010-06-28) #############################
* ADDED: Rye::Box#root?
* ADDED: Better sudo handling.
#### 0.8.18 (2010-06-19) #############################
* FIXED: Authentication would never succeed if the first password attempt failed.
#### 0.8.17 (2010-05-19) #############################
* FIXED: authorize_keys_remote was using incorrect home directory
* CHANGE: More descriptive output for file transfers
#### 0.8.16 (2010-05-19) #############################
* ADDED: Updated whitelist: hg, ab, siege, stella, ln, su
* CHANGE: file transfers now print the file path to STDOUT unless in quiet mode
#### 0.8.15 (2010-03-29) #############################
* FIXED: "rake" was mapped to "sudo". Closes GH-8 [mjmsmith]
#### 0.8.14 (2010-02-25) #############################
* FIXED: rye authorize command now logs in to grab the actual homedir.
* CHANGED: Support user@host syntax for rye authorize command
#### 0.8.13 (2010-02-12) #############################
* CHANGE: Remove hanna dependency [Diego Elio 'Flameeyes' Pettenò]
#### 0.8.12 (2010-01-16) #############################
* FIXED: Removed dependency on ssh-agent. Also fixes starting
many instances of said executable.
* FIXED: file_append was overwriting when supplied a String (!)
* ADDED: Use SSH config file by default [Justin Case]
#### 0.8.11 (2009-10-30) #############################
* CHANGE: Increased timeout on disconnect
#### 0.8.10 (2009-10-07) #############################
* CHANGE: Improved startup time.
#### 0.8.9 (2009-08-26) #############################
* FIXED: authorize-local for Windows
#### 0.8.8 (2009-08-25) #############################
* FIXED: Rye::Box#guess_user_home for Windows SSH support
* CHANGE: Renamed Rye::Box#cmd -> Rye::Box#__allow
* ADDED: New whitelist commands: wget, curl, dir
* ADDED: Rye::Box#file_write
#### 0.8.7 (2009-08-11) #############################
* FIXED: Rye::Box info level output is cleaner
* FIXED: file_upload / download now expanding local tildas when safemode is disabled
* ADDED: Interactive handling for removing gems
* ADDED: dir_upload and dir_download
#### 0.8.6 (2009-08-04) #############################
* FIXED: SystemCallError / "Broken Pipe" error when disconnecting in JRuby 1.3
* FIXED: CommandNotFound: nil error in Windows
#### 0.8.5 (2009-07-14) #############################
* CHANGE: Rye::Box#getenv now accepts an option key name
* CHANGE: When not in safe mode, method missing will execute a
method name as a shell command
* ADDED: Rye::Box#execute for running arbitrary commands when
not in safe mode
#### 0.8.4 (2009-06-30) #############################
* FIXED: Reference to (still) non-existent net-ssh 2.0.12 is now 2.0.11
#### 0.8.3 (2009-06-30) #############################
* ADDED: JRuby 1.3 support
* ADDED: Tryouts (i.e. better testing)
#### 0.8.2 (2009-06-23) #############################
* FIXED: Rye::Box.switch_user will disconnect but not create a new connection.
* FIXED: Rye::Cmd#add_command hard coded argument handling for blocks
* CHANGE: Rye::Rap#to_s now returns stdout.join($/)
* CHANGE: Regexp workaround for remote password prompts is now case insensitive.
* ADDED: Rye::Cmd#string_upload and Rye::Cmd#string_download
* ADDED: Rye.shell example to README (thanks rogerdpack)
#### 0.8.1 (2009-06-22) #############################
* FIXED: file_upload now handles globs like a champ
* FIXED: Handling of relative paths in Rye::Box#cd and Rye::Box#[]
* ADDED: file_upload now assumes uploading to home directory when only 1 arg
* ADDED: Rudyfile for remote 'clean-machine' tests
* CHANGE: guess_user_home, ostype, and getenv now run quietly
#### 0.8.0 (2009-06-21) #############################
* FIXED: safely and unsafely (Rye::Box) now return the block return value
* ADDED: Rye::Set#parallel and Rye::Set#parallel= methods
* ADDED: Rye::Box#quietly
* CHANGE: Updated Rye::Set#inspect and Rye::Set#to_s
* CHANGE: Exception hook now receives: ex, cmd, user, host, nickname
* CHANGE: Increased Kernel.sleep to 0.03 in Rye::Set.run_command_parallel
* CHANGE: Renamed Rye::Cmd#upload and Rye::Cmd#download to file_upload and file_download
* CHANGE: Rye::Cmd#file_exists? now executes quietly (doesn't pollute logging)
#### 0.7.6 (2009-06-19) #############################
* FIXED: Raise Rye::NoPty exception when Net::SSH returns message
"Pseudo-terminal will not be allocated because stdin is not a terminal."
* FIXED: Rye::Box#disconnect would hang in some instances. Now waits 3 seconds.
* FIXED: Bug in net_ssh_exec which was causing it to not return an exit code
* CHANGE: All exceptions now inherit from Rye::Error (Runtimerror)
* CHANGE: A NoPassword exception is raised when a password prompt returns nil.
* CHANGE: pre_command_hook block arguments have changed:
NEW: complete command, user, host, nickname
OLD: command, args, user, host, nickname
#### 0.7.5 (2009-06-13) #############################
* FIXED: Rye::Set methods were not accepting or passing blocks.
* ADDED: Rye::Set#user and Rye::Set#opts methods
* ADDED: Rye::Box#nickname
* ADDED: exception hooks for Rye::Box.
* CHANGE: Rye::Set method missing now forwards to Rye::Box
methods instead of Rye::Cmd
#### 0.7.4 (2009-06-04) #############################
* FIXED: Bug in Rye::Box#interactive_ssh related to instance variable renaming from 0.7.0.
* FIXED: Bug in Rye::Cmd#file_append which tried to download files that didn't exist
* CHANGE: Removed error message, "EC2 instances generate new SSH keys on first boot"
* ADDED: Rye::Cmd#remove_method
* ADDED: Rye::Rap#> and Rye::Rap#>> methods to emulate shell redirect to file
#### 0.7.3 (2009-06-03) #############################
* ADDED: enable_safe_mode and disable_safe_mode methods
* ADDED: New default Rye::Cmd methods: gzip, bzip, tar and all derivatives. ./configure and make too.
* ADDED: Rye::Cmd#safely and Rye::Cmd#unsafely methods
* ADDED: Rye::Cmd#digest_md5, Rye::Cmd#digest_sha1, Rye::Cmd#digest_sha2 methods
* ADDED: Rye::Cmd#file_verified? method
* ADDED: Rye::Box#net_ssh_exec! now checks and correctly prompts for a sudo response password.
Note: this will be upgraded in for 0.8 to support any prompt.
* FIXED: Net::SSH paranoid now set to false when safe mode is disabled.
#### 0.7.2 (2009-06-01) #############################
*A re-release of 0.7.1 to force Rubyforge to update the gem*
#### 0.7.1 (2009-06-01) #############################
* CHANGE: Removed broken grep method from Rye::Rap
* FIXED: Bug which prevented setting relative paths in non-home directory
* ADDED: Rye::Cmd#add_command helper for adding new command methods.
* ADDED: pre-command-hook now sends the hostname to the block
#### 0.7.0 (2009-05-30) #############################
* CHANGE: Rye::Box now uses unique instance variable names to encourage using
instance variables in batch command blocks.
* ADDED: Rye::Box#file_append
#### 0.6.6 (2009-05-21) #############################
* CHANGE: Key management is handled by ssh-agent again (instead of Net::SSH)
#### 0.6.5 (2009-05-10) #############################
* CHANGE: Default exit code is now 0 instead of -1
* CHANGE: Removed Sys (using sysinfo gem)
* CHANGE: Removed vendor/highline-1.5.1 (it's now available via gem)
#### 0.6.4 (2009-05-04) #############################
* FIXED: authorize_remote was not returning to the directory it started with.
* ADDED: pre and post command hooks to Rye::Box
* ADDED: Rye::Box.batch
* ADDED: Support for OS X for Rye::Box.guess_user_home
#### 0.6.3 (2009-05-02) #############################
* FIXED: Rye::Box.guess_user_home wasn't handling the username arg (only using default name)
* ADDED: Rye::Cmd.can?
* ADDED: Rye::Cmd.ostype
#### 0.6.2 (2009-04-29) #############################
* FIXED: I forgot to add highline to the gemspec file manifest. Cripes!
#### 0.6.1 (2009-04-29) #############################
* ADDED: Prints message to STDERR when passwordless login fails.
* ADDED: Highline 1.5.1 to vendor to fix the Ruby 1.9 issue (Highline
1.5.1 is not released as a gem yet)
* CHANGE: Cleaned examples and links in README
#### 0.6.0 (2009-04-28) #############################
* FIXED: handling of Process::Status ($?) in Rye.shell
* FIXED: Removed reference to Rudy::Error in bin/rye
* ADDED: Rye::Box.getenv
* ADDED: Rye::Box.can?
* ADDED: Rye::Box.umask= (a similar work around as cd / [])
* ADDED: Rye::Box.file_exists?
* ADDED: Rye::Box.authorize_keys_remote can now authorize for a different user
* ADDED: Rye::Box.upload and Rye::Box.download
* ADDED: Rye::SystemInfo.tmpdir
* CHANGE: Rye::Box.prep_args doesn't treat multicharacter Symbols as
command-line options any more (single character ones are still converted)
* CHANGE: Renamed Rye::Box.add_env to Rye::Box.setenv
* CHANGE: rm and kill are available in Rye::Cmd by default
* CHANGE: Rye::Box.authorize_keys renamed Rye::Box.authorize_keys_remote
* CHANGE: The Rye::Rap object now contains the exit code as an integer for
Rye.shell and Rye::Box.run_command (SSH) commands.
* UPDATED: Rdocs and README
#### 0.5.4 (2009-04-22) #############################
* FIXED: Sys is now returning environment paths and home path in JRuby.
* ADDED: Better Interrupt handling
* ADDED: Rings terminal bell when asks to Continue after HostKey error.
* CHANGE: Removed require 'rubygems'
#### 0.5.3 (2009-04-20) #############################
* FIXED: Rye::Box.connect raises exceptions instead of exits
* ADDED: Rye::Box.connect now rescues HostKeyMismatch exceptions and
prompts for a response.
#### 0.5.2 (2009-04-19) #############################
* FIXED: authorize-local command attempted to connect via SSH before authorizing.
#### 0.5.0 (2009-04-18) #############################
* FIXED: Bug in connect which prevented key-based logins for reconnections
* FIXED: Method errors in JRuby
* FIXED: Bug in Rye::Set.add_boxes pushing nils into the list of boxes
* ADDED: Rye::Box.switch_user
* ADDED: Several new commands to Rye::Cmd
* ADDED: Rye::Box.authorize_keys_local and "rye authorize-local
#### 0.4.3 (2009-04-14) #############################
* FIXED: All Rye::Cmd command methods accept *args to make calling consistent.
* ADDED: Rye::Box.missing_method to handle non existent commands
#### 0.4.2 (2009-04-13) #############################
* ADDED: More helpful debug output
* ADDED: hostname command to Rye::Cmd
* ADDED: Rye::Box.connect now supports multiple password attempts if STDIN.tty returns true
* ADDED: Rye::Box.interactive_ssh for opening an SSH session to the given box.
* CHANGE: Using OpenSSH's ssh-agent but also let's Net::SSH handle the ssh keys.
#### 0.4.1 (2009-04-06) #############################
* FIXED: Rye::Box.authorize_keys_remote was not disabling safe mode properly
* FIXED: Disabled debug mode.
* ADDED: "rye authorize" now specifically enforces the auth method order
#### 0.4.0 (2009-04-06) #############################
* FIXED: Box.run_command was parsing arguments incorrectly
* FIXED: Box.net_ssh_exec was working on nil stderr
* FIXED: bin/try handles the new command exceptions
* ADDED: to_s and inspect methods for cleaner debugging output
* ADDED: == method for Rye::Box
* ADDED: exit code and exit signal to Rye::Rap objects
* ADDED: Command switches can now be sent as Symbols (rbox.ls(:h))
* ADDED: Rye.host_keys
* ADDED: bin/rye
* ADDED: commands now raise a Rye::Err exception
when the command returns an exit code greater than 0.
* CHANGE: Box.add_command renamed to Box.run_command
#### 0.3.2 (2009-04-05) #############################
* FIXED: Module.instance_methods bug. In Ruby 1.9 it's Symbols (1.8 was Strings).
* FIXED: Rye::Set#add_boxes didn't return self.
* UPDATED: Lots of docs tweaks.
#### 0.3 (2009-04-05) ###############################
* FIXED: Rye::Box wasn't properly adding keypairs to SSH Agent
* FIXED: Rye::Box.method_missing Symbol/String ambiguity
* ADDED: Rye::Set supports executing commands parallel
* ADDED: Rye::Rap now contains STDERR output from command
* ADDED: Supports all options provided by Net::SSH#start. This
includes support for password logins and proxies.
* ADDED: Safe mode can now be disabled (to allow file globs
and environment variable access).
* ADDED: Basic sanity test
* ADDED: Mucho more rdocs and examples.
* CHANGE: Moved all SSH key stuff to Rye (used to be done per Box)
#### 0.2 (2009-04-04) ###############################
* FIXED: ssh-agent shutdown wasn't deleting the SSH tmp directory
* ADDED: Now with more rdocs!
#### 0.1 (2009-04-03) ###############################
Initial public release
#### TODO ###########################################
* Re-implement Rye::Rap as an Observable StringIO object for dynamic printing of output.
* Fingerprints: ssh-keygen -l -f id_rsa_repos.pub