Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-scp for openSUSE:Factory 
checked in at 2021-09-07 21:21:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-scp (Old)
 and      /work/SRC/openSUSE:Factory/.python-scp.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-scp"

Tue Sep  7 21:21:30 2021 rev:7 rq:917208 version:0.13.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-scp/python-scp.changes    2021-07-01 
07:05:43.623433676 +0200
+++ /work/SRC/openSUSE:Factory/.python-scp.new.1899/python-scp.changes  
2021-09-07 21:22:11.949359366 +0200
@@ -1,0 +2,7 @@
+Sat Jul 17 13:37:23 UTC 2021 - Dirk M??ller <[email protected]>
+
+- update to 0.13.6:
+  * Fix put when the source directory has a trailing slash. It will now work
+    similarly to rsync, copying the contents of the directory.
+
+-------------------------------------------------------------------

Old:
----
  scp-0.13.5.tar.gz

New:
----
  scp-0.13.6.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-scp.spec ++++++
--- /var/tmp/diff_new_pack.PD9zwA/_old  2021-09-07 21:22:12.441359961 +0200
+++ /var/tmp/diff_new_pack.PD9zwA/_new  2021-09-07 21:22:12.445359966 +0200
@@ -19,7 +19,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-scp
-Version:        0.13.5
+Version:        0.13.6
 Release:        0
 Summary:        SSH scp module for paramiko
 License:        LGPL-2.1-or-later

++++++ scp-0.13.5.tar.gz -> scp-0.13.6.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scp-0.13.5/CHANGELOG.md new/scp-0.13.6/CHANGELOG.md
--- old/scp-0.13.5/CHANGELOG.md 2021-06-28 21:51:32.000000000 +0200
+++ new/scp-0.13.6/CHANGELOG.md 2021-07-09 18:00:30.000000000 +0200
@@ -1,5 +1,9 @@
 # Changelog
 
+## 0.13.6 (2021-07-09)
+
+- Fix put when the source directory has a trailing slash. It will now work 
similarly to rsync, copying the contents of the directory.
+
 ## 0.13.5 (2021-06-28)
 
 - Fix extra space sent in SSH command-line for `get()`, causing issues on some 
servers
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scp-0.13.5/PKG-INFO new/scp-0.13.6/PKG-INFO
--- old/scp-0.13.5/PKG-INFO     2021-06-28 21:52:45.039251800 +0200
+++ new/scp-0.13.6/PKG-INFO     2021-07-09 18:01:56.993384600 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: scp
-Version: 0.13.5
+Version: 0.13.6
 Summary: scp module for paramiko
 Home-page: https://github.com/jbardin/scp.py
 Author: James Bardin
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scp-0.13.5/scp.egg-info/PKG-INFO 
new/scp-0.13.6/scp.egg-info/PKG-INFO
--- old/scp-0.13.5/scp.egg-info/PKG-INFO        2021-06-28 21:52:44.000000000 
+0200
+++ new/scp-0.13.6/scp.egg-info/PKG-INFO        2021-07-09 18:01:56.000000000 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: scp
-Version: 0.13.5
+Version: 0.13.6
 Summary: scp module for paramiko
 Home-page: https://github.com/jbardin/scp.py
 Author: James Bardin
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scp-0.13.5/scp.py new/scp-0.13.6/scp.py
--- old/scp-0.13.5/scp.py       2021-06-28 21:51:32.000000000 +0200
+++ new/scp-0.13.6/scp.py       2021-07-09 17:59:29.000000000 +0200
@@ -5,7 +5,7 @@
 Utilities for sending files over ssh using the scp1 protocol.
 """
 
-__version__ = '0.13.5'
+__version__ = '0.13.6'
 
 import locale
 import os
@@ -326,7 +326,8 @@
                 continue
             last_dir = asbytes(base)
             for root, dirs, fls in os.walk(base):
-                self._chdir(last_dir, asbytes(root))
+                if not asbytes(root).endswith(b'/'):
+                    self._chdir(last_dir, asbytes(root))
                 self._send_files([os.path.join(root, f) for f in fls])
                 last_dir = asbytes(root)
             # back out of the directory
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scp-0.13.5/setup.py new/scp-0.13.6/setup.py
--- old/scp-0.13.5/setup.py     2021-06-28 21:51:32.000000000 +0200
+++ new/scp-0.13.6/setup.py     2021-07-09 17:59:33.000000000 +0200
@@ -10,7 +10,7 @@
     description = fp.read()
 setup(
         name = 'scp',
-        version = '0.13.5',
+        version = '0.13.6',
         author = 'James Bardin',
         author_email = '[email protected]',
         license = 'LGPL-2.1-or-later',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scp-0.13.5/test.py new/scp-0.13.6/test.py
--- old/scp-0.13.5/test.py      2020-12-04 17:50:44.000000000 +0100
+++ new/scp-0.13.6/test.py      2021-07-09 17:58:54.000000000 +0200
@@ -255,6 +255,10 @@
                          [b'dossi\xC3\xA9',
                           b'dossi\xC3\xA9/bien rang\xC3\xA9',
                           b'dossi\xC3\xA9/bien rang\xC3\xA9/test'])
+        # Again, with trailing slash
+        self.upload_test(b'cl\xC3\xA9/dossi\xC3\xA9/', True,
+                         [b'bien rang\xC3\xA9',
+                          b'bien rang\xC3\xA9/test'])
 
     def test_put_unicode(self):
         self.upload_test(u'cl\xE9/r\xE9mi', False, [b'r\xC3\xA9mi'])

Reply via email to