Permalink
Browse files

[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-154]

even better 1.2 lapras
re-bump the version # to 1.2 (with a new date since i added more stuff).
add 2005 to the copyright date in a bunch of files.
  • Loading branch information...
1 parent 7490172 commit fead211c5ca75b654c218c6bcfc75552284719c6 Robey Pointer committed Feb 28, 2005
View
@@ -10,7 +10,7 @@
# ivysaur (22oct04)
# jigglypuff (6nov04) - 1.0
# kabuto (12dec04) - 1.1
-# lapras (26feb05) - 1.2
+# lapras (28feb05) - 1.2
release:
python ./setup.py sdist --formats=zip
View
8 README
@@ -1,7 +1,7 @@
paramiko 1.2
-"lapras" release, 26 feb 2005
+"lapras" release, 28 feb 2005
-Copyright (c) 2003-2004 Robey Pointer <robey@lag.net>
+Copyright (c) 2003-2005 Robey Pointer <robey@lag.net>
http://www.lag.net/paramiko/
@@ -158,7 +158,9 @@ v1.2 LAPRAS
* moved check_global_request into ServerInterface, where it should've been
all along (oops)
* SFTPHandle's default implementations are fleshed out more
-* made logging a bit more consistent
+* made logging a bit more consistent, and started logging thread ids
+* fixed a few race conditions, one of which would sometimes cause a Transport
+ to fail to start on slow machines
* more unit tests
v1.1 KABUTO
View
18 demo.py
@@ -1,5 +1,23 @@
#!/usr/bin/python
+# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
+#
+# This file is part of paramiko.
+#
+# Paramiko is free software; you can redistribute it and/or modify it under the
+# terms of the GNU Lesser General Public License as published by the Free
+# Software Foundation; either version 2.1 of the License, or (at your option)
+# any later version.
+#
+# Paramiko is distrubuted in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
+# details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with Paramiko; if not, write to the Free Software Foundation, Inc.,
+# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+
import sys, os, socket, threading, getpass, time, base64, select, termios, tty, traceback
import paramiko
View
@@ -1,5 +1,23 @@
#!/usr/bin/python
+# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
+#
+# This file is part of paramiko.
+#
+# Paramiko is free software; you can redistribute it and/or modify it under the
+# terms of the GNU Lesser General Public License as published by the Free
+# Software Foundation; either version 2.1 of the License, or (at your option)
+# any later version.
+#
+# Paramiko is distrubuted in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
+# details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with Paramiko; if not, write to the Free Software Foundation, Inc.,
+# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+
import sys, os, socket, threading, traceback, base64
import paramiko
View
@@ -1,5 +1,23 @@
#!/usr/bin/python
+# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
+#
+# This file is part of paramiko.
+#
+# Paramiko is free software; you can redistribute it and/or modify it under the
+# terms of the GNU Lesser General Public License as published by the Free
+# Software Foundation; either version 2.1 of the License, or (at your option)
+# any later version.
+#
+# Paramiko is distrubuted in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
+# details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with Paramiko; if not, write to the Free Software Foundation, Inc.,
+# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+
import sys, os, base64, getpass, socket, traceback, termios, tty, select
import paramiko
View
@@ -1,5 +1,24 @@
#!/usr/bin/python
+# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
+#
+# This file is part of paramiko.
+#
+# Paramiko is free software; you can redistribute it and/or modify it under the
+# terms of the GNU Lesser General Public License as published by the Free
+# Software Foundation; either version 2.1 of the License, or (at your option)
+# any later version.
+#
+# Paramiko is distrubuted in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
+# details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with Paramiko; if not, write to the Free Software Foundation, Inc.,
+# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+
+
# This demo is like demo_simple.py, but it doesn't try to use select()
# to poll the ssh channel for reading, so it can be used on Windows.
# It logs into a shell, executes "ls", prints out the results, and
View
@@ -1,5 +1,23 @@
#!/usr/bin/python
+# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
+#
+# This file is part of paramiko.
+#
+# Paramiko is free software; you can redistribute it and/or modify it under the
+# terms of the GNU Lesser General Public License as published by the Free
+# Software Foundation; either version 2.1 of the License, or (at your option)
+# any later version.
+#
+# Paramiko is distrubuted in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
+# details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with Paramiko; if not, write to the Free Software Foundation, Inc.,
+# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+
"""
Sample script showing how to do local port forwarding over paramiko.
View
@@ -1,6 +1,6 @@
#!/usr/bin/python
-# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
+# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
@@ -61,7 +61,7 @@
__author__ = "Robey Pointer <robey@lag.net>"
-__date__ = "26 Feb 2005"
+__date__ = "28 Feb 2005"
__version__ = "1.2 (lapras)"
__license__ = "GNU Lesser General Public License (LGPL)"
@@ -1,6 +1,6 @@
#!/usr/bin/python
-# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
+# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
View
@@ -1,6 +1,6 @@
#!/usr/bin/python
-# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
+# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
View
@@ -1,6 +1,6 @@
#!/usr/bin/python
-# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
+# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
View
@@ -1,6 +1,6 @@
#!/usr/bin/python
-# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
+# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
View
@@ -1,6 +1,6 @@
#!/usr/bin/python
-# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
+# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
View
@@ -1,6 +1,6 @@
#!/usr/bin/python
-# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
+# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
View
@@ -1,6 +1,6 @@
#!/usr/bin/python
-# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
+# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
View
@@ -1,6 +1,6 @@
#!/usr/bin/python
-# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
+# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
View
@@ -1,6 +1,6 @@
#!/usr/bin/python
-# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
+# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
View
@@ -1,6 +1,6 @@
#!/usr/bin/python
-# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
+# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
View
@@ -1,6 +1,6 @@
#!/usr/bin/python
-# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
+# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
View
@@ -1,6 +1,6 @@
#!/usr/bin/python
-# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
+# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
View
@@ -1,6 +1,6 @@
#!/usr/bin/python
-# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
+# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
View
@@ -1,6 +1,6 @@
#!/usr/bin/python
-# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
+# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
View
@@ -1,6 +1,6 @@
#!/usr/bin/python
-# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
+# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
View
@@ -1,6 +1,6 @@
#!/usr/bin/python
-# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
+# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
View
@@ -1,6 +1,6 @@
#!/usr/bin/python
-# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
+# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
@@ -52,7 +52,7 @@ def __init__(self, sock):
# override default logger
transport = self.sock.get_transport()
self.logger = util.get_logger(transport.get_log_channel() + '.' +
- self.sock.get_name() + '.sftp')
+ self.sock.get_name() + '.sftp')
self.ultra_debug = transport.ultra_debug
self._send_version()
@@ -145,7 +145,7 @@ def open(self, filename, mode='r', bufsize=-1):
@param mode: mode (python-style) to open in.
@type mode: string
@param bufsize: desired buffering (-1 = default buffer size, 0 =
- unbuffered, 1 = line buffered, >1 = requested buffer size).
+ unbuffered, 1 = line buffered, >1 = requested buffer size).
@type bufsize: int
@return: a file object representing the open file.
@rtype: SFTPFile
@@ -176,7 +176,7 @@ def remove(self, path):
@type path: string
@raise IOError: if the path refers to a folder (directory). Use
- L{rmdir} to remove a folder.
+ L{rmdir} to remove a folder.
"""
self._request(CMD_REMOVE, path)
@@ -192,7 +192,7 @@ def rename(self, oldpath, newpath):
@type newpath: string
@raise IOError: if C{newpath} is a folder, or something else goes
- wrong.
+ wrong.
"""
self._request(CMD_RENAME, oldpath, newpath)
@@ -317,7 +317,7 @@ def utime(self, path, times):
@param path: path of the file to modify.
@type path: string
@param times: C{None} or a tuple of (access time, modified time) in
- standard internet epoch time (seconds since 01 January 1970 GMT).
+ standard internet epoch time (seconds since 01 January 1970 GMT).
@type times: tuple of int
"""
if times is None:
View
@@ -1,6 +1,6 @@
#!/usr/bin/python
-# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
+# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
View
@@ -1,6 +1,6 @@
#!/usr/bin/python
-# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
+# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
View
@@ -1,6 +1,6 @@
#!/usr/bin/python
-# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
+# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
@@ -1,6 +1,6 @@
#!/usr/bin/python
-# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
+# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
View
@@ -1,6 +1,6 @@
#!/usr/bin/python
-# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
+# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
View
@@ -1,6 +1,6 @@
#!/usr/bin/python
-# Copyright (C) 2003-2004 Robey Pointer <robey@lag.net>
+# Copyright (C) 2003-2005 Robey Pointer <robey@lag.net>
#
# This file is part of paramiko.
#
Oops, something went wrong.

0 comments on commit fead211

Please sign in to comment.