Hello community,
here is the log from the commit of package python-serverfiles for
openSUSE:Leap:15.2 checked in at 2020-03-02 13:22:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-serverfiles (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-serverfiles.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-serverfiles"
Mon Mar 2 13:22:40 2020 rev:3 rq:777132 version:0.3.0
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-serverfiles/python-serverfiles.changes
2020-01-15 15:52:57.023580950 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-serverfiles.new.26092/python-serverfiles.changes
2020-03-02 13:22:41.894319731 +0100
@@ -1,0 +2,6 @@
+Fri Mar 22 14:32:57 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 0.3.0:
+ * no upstream changelog
+
+-------------------------------------------------------------------
Old:
----
serverfiles-0.2.1.tar.gz
New:
----
serverfiles-0.3.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-serverfiles.spec ++++++
--- /var/tmp/diff_new_pack.NGnknP/_old 2020-03-02 13:22:42.430320797 +0100
+++ /var/tmp/diff_new_pack.NGnknP/_new 2020-03-02 13:22:42.430320797 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-serverfiles
#
-# 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
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-serverfiles
-Version: 0.2.1
+Version: 0.3.0
Release: 0
Summary: A utility to locally store files on a HTTP server
License: GPL-3.0-or-later
++++++ serverfiles-0.2.1.tar.gz -> serverfiles-0.3.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/serverfiles-0.2.1/.gitignore
new/serverfiles-0.3.0/.gitignore
--- old/serverfiles-0.2.1/.gitignore 2017-09-21 18:02:07.000000000 +0200
+++ new/serverfiles-0.3.0/.gitignore 1970-01-01 01:00:00.000000000 +0100
@@ -1,2 +0,0 @@
-*.egg-info
-dist
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/serverfiles-0.2.1/MANIFEST.in
new/serverfiles-0.3.0/MANIFEST.in
--- old/serverfiles-0.2.1/MANIFEST.in 2017-09-21 18:02:07.000000000 +0200
+++ new/serverfiles-0.3.0/MANIFEST.in 2018-11-23 12:29:28.000000000 +0100
@@ -1 +1,4 @@
include LICENSE.txt
+recursive-include doc *.rst Makefile *.bat *.py
+recursive-include tests *.py
+include requirements.txt
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/serverfiles-0.2.1/PKG-INFO
new/serverfiles-0.3.0/PKG-INFO
--- old/serverfiles-0.2.1/PKG-INFO 2017-09-21 18:02:45.000000000 +0200
+++ new/serverfiles-0.3.0/PKG-INFO 2018-11-23 12:35:37.000000000 +0100
@@ -1,11 +1,10 @@
Metadata-Version: 1.0
Name: serverfiles
-Version: 0.2.1
+Version: 0.3.0
Summary: An utility that accesses files on a HTTP server and stores them
locally for reuse.
-Home-page: UNKNOWN
+Home-page: https://github.com/biolab/serverfiles
Author: Bioinformatics Laboratory, FRI UL
Author-email: [email protected]
License: UNKNOWN
-Description-Content-Type: UNKNOWN
Description: UNKNOWN
Platform: UNKNOWN
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/serverfiles-0.2.1/README.txt
new/serverfiles-0.3.0/README.txt
--- old/serverfiles-0.2.1/README.txt 1970-01-01 01:00:00.000000000 +0100
+++ new/serverfiles-0.3.0/README.txt 2018-11-23 11:45:29.000000000 +0100
@@ -0,0 +1 @@
+An utility that accesses files on a HTTP server and stores them locally for
reuse.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/serverfiles-0.2.1/doc/.gitignore
new/serverfiles-0.3.0/doc/.gitignore
--- old/serverfiles-0.2.1/doc/.gitignore 2017-09-21 18:02:07.000000000
+0200
+++ new/serverfiles-0.3.0/doc/.gitignore 1970-01-01 01:00:00.000000000
+0100
@@ -1 +0,0 @@
-build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/serverfiles-0.2.1/serverfiles/__init__.py
new/serverfiles-0.3.0/serverfiles/__init__.py
--- old/serverfiles-0.2.1/serverfiles/__init__.py 2017-01-26
18:06:33.000000000 +0100
+++ new/serverfiles-0.3.0/serverfiles/__init__.py 2018-11-23
11:45:46.000000000 +0100
@@ -158,7 +158,10 @@
"""A class for listing or downloading files from the server."""
def __init__(self, server, username=None, password=None):
- self.server = server
+ if server.endswith('/'):
+ self.server = server
+ else:
+ self.server = server + '/'
"""Server URL."""
self.username = username
"""Username for authenticated HTTP queried."""
@@ -253,8 +256,7 @@
self._download_server_info()
files = self.listfiles(*path, recursive=recursive)
infos = {}
- for a in files:
- npath = a
+ for npath in files:
infos[npath] = self.info(*npath)
return infos
@@ -288,7 +290,8 @@
auth = None
if self.username and self.password:
auth = (self.username, self.password)
- return self.req.get(root+"/".join(path), auth=auth, verify=False,
timeout=TIMEOUT, stream=True)
+ return self.req.get(root + "/".join(path), auth=auth,
+ timeout=TIMEOUT, stream=True)
def _open(self, *args):
return self._server_request(self.server, *args)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/serverfiles-0.2.1/serverfiles.egg-info/PKG-INFO
new/serverfiles-0.3.0/serverfiles.egg-info/PKG-INFO
--- old/serverfiles-0.2.1/serverfiles.egg-info/PKG-INFO 2017-09-21
18:02:45.000000000 +0200
+++ new/serverfiles-0.3.0/serverfiles.egg-info/PKG-INFO 2018-11-23
12:35:37.000000000 +0100
@@ -1,11 +1,10 @@
Metadata-Version: 1.0
Name: serverfiles
-Version: 0.2.1
+Version: 0.3.0
Summary: An utility that accesses files on a HTTP server and stores them
locally for reuse.
-Home-page: UNKNOWN
+Home-page: https://github.com/biolab/serverfiles
Author: Bioinformatics Laboratory, FRI UL
Author-email: [email protected]
License: UNKNOWN
-Description-Content-Type: UNKNOWN
Description: UNKNOWN
Platform: UNKNOWN
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/serverfiles-0.2.1/serverfiles.egg-info/SOURCES.txt
new/serverfiles-0.3.0/serverfiles.egg-info/SOURCES.txt
--- old/serverfiles-0.2.1/serverfiles.egg-info/SOURCES.txt 2017-09-21
18:02:45.000000000 +0200
+++ new/serverfiles-0.3.0/serverfiles.egg-info/SOURCES.txt 2018-11-23
12:35:37.000000000 +0100
@@ -1,9 +1,8 @@
-.gitignore
LICENSE.txt
MANIFEST.in
+README.txt
requirements.txt
setup.py
-doc/.gitignore
doc/Makefile
doc/conf.py
doc/index.rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/serverfiles-0.2.1/setup.py
new/serverfiles-0.3.0/setup.py
--- old/serverfiles-0.2.1/setup.py 2017-09-21 18:02:07.000000000 +0200
+++ new/serverfiles-0.3.0/setup.py 2018-11-23 12:31:34.000000000 +0100
@@ -13,7 +13,8 @@
install_requires=[
'requests>=2.11.1',
],
- version='0.2.1',
+ version='0.3.0',
zip_safe=False,
+ url="https://github.com/biolab/serverfiles",
test_suite="tests.suite"
)