commit python-smbprotocol for openSUSE:Factory
Hello community, here is the log from the commit of package python-smbprotocol for openSUSE:Factory checked in at 2020-10-29 14:52:42 Comparing /work/SRC/openSUSE:Factory/python-smbprotocol (Old) and /work/SRC/openSUSE:Factory/.python-smbprotocol.new.3463 (New) Package is "python-smbprotocol" Thu Oct 29 14:52:42 2020 rev:8 rq:844838 version:1.2.0 Changes: --- /work/SRC/openSUSE:Factory/python-smbprotocol/python-smbprotocol.changes 2020-08-31 16:49:24.924330136 +0200 +++ /work/SRC/openSUSE:Factory/.python-smbprotocol.new.3463/python-smbprotocol.changes 2020-10-29 14:52:51.929256519 +0100 @@ -1,0 +2,14 @@ +Sun Oct 25 15:55:37 UTC 2020 - Martin Hauke + +- Update to version 1.2.0 + * Added experimental support for DFS shares when using smbclient +function. + * Added smbclient.ClientConfig() to set global default options +on new connections. + * Moved the SMB Header structures to smbprotocol.header. + * Added null_terminated option for a TextField value. + * Fix broken pipe errors that occur on long running connections +by sending a echo request for each connection session every +10 minutes. + +--- Old: python-smbprotocol-1.1.0.tar.gz New: python-smbprotocol-1.2.0.tar.gz Other differences: -- ++ python-smbprotocol.spec ++ --- /var/tmp/diff_new_pack.27xR1j/_old 2020-10-29 14:52:52.577256739 +0100 +++ /var/tmp/diff_new_pack.27xR1j/_new 2020-10-29 14:52:52.581256741 +0100 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-smbprotocol -Version:1.1.0 +Version:1.2.0 Release:0 Summary:SMBv2/v3 client for Python 2 and 3 License:MIT @@ -28,6 +28,7 @@ Source: https://github.com/jborean93/smbprotocol/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: %{python_module cryptography >= 2.0} BuildRequires: %{python_module pyspnego} +BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} ++ python-smbprotocol-1.1.0.tar.gz -> python-smbprotocol-1.2.0.tar.gz ++ 4248 lines of diff (skipped)
commit python-smbprotocol for openSUSE:Factory
Hello community, here is the log from the commit of package python-smbprotocol for openSUSE:Factory checked in at 2020-08-31 16:48:29 Comparing /work/SRC/openSUSE:Factory/python-smbprotocol (Old) and /work/SRC/openSUSE:Factory/.python-smbprotocol.new.3399 (New) Package is "python-smbprotocol" Mon Aug 31 16:48:29 2020 rev:7 rq:829569 version:1.1.0 Changes: --- /work/SRC/openSUSE:Factory/python-smbprotocol/python-smbprotocol.changes 2019-12-21 12:29:44.919316651 +0100 +++ /work/SRC/openSUSE:Factory/.python-smbprotocol.new.3399/python-smbprotocol.changes 2020-08-31 16:49:24.924330136 +0200 @@ -1,0 +2,22 @@ +Tue Aug 25 12:38:01 UTC 2020 - Martin Hauke + +- Update to version 1.1.0 + * Speed up logging statements for large messages like a read and +write message. + * Changed authentication dep to pyspnego that handles all the +authentication work. + * Fixed up authentication against hosts that don't present the +initial GSSAPI token like Azure File Storage. + * Added specific exception types for every 'NtStatus' value to +make it easier to catch only specific exceptions. + * Added the following exceptions to the list of known exception +codes: + * 'STATUS_NETWORK_NAME_DELETED' + * 'STATUS_NOT_FOUND' + * 'STATUS_PATH_NOT_COVERED' + * 'STATUS_DFS_UNAVAILABLE' + * 'STATUS_SERVER_UNAVAILABLE' + * Fix session key generation when creating a new session from +an existing connection object. + +--- Old: python-smbprotocol-1.0.1.tar.gz New: python-smbprotocol-1.1.0.tar.gz Other differences: -- ++ python-smbprotocol.spec ++ --- /var/tmp/diff_new_pack.0JW4eW/_old 2020-08-31 16:49:26.272330790 +0200 +++ /var/tmp/diff_new_pack.0JW4eW/_new 2020-08-31 16:49:26.272330790 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-smbprotocol # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-smbprotocol -Version:1.0.1 +Version:1.1.0 Release:0 Summary:SMBv2/v3 client for Python 2 and 3 License:MIT @@ -27,19 +27,16 @@ #Source: https://files.pythonhosted.org/packages/source/s/smbprotocol/smbprotocol-%%{version}.tar.gz Source: https://github.com/jborean93/smbprotocol/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: %{python_module cryptography >= 2.0} -BuildRequires: %{python_module ntlm-auth} -BuildRequires: %{python_module pyasn1} +BuildRequires: %{python_module pyspnego} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-cryptography >= 2.0 -Requires: python-ntlm-auth -Requires: python-pyasn1 +Requires: python-pyspnego Requires: python-six Suggests: python-gssapi >= 1.4.1 -Suggests: python-ordereddict BuildArch: noarch %python_subpackages ++ python-smbprotocol-1.0.1.tar.gz -> python-smbprotocol-1.1.0.tar.gz ++ 3128 lines of diff (skipped)
commit python-smbprotocol for openSUSE:Factory
Hello community, here is the log from the commit of package python-smbprotocol for openSUSE:Factory checked in at 2019-12-21 12:29:41 Comparing /work/SRC/openSUSE:Factory/python-smbprotocol (Old) and /work/SRC/openSUSE:Factory/.python-smbprotocol.new.6675 (New) Package is "python-smbprotocol" Sat Dec 21 12:29:41 2019 rev:6 rq:757887 version:1.0.1 Changes: --- /work/SRC/openSUSE:Factory/python-smbprotocol/python-smbprotocol.changes 2019-12-02 11:38:32.810463276 +0100 +++ /work/SRC/openSUSE:Factory/.python-smbprotocol.new.6675/python-smbprotocol.changes 2019-12-21 12:29:44.919316651 +0100 @@ -1,0 +2,10 @@ +Wed Dec 11 20:00:41 UTC 2019 - Martin Hauke + +- Update to version 1.0.1 + * Fix issue when reading a large file that exceeds 65KB and +raises STATUS_END_OF_FILE. + * Fix issue where listdir, scandir, walk would only enumerate a +subset of entries in a directories with lots of sub files/ +folders + +--- Old: python-smbprotocol-1.0.0.tar.gz New: python-smbprotocol-1.0.1.tar.gz Other differences: -- ++ python-smbprotocol.spec ++ --- /var/tmp/diff_new_pack.6X9fO1/_old 2019-12-21 12:29:45.503316928 +0100 +++ /var/tmp/diff_new_pack.6X9fO1/_new 2019-12-21 12:29:45.503316928 +0100 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-smbprotocol -Version:1.0.0 +Version:1.0.1 Release:0 Summary:SMBv2/v3 client for Python 2 and 3 License:MIT ++ python-smbprotocol-1.0.0.tar.gz -> python-smbprotocol-1.0.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/smbprotocol-1.0.0/CHANGELOG.md new/smbprotocol-1.0.1/CHANGELOG.md --- old/smbprotocol-1.0.0/CHANGELOG.md 2019-11-30 22:31:39.0 +0100 +++ new/smbprotocol-1.0.1/CHANGELOG.md 2019-12-11 20:17:38.0 +0100 @@ -1,5 +1,11 @@ # Changelog +## 1.0.1 - 2019-12-12 + +* Fix issue when reading a large file that exceeds 65KB and raises `STATUS_END_OF_FILE`. +* Fix issue where `listdir`, `scandir`, `walk` would only enumerate a subset of entries in a directories with lots of sub files/folders + + ## 1.0.0 - 2019-11-30 * Dropped support for Python 2.6 and Python 3.4 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/smbprotocol-1.0.0/setup.py new/smbprotocol-1.0.1/setup.py --- old/smbprotocol-1.0.0/setup.py 2019-11-30 22:31:39.0 +0100 +++ new/smbprotocol-1.0.1/setup.py 2019-12-11 20:17:38.0 +0100 @@ -16,7 +16,7 @@ setup( name='smbprotocol', -version='1.0.0', +version='1.0.1', packages=['smbclient', 'smbprotocol'], install_requires=[ 'cryptography>=2.0', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/smbprotocol-1.0.0/smbclient/_io.py new/smbprotocol-1.0.1/smbclient/_io.py --- old/smbprotocol-1.0.0/smbclient/_io.py 2019-11-30 22:31:39.0 +0100 +++ new/smbprotocol-1.0.1/smbclient/_io.py 2019-12-11 20:17:38.0 +0100 @@ -414,14 +414,15 @@ remaining_bytes = self.fd.end_of_file - self._offset while len(data) < remaining_bytes or self.FILE_TYPE == 'pipe': try: -data += self.fd.read(self._offset, self._buffer_size) +data_part = self.fd.read(self._offset, self._buffer_size) except SMBResponseException as exc: if exc.status == NtStatus.STATUS_PIPE_BROKEN: break raise +data += data_part if self.FILE_TYPE != 'pipe': -self._offset += len(data) +self._offset += len(data_part) return data @@ -484,22 +485,19 @@ _INVALID_MODE = 'w+' def query_directory(self, pattern, info_class): -idx = 0 +query_flags = QueryDirectoryFlags.SMB2_RESTART_SCANS while True: -entries = self.fd.query_directory(pattern, info_class, flags=QueryDirectoryFlags.SMB2_INDEX_SPECIFIED, - file_index=idx) +try: +entries = self.fd.query_directory(pattern, info_class, flags=query_flags) +except SMBResponseException as exc: +if exc.status == NtStatus.STATUS_NO_MORE_FILES: +break +raise -end = False +query_flags = 0 # Only the first request should have set SMB2_RESTART_SCANS for entry in entries: -idx = entry['next_entry_offset'].get_value() -if idx ==
commit python-smbprotocol for openSUSE:Factory
Hello community, here is the log from the commit of package python-smbprotocol for openSUSE:Factory checked in at 2019-12-02 11:35:55 Comparing /work/SRC/openSUSE:Factory/python-smbprotocol (Old) and /work/SRC/openSUSE:Factory/.python-smbprotocol.new.4691 (New) Package is "python-smbprotocol" Mon Dec 2 11:35:55 2019 rev:5 rq:752810 version:1.0.0 Changes: --- /work/SRC/openSUSE:Factory/python-smbprotocol/python-smbprotocol.changes 2019-09-23 12:38:42.473597223 +0200 +++ /work/SRC/openSUSE:Factory/.python-smbprotocol.new.4691/python-smbprotocol.changes 2019-12-02 11:38:32.810463276 +0100 @@ -1,0 +2,22 @@ +Sat Nov 30 10:49:03 UTC 2019 - Martin Hauke + +- Update to version 1.0.0 + * Dropped support for Python 2.6 and Python 3.4 + * Added the smbclient package that provides a higher level API +for interactive with SMB servers + * Deprecated smbprotocol.query_info in favour of +smbprotocol.file_info, query_info will be removed in the next +major release + * Add automatic symlink resolver when a symlink is in the path +being opened + * Fix issue when trying to connect to host with IPv6 address + * Fix response parsing for SMB2 Create Response Lease V1 and V2 + * Added the ability to set the Oplock level when opening a file + * Revamped the socket listener and message processor to run in a +separate thread for faster message resolving + * Added the FileSystemWatcher in change_notify.py to provider a +way to watch for changes on the SMB filesystem + * Added the .cancel() method onto a Request to cancel an SMB +request on the server + +--- Old: python-smbprotocol-0.2.0.tar.gz New: python-smbprotocol-1.0.0.tar.gz Other differences: -- ++ python-smbprotocol.spec ++ --- /var/tmp/diff_new_pack.jKScHj/_old 2019-12-02 11:38:33.122463342 +0100 +++ /var/tmp/diff_new_pack.jKScHj/_new 2019-12-02 11:38:33.122463342 +0100 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-smbprotocol -Version:0.2.0 +Version:1.0.0 Release:0 Summary:SMBv2/v3 client for Python 2 and 3 License:MIT ++ python-smbprotocol-0.2.0.tar.gz -> python-smbprotocol-1.0.0.tar.gz ++ 15675 lines of diff (skipped)
commit python-smbprotocol for openSUSE:Factory
Hello community, here is the log from the commit of package python-smbprotocol for openSUSE:Factory checked in at 2019-09-23 12:37:54 Comparing /work/SRC/openSUSE:Factory/python-smbprotocol (Old) and /work/SRC/openSUSE:Factory/.python-smbprotocol.new.7948 (New) Package is "python-smbprotocol" Mon Sep 23 12:37:54 2019 rev:4 rq:732117 version:0.2.0 Changes: --- /work/SRC/openSUSE:Factory/python-smbprotocol/python-smbprotocol.changes 2019-01-03 18:09:27.579989461 +0100 +++ /work/SRC/openSUSE:Factory/.python-smbprotocol.new.7948/python-smbprotocol.changes 2019-09-23 12:38:42.473597223 +0200 @@ -1,0 +2,9 @@ +Thu Sep 19 18:50:13 UTC 2019 - Martin Hauke + +- Update to version 0.2.0 + * Fix issue where timeout was not being applied to the new +connection + * Fix various deprecated regex escape patterns + * Simplified the fallback NTLM context object + +--- Old: python-smbprotocol-0.1.1.tar.gz New: python-smbprotocol-0.2.0.tar.gz Other differences: -- ++ python-smbprotocol.spec ++ --- /var/tmp/diff_new_pack.qxPlZu/_old 2019-09-23 12:38:42.809597168 +0200 +++ /var/tmp/diff_new_pack.qxPlZu/_new 2019-09-23 12:38:42.813597167 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-smbprotocol -Version:0.1.1 +Version:0.2.0 Release:0 Summary:SMBv2/v3 client for Python 2 and 3 License:MIT @@ -26,7 +26,12 @@ URL:https://github.com/jborean93/smbprotocol #Source: https://files.pythonhosted.org/packages/source/s/smbprotocol/smbprotocol-%%{version}.tar.gz Source: https://github.com/jborean93/smbprotocol/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +BuildRequires: %{python_module cryptography >= 2.0} +BuildRequires: %{python_module ntlm-auth} +BuildRequires: %{python_module pyasn1} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module six} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-cryptography >= 2.0 @@ -36,11 +41,6 @@ Suggests: python-gssapi >= 1.4.1 Suggests: python-ordereddict BuildArch: noarch -BuildRequires: %{python_module cryptography >= 2.0} -BuildRequires: %{python_module ntlm-auth} -BuildRequires: %{python_module pyasn1} -BuildRequires: %{python_module pytest} -BuildRequires: %{python_module six} %python_subpackages %description @@ -71,7 +71,7 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_version} +%pytest %files %{python_files} %license LICENSE ++ python-smbprotocol-0.1.1.tar.gz -> python-smbprotocol-0.2.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/smbprotocol-0.1.1/.travis.yml new/smbprotocol-0.2.0/.travis.yml --- old/smbprotocol-0.1.1/.travis.yml 2018-09-14 02:25:45.0 +0200 +++ new/smbprotocol-0.2.0/.travis.yml 2019-09-19 04:18:09.0 +0200 @@ -2,19 +2,25 @@ language: python -python: -- 2.6 -- 2.7 -- 3.4 -- 3.5 -- 3.6 +dist: xenial -# Python 3.7 requires 16.04 (Xenial), this is a hack to get that specific -# distro running that version until I can swap the rest over officially matrix: include: + - python: 2.6 +dist: trusty + - python: 2.7 + - python: 3.4 +dist: trusty + - python: 3.5 +dist: trusty + - python: 3.6 - python: 3.7 -dist: xenial + - python: 3.8-dev + + # 3.8 is still a beta and I'm running it to see if anything breaks but + # don't want it to stop the build + allow_failures: + - python: 3.8-dev services: - docker @@ -30,14 +36,14 @@ install: - docker run -d -p $SMB_PORT:445 -v $(pwd)/build-scripts:/app -w /app -e SMB_USER=$SMB_USER -e SMB_PASSWORD=$SMB_PASSWORD -e SMB_SHARE=$SMB_SHARE centos:7 /bin/bash /app/setup_samba.sh; - pip install --upgrade pip setuptools -- pip install . - pip install -r requirements-test.txt +- pip install . - pip install coveralls # make sure the Samba service on the container is up and running - python ./build-scripts/check_samba.py script: -- py.test -v --instafail --pep8 --cov smbprotocol --cov-report term-missing +- py.test -v --pep8 --cov smbprotocol --cov-report term-missing after_success: - coveralls diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/smbprotocol-0.1.1/CHANGELOG.md new/smbprotocol-0.2.0/CHANGELOG.md --- old/smbprotocol-0.1.1/CHANGELOG.md 2018-09-14 02:25:45.0 +0200 +++ new/smbprotocol-0.2.0/CHANGELOG.md 2019-09-19
commit python-smbprotocol for openSUSE:Factory
Hello community, here is the log from the commit of package python-smbprotocol for openSUSE:Factory checked in at 2019-01-03 18:09:26 Comparing /work/SRC/openSUSE:Factory/python-smbprotocol (Old) and /work/SRC/openSUSE:Factory/.python-smbprotocol.new.28833 (New) Package is "python-smbprotocol" Thu Jan 3 18:09:26 2019 rev:3 rq:662603 version:0.1.1 Changes: --- /work/SRC/openSUSE:Factory/python-smbprotocol/python-smbprotocol.changes 2018-12-31 09:47:54.990141379 +0100 +++ /work/SRC/openSUSE:Factory/.python-smbprotocol.new.28833/python-smbprotocol.changes 2019-01-03 18:09:27.579989461 +0100 @@ -1,0 +2,5 @@ +Thu Jan 3 01:57:40 UTC 2019 - Jan Engelhardt + +- Use noun phrase in summary. + +--- Other differences: -- ++ python-smbprotocol.spec ++ --- /var/tmp/diff_new_pack.Vrp2Mi/_old 2019-01-03 18:09:28.123988978 +0100 +++ /var/tmp/diff_new_pack.Vrp2Mi/_new 2019-01-03 18:09:28.123988978 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-smbprotocol # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -20,7 +20,7 @@ Name: python-smbprotocol Version:0.1.1 Release:0 -Summary:Interact with a server using the SMB 2/3 Protocol +Summary:SMBv2/v3 client for Python 2 and 3 License:MIT Group: Development/Languages/Python URL:https://github.com/jborean93/smbprotocol @@ -44,7 +44,6 @@ %python_subpackages %description -SMBv2 and v3 Client for both Python 2 and 3. This library implements the SMBv2 and SMBv3 protocol. Features
commit python-smbprotocol for openSUSE:Factory
Hello community, here is the log from the commit of package python-smbprotocol for openSUSE:Factory checked in at 2018-12-31 09:47:17 Comparing /work/SRC/openSUSE:Factory/python-smbprotocol (Old) and /work/SRC/openSUSE:Factory/.python-smbprotocol.new.28833 (New) Package is "python-smbprotocol" Mon Dec 31 09:47:17 2018 rev:2 rq:662056 version:0.1.1 Changes: --- /work/SRC/openSUSE:Factory/python-smbprotocol/python-smbprotocol.changes 2018-12-10 12:28:57.778489519 +0100 +++ /work/SRC/openSUSE:Factory/.python-smbprotocol.new.28833/python-smbprotocol.changes 2018-12-31 09:47:54.990141379 +0100 @@ -1,0 +2,8 @@ +Sat Dec 29 14:10:26 UTC 2018 - mar...@gmx.de + +- Update to version 0.1.1 + * Fix initial negotiate message not setting connection timeout +value. + * Fix endless loop when running a compound message that failed. + +--- Old: python-smbprotocol-0.1.0.tar.gz New: python-smbprotocol-0.1.1.tar.gz Other differences: -- ++ python-smbprotocol.spec ++ --- /var/tmp/diff_new_pack.2r3f46/_old 2018-12-31 09:47:55.454140999 +0100 +++ /var/tmp/diff_new_pack.2r3f46/_new 2018-12-31 09:47:55.458140995 +0100 @@ -13,11 +13,12 @@ # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-smbprotocol -Version:0.1.0 +Version:0.1.1 Release:0 Summary:Interact with a server using the SMB 2/3 Protocol License:MIT @@ -25,7 +26,6 @@ URL:https://github.com/jborean93/smbprotocol #Source: https://files.pythonhosted.org/packages/source/s/smbprotocol/smbprotocol-%%{version}.tar.gz Source: https://github.com/jborean93/smbprotocol/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -39,8 +39,8 @@ BuildRequires: %{python_module cryptography >= 2.0} BuildRequires: %{python_module ntlm-auth} BuildRequires: %{python_module pyasn1} -BuildRequires: %{python_module six} BuildRequires: %{python_module pytest} +BuildRequires: %{python_module six} %python_subpackages %description ++ python-smbprotocol-0.1.0.tar.gz -> python-smbprotocol-0.1.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/smbprotocol-0.1.0/.travis.yml new/smbprotocol-0.1.1/.travis.yml --- old/smbprotocol-0.1.0/.travis.yml 2018-03-07 00:59:21.0 +0100 +++ new/smbprotocol-0.1.1/.travis.yml 2018-09-14 02:25:45.0 +0200 @@ -3,11 +3,18 @@ language: python python: -- "2.6" -- "2.7" -- "3.4" -- "3.5" -- "3.6" +- 2.6 +- 2.7 +- 3.4 +- 3.5 +- 3.6 + +# Python 3.7 requires 16.04 (Xenial), this is a hack to get that specific +# distro running that version until I can swap the rest over officially +matrix: + include: + - python: 3.7 +dist: xenial services: - docker @@ -22,10 +29,12 @@ install: - docker run -d -p $SMB_PORT:445 -v $(pwd)/build-scripts:/app -w /app -e SMB_USER=$SMB_USER -e SMB_PASSWORD=$SMB_PASSWORD -e SMB_SHARE=$SMB_SHARE centos:7 /bin/bash /app/setup_samba.sh; -- pip install -U pip setuptools +- pip install --upgrade pip setuptools - pip install . - pip install -r requirements-test.txt -- pip install python-coveralls +- pip install coveralls +# make sure the Samba service on the container is up and running +- python ./build-scripts/check_samba.py script: - py.test -v --instafail --pep8 --cov smbprotocol --cov-report term-missing diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/smbprotocol-0.1.0/CHANGELOG.md new/smbprotocol-0.1.1/CHANGELOG.md --- old/smbprotocol-0.1.0/CHANGELOG.md 2018-03-07 00:59:21.0 +0100 +++ new/smbprotocol-0.1.1/CHANGELOG.md 2018-09-14 02:25:45.0 +0200 @@ -1,6 +1,12 @@ # Changelog -## 0.0.1 (Unreleased) +## 0.1.1 - 2018-09-14 + +* Fix initial negotiate message not setting connection timeout value +* Fix endless loop when running a compound message that failed + + +## 0.1.0 - 2018-03-07 Initial release of smbprotocol, it contains the following features diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/smbprotocol-0.1.0/README.md new/smbprotocol-0.1.1/README.md --- old/smbprotocol-0.1.0/README.md 2018-03-07 00:59:21.0 +0100 +++ new/smbprotocol-0.1.1/README.md 2018-09-14 02:25:45.0 +0200 @@ -30,7 +30,7 @@ ## Requirements -* Python 2.6, 2.7, 3.4-3.6 +* Python 2.6, 2.7,
commit python-smbprotocol for openSUSE:Factory
Hello community, here is the log from the commit of package python-smbprotocol for openSUSE:Factory checked in at 2018-12-10 12:28:57 Comparing /work/SRC/openSUSE:Factory/python-smbprotocol (Old) and /work/SRC/openSUSE:Factory/.python-smbprotocol.new.19453 (New) Package is "python-smbprotocol" Mon Dec 10 12:28:57 2018 rev:1 rq:655899 version:0.1.0 Changes: New Changes file: --- /dev/null 2018-10-29 14:05:42.522318975 +0100 +++ /work/SRC/openSUSE:Factory/.python-smbprotocol.new.19453/python-smbprotocol.changes 2018-12-10 12:28:57.778489519 +0100 @@ -0,0 +1,4 @@ +--- +Thu Sep 6 17:42:06 UTC 2018 - mar...@gmx.de + +- Initial package, version 0.1.0 New: python-smbprotocol-0.1.0.tar.gz python-smbprotocol.changes python-smbprotocol.spec Other differences: -- ++ python-smbprotocol.spec ++ # # spec file for package python-smbprotocol # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-smbprotocol Version:0.1.0 Release:0 Summary:Interact with a server using the SMB 2/3 Protocol License:MIT Group: Development/Languages/Python URL:https://github.com/jborean93/smbprotocol #Source: https://files.pythonhosted.org/packages/source/s/smbprotocol/smbprotocol-%%{version}.tar.gz Source: https://github.com/jborean93/smbprotocol/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-cryptography >= 2.0 Requires: python-ntlm-auth Requires: python-pyasn1 Requires: python-six Suggests: python-gssapi >= 1.4.1 Suggests: python-ordereddict BuildArch: noarch BuildRequires: %{python_module cryptography >= 2.0} BuildRequires: %{python_module ntlm-auth} BuildRequires: %{python_module pyasn1} BuildRequires: %{python_module six} BuildRequires: %{python_module pytest} %python_subpackages %description SMBv2 and v3 Client for both Python 2 and 3. This library implements the SMBv2 and SMBv3 protocol. Features - Negotiation of the SMB 2.0.2 protocol to SMB 3.1.1 (Windows 10/Server 2016) - Authentication with both NTLM and Kerberos - Message signing - Message encryption (SMB 3.x.x+) - Connect to a Tree/Share - Opening of files, pipes and directories - Set create contexts when opening files - Read and writing of files and pipes - Sending IOCTL commands - Sending of multiple messages in one packet (compounding) %prep %setup -q -n smbprotocol-%{version} %build %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check %python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_version} %files %{python_files} %license LICENSE %doc CHANGELOG.md README.md %{python_sitelib}/* %changelog