openSUSE Commits
Threads by month
- ----- 2025 -----
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
June 2019
- 1 participants
- 2296 discussions
Hello community,
here is the log from the commit of package python-py3status for openSUSE:Factory checked in at 2019-06-01 09:45:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-py3status (Old)
and /work/SRC/openSUSE:Factory/.python-py3status.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-py3status"
Sat Jun 1 09:45:47 2019 rev:3 rq:705398 version:3.19
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-py3status/python-py3status.changes 2018-08-24 17:10:38.066537096 +0200
+++ /work/SRC/openSUSE:Factory/.python-py3status.new.5148/python-py3status.changes 2019-06-01 09:45:56.311397235 +0200
@@ -1,0 +2,13 @@
+Sat May 25 09:57:23 UTC 2019 - Tomáš Chvátal <tchvatal(a)suse.com>
+
+- Use the pytest macro
+
+-------------------------------------------------------------------
+Fri May 24 12:02:59 UTC 2019 - pgajdos(a)suse.com
+
+- version update to 3.19
+ * many changes, see CHANGELOG file
+- deleted patches
+ - fast-entrypoints.patch (upstreamed)
+
+-------------------------------------------------------------------
Old:
----
fast-entrypoints.patch
py3status-3.12.tar.gz
New:
----
py3status-3.19.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-py3status.spec ++++++
--- /var/tmp/diff_new_pack.lIUhLM/_old 2019-06-01 09:45:56.855397049 +0200
+++ /var/tmp/diff_new_pack.lIUhLM/_new 2019-06-01 09:45:56.855397049 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-py3status
#
-# 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,20 +12,19 @@
# 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/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-py3status
-Version: 3.12
+Version: 3.19
Release: 0
Summary: Extensible i3status wrapper written in python
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/ultrabug/py3status
Source: https://files.pythonhosted.org/packages/source/p/py3status/py3status-%{vers…
-Patch0: fast-entrypoints.patch
BuildRequires: %{python_module gevent >= 1.1}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
@@ -51,7 +50,6 @@
%prep
%setup -q -n py3status-%{version}
-%patch0 -p1
%build
%python_build
@@ -64,7 +62,7 @@
%check
export LANG=en_US.UTF8
-%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} tests/
+%pytest tests/
%post
%python_install_alternative py3status
++++++ py3status-3.12.tar.gz -> py3status-3.19.tar.gz ++++++
++++ 40815 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package python-pydenticon for openSUSE:Factory checked in at 2019-06-01 09:45:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pydenticon (Old)
and /work/SRC/openSUSE:Factory/.python-pydenticon.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pydenticon"
Sat Jun 1 09:45:40 2019 rev:2 rq:705246 version:0.3.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pydenticon/python-pydenticon.changes 2017-08-12 20:25:14.924456062 +0200
+++ /work/SRC/openSUSE:Factory/.python-pydenticon.new.5148/python-pydenticon.changes 2019-06-01 09:45:47.863400119 +0200
@@ -1,0 +2,7 @@
+Mon May 20 15:32:34 UTC 2019 - pgajdos(a)suse.com
+
+- version update to 0.3.1
+ * Minor bug-fixes.
+- run tests
+
+-------------------------------------------------------------------
Old:
----
pydenticon-0.3.tar.gz
New:
----
pydenticon-0.3.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pydenticon.spec ++++++
--- /var/tmp/diff_new_pack.S3foAO/_old 2019-06-01 09:45:49.527399551 +0200
+++ /var/tmp/diff_new_pack.S3foAO/_new 2019-06-01 09:45:49.531399550 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-pydenticon
#
-# Copyright (c) 2017 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,14 +12,14 @@
# 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/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define modname pydenticon
Name: python-%{modname}
-Version: 0.3
+Version: 0.3.1
Release: 0
Summary: Library for generating identicons
License: BSD-3-Clause
@@ -29,6 +29,9 @@
BuildRequires: %{python_module Pillow}
BuildRequires: %{python_module base}
BuildRequires: %{python_module setuptools}
+# SECTION test requirements
+BuildRequires: %{python_module mock}
+# /SECTION
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -62,9 +65,13 @@
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}/%{modname}
+%check
+%python_exec setup.py test
+
%files %{python_files}
%defattr(-,root,root,-)
-%doc README.rst LICENSE
+%doc README.rst
+%license LICENSE
%{python_sitelib}/*
%changelog
++++++ pydenticon-0.3.tar.gz -> pydenticon-0.3.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pydenticon-0.3/PKG-INFO new/pydenticon-0.3.1/PKG-INFO
--- old/pydenticon-0.3/PKG-INFO 2016-12-03 15:26:49.000000000 +0100
+++ new/pydenticon-0.3.1/PKG-INFO 2017-09-04 14:50:58.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: pydenticon
-Version: 0.3
+Version: 0.3.1
Summary: Library for generating identicons. Port of Sigil (https://github.com/cupcake/sigil) with enhancements.
Home-page: https://github.com/azaghal/pydenticon
Author: Branko Majic
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pydenticon-0.3/docs/conf.py new/pydenticon-0.3.1/docs/conf.py
--- old/pydenticon-0.3/docs/conf.py 2016-12-03 15:26:31.000000000 +0100
+++ new/pydenticon-0.3.1/docs/conf.py 2017-09-04 14:50:57.000000000 +0200
@@ -49,9 +49,9 @@
# built documents.
#
# The short X.Y version.
-version = '0.3'
+version = '0.3.1'
# The full version, including alpha/beta/rc tags.
-release = '0.3'
+release = '0.3.1'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pydenticon-0.3/docs/releasenotes.rst new/pydenticon-0.3.1/docs/releasenotes.rst
--- old/pydenticon-0.3/docs/releasenotes.rst 2016-12-03 15:26:31.000000000 +0100
+++ new/pydenticon-0.3.1/docs/releasenotes.rst 2017-09-04 14:41:01.000000000 +0200
@@ -1,6 +1,16 @@
Release Notes
=============
+0.3.1
+-----
+
+Minor bug-fixes.
+
+Bug fixes:
+
+* `PYD-8 - Cannot generate identicons in JPEG format when using Pillow >= 4.2.0
+ <https://projects.majic.rs/pydenticon/issues/PYD-8>`_
+
0.3
---
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pydenticon-0.3/pydenticon/__init__.py new/pydenticon-0.3.1/pydenticon/__init__.py
--- old/pydenticon-0.3/pydenticon/__init__.py 2016-12-03 15:26:31.000000000 +0100
+++ new/pydenticon-0.3.1/pydenticon/__init__.py 2017-09-03 14:17:12.000000000 +0200
@@ -246,6 +246,9 @@
# Set-up a stream where image will be saved.
stream = BytesIO()
+ if image_format.upper() == "JPEG":
+ image = image.convert(mode="RGB")
+
# Save the image to stream.
try:
image.save(stream, format=image_format, optimize=True)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pydenticon-0.3/pydenticon.egg-info/PKG-INFO new/pydenticon-0.3.1/pydenticon.egg-info/PKG-INFO
--- old/pydenticon-0.3/pydenticon.egg-info/PKG-INFO 2016-12-03 15:26:49.000000000 +0100
+++ new/pydenticon-0.3.1/pydenticon.egg-info/PKG-INFO 2017-09-04 14:50:58.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: pydenticon
-Version: 0.3
+Version: 0.3.1
Summary: Library for generating identicons. Port of Sigil (https://github.com/cupcake/sigil) with enhancements.
Home-page: https://github.com/azaghal/pydenticon
Author: Branko Majic
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pydenticon-0.3/setup.py new/pydenticon-0.3.1/setup.py
--- old/pydenticon-0.3/setup.py 2016-12-03 15:26:31.000000000 +0100
+++ new/pydenticon-0.3.1/setup.py 2017-09-04 14:50:57.000000000 +0200
@@ -10,7 +10,7 @@
setup(
name='pydenticon',
- version='0.3',
+ version='0.3.1',
packages=['pydenticon'],
include_package_data=True,
license='BSD', # example license
1
0
Hello community,
here is the log from the commit of package python-pscript for openSUSE:Factory checked in at 2019-06-01 09:45:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pscript (Old)
and /work/SRC/openSUSE:Factory/.python-pscript.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pscript"
Sat Jun 1 09:45:32 2019 rev:4 rq:705241 version:0.7.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pscript/python-pscript.changes 2019-03-26 22:31:47.917714817 +0100
+++ /work/SRC/openSUSE:Factory/.python-pscript.new.5148/python-pscript.changes 2019-06-01 09:45:38.327403374 +0200
@@ -1,0 +2,7 @@
+Fri May 24 12:20:38 UTC 2019 - pgajdos(a)suse.com
+
+- version update to 0.7.1
+ * fix style error
+ * Quicker op_equals
+
+-------------------------------------------------------------------
Old:
----
pscript-0.7.0.tar.gz
New:
----
pscript-0.7.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pscript.spec ++++++
--- /var/tmp/diff_new_pack.7HcxyR/_old 2019-06-01 09:45:40.783402536 +0200
+++ /var/tmp/diff_new_pack.7HcxyR/_new 2019-06-01 09:45:40.815402525 +0200
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pscript
-Version: 0.7.0
+Version: 0.7.1
Release: 0
Summary: Python to JavaScript compiler
License: BSD-2-Clause
++++++ pscript-0.7.0.tar.gz -> pscript-0.7.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pscript-0.7.0/PKG-INFO new/pscript-0.7.1/PKG-INFO
--- old/pscript-0.7.0/PKG-INFO 2018-11-08 16:25:25.000000000 +0100
+++ new/pscript-0.7.1/PKG-INFO 2019-03-29 22:17:47.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: pscript
-Version: 0.7.0
+Version: 0.7.1
Summary: Python to JavaScript compiler.
Home-page: http://pscript.readthedocs.io
Author: Almar Klein and contributors
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pscript-0.7.0/pscript/__init__.py new/pscript-0.7.1/pscript/__init__.py
--- old/pscript-0.7.0/pscript/__init__.py 2018-11-08 16:23:18.000000000 +0100
+++ new/pscript-0.7.1/pscript/__init__.py 2019-03-29 22:14:19.000000000 +0100
@@ -17,7 +17,7 @@
when correct, but error reporting may not be very Pythonic.
The most important functions you need to know about are
-:func:`py2js <pscript.py2js>` and
+:func:`py2js <pscript.py2js>` and
:func:`evalpy <pscript.evalpy>`.
In principal you do not need knowledge of JavaScript to write PScript
code, though it does help in corner cases.
@@ -32,7 +32,7 @@
Python, to allow user-defined interaction to be flexible, fast, and
stand-alone.
-This resulted in the following two main goals:
+This resulted in the following two main goals:
* To make writing JavaScript easier and less frustrating, by letting
people write it with the Python syntax and builtins, and fixing some
@@ -74,7 +74,7 @@
The empty list and dict evaluate to false (whereas in JS it's
true), and ``isinstance()`` just works (whereas JS' ``typeof`` is
-broken).
+broken).
Deep comparisons are supported (e.g. for ``==`` and ``in``), so you can
compare two lists or dicts, or even a structure of nested
@@ -135,7 +135,7 @@
have a negative impact on performance in tight loops (in comparison to
writing the JS by hand). The recommended approach is to write
performance critical code in pure JavaScript
-(using :func:`RawJS <pscript.RawJS>`) if necessary.
+(using :func:`RawJS <pscript.RawJS>`) if necessary.
.. _pscript-overload:
@@ -144,7 +144,7 @@
----------------------------------------------
To improve the performance of critical code, it's possible to disable
-some of the overloading that make PScript more Pythonic. This increases
+some of the overloading that make PScript more Pythonic. This increases
the speed of code, but it also makes it more like JavaScript.
To use this feature, write ``PSCRIPT_OVERLOAD = False``. Any code that
@@ -169,7 +169,7 @@
-------
This is an overview of the language features that PScript
-supports/lacks.
+supports/lacks.
Not currently supported:
@@ -239,7 +239,7 @@
"""
-__version__ = '0.7.0'
+__version__ = '0.7.1'
import sys
import logging
@@ -268,13 +268,13 @@
# flake8: noqa
if ok:
-
+
from .parser0 import Parser0, JSError
from .parser1 import Parser1
from .parser2 import Parser2
from .parser3 import Parser3
from .base import *
-
+
from .functions import py2js, evaljs, evalpy, JSString
from .functions import script2js, js_rename, create_js_module
from .stdlib import get_full_std_lib, get_all_std_names
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pscript-0.7.0/pscript/parser1.py new/pscript-0.7.1/pscript/parser1.py
--- old/pscript-0.7.0/pscript/parser1.py 2018-11-08 16:21:21.000000000 +0100
+++ new/pscript-0.7.1/pscript/parser1.py 2019-03-08 14:00:40.000000000 +0100
@@ -848,7 +848,7 @@
return []
if node.root and node.root == '__future__':
return [] # stuff to help the parser
- if node.root is 'time':
+ if node.root == 'time':
return [] # PScript natively supports time() and perf_counter()
raise JSError('PScript does not support imports.')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pscript-0.7.0/pscript/stdlib.py new/pscript-0.7.1/pscript/stdlib.py
--- old/pscript-0.7.0/pscript/stdlib.py 2018-10-25 13:22:51.000000000 +0200
+++ new/pscript-0.7.1/pscript/stdlib.py 2019-03-08 14:00:02.000000000 +0100
@@ -42,7 +42,7 @@
_update_deps(FUNCTIONS[dep], function_deps, method_deps)
for dep in list(method_deps):
_update_deps(METHODS[dep], function_deps, method_deps)
-
+
return nargs, sorted(function_deps), sorted(method_deps)
def _update_deps(code, function_deps, method_deps):
@@ -93,7 +93,7 @@
def get_full_std_lib(indent=0):
""" Get the code for the full PScript standard library.
-
+
The given indent specifies how many sets of 4 spaces to prepend.
If the full stdlib is made available in JavaScript, multiple
snippets of code can be transpiled without inlined stdlib parts by
@@ -349,7 +349,7 @@
for (i=0; i<iter.length; i++) {res.push([i, iter[i]]);}
return res;
}"""
-
+
FUNCTIONS['zip'] = """function () { // nargs: 2 3 4 5 6 7 8 9
var i, j, tup, arg, args = [], res = [], len = 1e20;
for (i=0; i<arguments.length; i++) {
@@ -375,7 +375,7 @@
if ((typeof iter==="object") && (!Array.isArray(iter))) {iter = Object.keys(iter);}
var comp = function (a, b) {a = key(a); b = key(b);
if (a<b) {return -1;} if (a>b) {return 1;} return 0;};
- comp = Boolean(key) ? comp : undefined;
+ comp = Boolean(key) ? comp : undefined;
iter = iter.slice().sort(comp);
if (reverse) iter.reverse();
return iter;
@@ -404,6 +404,13 @@
}"""
FUNCTIONS['op_equals'] = """function op_equals (a, b) { // nargs: 2
+ var a_type = typeof a;
+ // If a (or b actually) is of type string, number or boolean, we don't need
+ // to do all the other type checking below.
+ if (a_type === "string" || a_type === "boolean" || a_type === "number") {
+ return a == b;
+ }
+
if (a == null || b == null) {
} else if (Array.isArray(a) && Array.isArray(b)) {
var i = 0, iseq = a.length == b.length;
@@ -463,7 +470,7 @@
METHODS['extend'] = """function (x) { // nargs: 1
if (!Array.isArray(this)) return this.KEY.apply(this, arguments);
- this.push.apply(this, x);
+ this.push.apply(this, x);
}"""
METHODS['insert'] = """function (i, x) { // nargs: 2
@@ -488,7 +495,7 @@
if (!Array.isArray(this)) return this.KEY.apply(this, arguments);
var comp = function (a, b) {a = key(a); b = key(b);
if (a<b) {return -1;} if (a>b) {return 1;} return 0;};
- comp = Boolean(key) ? comp : undefined;
+ comp = Boolean(key) ? comp : undefined;
this.sort(comp);
if (reverse) this.reverse();
}"""
@@ -539,14 +546,14 @@
stop = Math.min(this.length, ((stop < 0) ? this.length + stop : stop));
if (Array.isArray(this)) {
var count = 0;
- for (var i=0; i<this.length; i++) {
+ for (var i=0; i<this.length; i++) {
if (FUNCTION_PREFIXop_equals(this[i], x)) {count+=1;}
} return count;
} else if (this.constructor == String) {
var count = 0, i = start;
while (i >= 0 && i < stop) {
i = this.indexOf(x, i);
- if (i < 0) break;
+ if (i < 0) break;
count += 1;
i += Math.max(1, x.length);
} return count;
@@ -764,7 +771,7 @@
METHODS['join'] = """function (x) { // nargs: 1
if (this.constructor !== String) return this.KEY.apply(this, arguments);
- return x.join(this); // call join on the list instead of the string.
+ return x.join(this); // call join on the list instead of the string.
}"""
METHODS['ljust'] = """function (w, fill) { // nargs: 1 2
@@ -793,7 +800,7 @@
var i1 = this.indexOf(sep);
if (i1 < 0) return [this.slice(0), '', '']
var i2 = i1 + sep.length;
- return [this.slice(0, i1), this.slice(i1, i2), this.slice(i2)];
+ return [this.slice(0, i1), this.slice(i1, i2), this.slice(i2)];
}"""
METHODS['replace'] = """function (s1, s2, count) { // nargs: 2 3
@@ -844,7 +851,7 @@
var i1 = this.lastIndexOf(sep);
if (i1 < 0) return ['', '', this.slice(0)]
var i2 = i1 + sep.length;
- return [this.slice(0, i1), this.slice(i1, i2), this.slice(i2)];
+ return [this.slice(0, i1), this.slice(i1, i2), this.slice(i2)];
}"""
METHODS['rsplit'] = """function (sep, count) { // nargs: 1 2
@@ -965,7 +972,7 @@
'FUNCTION_PREFIX', FUNCTION_PREFIX).replace(
'METHOD_PREFIX', METHOD_PREFIX).replace(
', )', ')')
-
+
for key in FUNCTIONS:
FUNCTIONS[key] = re.subn(r'METHOD_PREFIX(.+?)\(',
r'METHOD_PREFIX\1.call(', FUNCTIONS[key])[0]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pscript-0.7.0/pscript.egg-info/PKG-INFO new/pscript-0.7.1/pscript.egg-info/PKG-INFO
--- old/pscript-0.7.0/pscript.egg-info/PKG-INFO 2018-11-08 16:25:24.000000000 +0100
+++ new/pscript-0.7.1/pscript.egg-info/PKG-INFO 2019-03-29 22:17:46.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: pscript
-Version: 0.7.0
+Version: 0.7.1
Summary: Python to JavaScript compiler.
Home-page: http://pscript.readthedocs.io
Author: Almar Klein and contributors
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pscript-0.7.0/pscript_legacy/__init__.py new/pscript-0.7.1/pscript_legacy/__init__.py
--- old/pscript-0.7.0/pscript_legacy/__init__.py 2018-11-08 16:25:24.000000000 +0100
+++ new/pscript-0.7.1/pscript_legacy/__init__.py 2019-03-29 22:17:45.000000000 +0100
@@ -18,7 +18,7 @@
when correct, but error reporting may not be very Pythonic.
The most important functions you need to know about are
-:func:`py2js <pscript.py2js>` and
+:func:`py2js <pscript.py2js>` and
:func:`evalpy <pscript.evalpy>`.
In principal you do not need knowledge of JavaScript to write PScript
code, though it does help in corner cases.
@@ -33,7 +33,7 @@
Python, to allow user-defined interaction to be flexible, fast, and
stand-alone.
-This resulted in the following two main goals:
+This resulted in the following two main goals:
* To make writing JavaScript easier and less frustrating, by letting
people write it with the Python syntax and builtins, and fixing some
@@ -75,7 +75,7 @@
The empty list and dict evaluate to false (whereas in JS it's
true), and ``isinstance()`` just works (whereas JS' ``typeof`` is
-broken).
+broken).
Deep comparisons are supported (e.g. for ``==`` and ``in``), so you can
compare two lists or dicts, or even a structure of nested
@@ -136,7 +136,7 @@
have a negative impact on performance in tight loops (in comparison to
writing the JS by hand). The recommended approach is to write
performance critical code in pure JavaScript
-(using :func:`RawJS <pscript.RawJS>`) if necessary.
+(using :func:`RawJS <pscript.RawJS>`) if necessary.
.. _pscript-overload:
@@ -145,7 +145,7 @@
----------------------------------------------
To improve the performance of critical code, it's possible to disable
-some of the overloading that make PScript more Pythonic. This increases
+some of the overloading that make PScript more Pythonic. This increases
the speed of code, but it also makes it more like JavaScript.
To use this feature, write ``PSCRIPT_OVERLOAD = False``. Any code that
@@ -170,7 +170,7 @@
-------
This is an overview of the language features that PScript
-supports/lacks.
+supports/lacks.
Not currently supported:
@@ -242,7 +242,7 @@
from __future__ import print_function, absolute_import, with_statement, unicode_literals, division
-__version__ = '0.7.0'
+__version__ = '0.7.1'
import sys
import logging
@@ -271,13 +271,13 @@
# flake8: noqa
if ok:
-
+
from .parser0 import Parser0, JSError
from .parser1 import Parser1
from .parser2 import Parser2
from .parser3 import Parser3
from .base import *
-
+
from .functions import py2js, evaljs, evalpy, JSString
from .functions import script2js, js_rename, create_js_module
from .stdlib import get_full_std_lib, get_all_std_names
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pscript-0.7.0/pscript_legacy/parser1.py new/pscript-0.7.1/pscript_legacy/parser1.py
--- old/pscript-0.7.0/pscript_legacy/parser1.py 2018-11-08 16:25:24.000000000 +0100
+++ new/pscript-0.7.1/pscript_legacy/parser1.py 2019-03-29 22:17:45.000000000 +0100
@@ -851,7 +851,7 @@
return []
if node.root and node.root == '__future__':
return [] # stuff to help the parser
- if node.root is 'time':
+ if node.root == 'time':
return [] # PScript natively supports time() and perf_counter()
raise JSError('PScript does not support imports.')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pscript-0.7.0/pscript_legacy/stdlib.py new/pscript-0.7.1/pscript_legacy/stdlib.py
--- old/pscript-0.7.0/pscript_legacy/stdlib.py 2018-11-08 16:25:24.000000000 +0100
+++ new/pscript-0.7.1/pscript_legacy/stdlib.py 2019-03-29 22:17:45.000000000 +0100
@@ -45,7 +45,7 @@
_update_deps(FUNCTIONS[dep], function_deps, method_deps)
for dep in list(method_deps):
_update_deps(METHODS[dep], function_deps, method_deps)
-
+
return nargs, sorted(function_deps), sorted(method_deps)
def _update_deps(code, function_deps, method_deps):
@@ -96,7 +96,7 @@
def get_full_std_lib(indent=0):
""" Get the code for the full PScript standard library.
-
+
The given indent specifies how many sets of 4 spaces to prepend.
If the full stdlib is made available in JavaScript, multiple
snippets of code can be transpiled without inlined stdlib parts by
@@ -352,7 +352,7 @@
for (i=0; i<iter.length; i++) {res.push([i, iter[i]]);}
return res;
}"""
-
+
FUNCTIONS['zip'] = """function () { // nargs: 2 3 4 5 6 7 8 9
var i, j, tup, arg, args = [], res = [], len = 1e20;
for (i=0; i<arguments.length; i++) {
@@ -378,7 +378,7 @@
if ((typeof iter==="object") && (!Array.isArray(iter))) {iter = Object.keys(iter);}
var comp = function (a, b) {a = key(a); b = key(b);
if (a<b) {return -1;} if (a>b) {return 1;} return 0;};
- comp = Boolean(key) ? comp : undefined;
+ comp = Boolean(key) ? comp : undefined;
iter = iter.slice().sort(comp);
if (reverse) iter.reverse();
return iter;
@@ -407,6 +407,13 @@
}"""
FUNCTIONS['op_equals'] = """function op_equals (a, b) { // nargs: 2
+ var a_type = typeof a;
+ // If a (or b actually) is of type string, number or boolean, we don't need
+ // to do all the other type checking below.
+ if (a_type === "string" || a_type === "boolean" || a_type === "number") {
+ return a == b;
+ }
+
if (a == null || b == null) {
} else if (Array.isArray(a) && Array.isArray(b)) {
var i = 0, iseq = a.length == b.length;
@@ -466,7 +473,7 @@
METHODS['extend'] = """function (x) { // nargs: 1
if (!Array.isArray(this)) return this.KEY.apply(this, arguments);
- this.push.apply(this, x);
+ this.push.apply(this, x);
}"""
METHODS['insert'] = """function (i, x) { // nargs: 2
@@ -491,7 +498,7 @@
if (!Array.isArray(this)) return this.KEY.apply(this, arguments);
var comp = function (a, b) {a = key(a); b = key(b);
if (a<b) {return -1;} if (a>b) {return 1;} return 0;};
- comp = Boolean(key) ? comp : undefined;
+ comp = Boolean(key) ? comp : undefined;
this.sort(comp);
if (reverse) this.reverse();
}"""
@@ -542,14 +549,14 @@
stop = Math.min(this.length, ((stop < 0) ? this.length + stop : stop));
if (Array.isArray(this)) {
var count = 0;
- for (var i=0; i<this.length; i++) {
+ for (var i=0; i<this.length; i++) {
if (FUNCTION_PREFIXop_equals(this[i], x)) {count+=1;}
} return count;
} else if (this.constructor == String) {
var count = 0, i = start;
while (i >= 0 && i < stop) {
i = this.indexOf(x, i);
- if (i < 0) break;
+ if (i < 0) break;
count += 1;
i += Math.max(1, x.length);
} return count;
@@ -767,7 +774,7 @@
METHODS['join'] = """function (x) { // nargs: 1
if (this.constructor !== String) return this.KEY.apply(this, arguments);
- return x.join(this); // call join on the list instead of the string.
+ return x.join(this); // call join on the list instead of the string.
}"""
METHODS['ljust'] = """function (w, fill) { // nargs: 1 2
@@ -796,7 +803,7 @@
var i1 = this.indexOf(sep);
if (i1 < 0) return [this.slice(0), '', '']
var i2 = i1 + sep.length;
- return [this.slice(0, i1), this.slice(i1, i2), this.slice(i2)];
+ return [this.slice(0, i1), this.slice(i1, i2), this.slice(i2)];
}"""
METHODS['replace'] = """function (s1, s2, count) { // nargs: 2 3
@@ -847,7 +854,7 @@
var i1 = this.lastIndexOf(sep);
if (i1 < 0) return ['', '', this.slice(0)]
var i2 = i1 + sep.length;
- return [this.slice(0, i1), this.slice(i1, i2), this.slice(i2)];
+ return [this.slice(0, i1), this.slice(i1, i2), this.slice(i2)];
}"""
METHODS['rsplit'] = """function (sep, count) { // nargs: 1 2
@@ -968,7 +975,7 @@
'FUNCTION_PREFIX', FUNCTION_PREFIX).replace(
'METHOD_PREFIX', METHOD_PREFIX).replace(
', )', ')')
-
+
for key in FUNCTIONS:
FUNCTIONS[key] = re.subn(r'METHOD_PREFIX(.+?)\(',
r'METHOD_PREFIX\1.call(', FUNCTIONS[key])[0]
1
0
Hello community,
here is the log from the commit of package python-minio for openSUSE:Factory checked in at 2019-06-01 09:45:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-minio (Old)
and /work/SRC/openSUSE:Factory/.python-minio.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-minio"
Sat Jun 1 09:45:22 2019 rev:4 rq:705232 version:4.0.17
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-minio/python-minio.changes 2019-05-20 13:17:37.803938532 +0200
+++ /work/SRC/openSUSE:Factory/.python-minio.new.5148/python-minio.changes 2019-06-01 09:45:29.131406514 +0200
@@ -1,0 +2,7 @@
+Fri May 24 12:09:49 UTC 2019 - pgajdos(a)suse.com
+
+- version update to 4.0.17
+ * Validate underscores in host names successfully
+ * Use README.md instead of README.rst
+
+-------------------------------------------------------------------
Old:
----
minio-4.0.16.tar.gz
New:
----
minio-4.0.17.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-minio.spec ++++++
--- /var/tmp/diff_new_pack.hmy8cm/_old 2019-06-01 09:45:30.431406070 +0200
+++ /var/tmp/diff_new_pack.hmy8cm/_new 2019-06-01 09:45:30.507406044 +0200
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-minio
-Version: 4.0.16
+Version: 4.0.17
Release: 0
Summary: Minio library for Amazon S3 compatible cloud storage
License: Apache-2.0
@@ -62,7 +62,7 @@
%python_exec setup.py test --test-suite=tests
%files %{python_files}
-%doc README.rst README*.md docs/API*.md examples/
+%doc README*.md docs/API*.md examples/
%license LICENSE
%{python_sitelib}/*
++++++ minio-4.0.16.tar.gz -> minio-4.0.17.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/minio-4.0.16/PKG-INFO new/minio-4.0.17/PKG-INFO
--- old/minio-4.0.16/PKG-INFO 2019-05-02 01:44:36.000000000 +0200
+++ new/minio-4.0.17/PKG-INFO 2019-05-23 21:40:43.000000000 +0200
@@ -1,219 +1,217 @@
-Metadata-Version: 1.1
+Metadata-Version: 2.1
Name: minio
-Version: 4.0.16
+Version: 4.0.17
Summary: MinIO Python Library for Amazon S3 Compatible Cloud Storage for Python
Home-page: https://github.com/minio/minio-py
Author: MinIO, Inc.
Author-email: dev(a)min.io
License: Apache License 2.0
Download-URL: https://github.com/minio/minio-py
-Description: MinIO Python Library for Amazon S3 Compatible Cloud Storage |Gitter|
- ========
+Description: # MinIO Python Library for Amazon S3 Compatible Cloud Storage [![Slack](https://slack.min.io/slack?type=svg)](https://slack.min.io)
- The MinIO Python Client SDK provides simple APIs to access any Amazon S3
- compatible object storage server.
+ The MinIO Python Client SDK provides simple APIs to access any Amazon S3 compatible object storage server.
- This quickstart guide will show you how to install the client SDK and
- execute an example python program. For a complete list of APIs and
- examples, please take a look at the `Python Client API
- Reference <https://docs.min.io/docs/python-client-api-reference>`__
- documentation.
+ This quickstart guide will show you how to install the client SDK and execute an example python program. For a complete list of APIs and examples, please take a look at the [Python Client API Reference](https://docs.min.io/docs/python-client-api-reference) documentation.
- This document assumes that you have a working
- `Python <https://www.python.org/downloads/>`__ setup in place.
+ This document assumes that you have a working [Python](https://www.python.org/downloads/) setup in place.
- Download from pip
- -----------------
+ ## Minimum Requirements
- .. code:: sh
+ - Python 2.7 or higher
- $ pip install minio
+ ## Download from pip
- Download from source
- --------------------
+ ```sh
+ pip install minio
+ ```
- .. code:: sh
+ ## Download from pip3
- $ git clone https://github.com/minio/minio-py
- $ cd minio-py
- $ python setup.py install
+ ```sh
+ pip3 install minio
+ ```
- Initialize MinIO Client
- -----------------------
+ ## Download from source
+
+ ```sh
+ git clone https://github.com/minio/minio-py
+ cd minio-py
+ python setup.py install
+ ```
+
+ ## Initialize MinIO Client
You need four items in order to connect to MinIO object storage server.
- .. csv-table::
- :header: "Params", "Description"
- :widths: 15, 30
+ | Params | Description |
+ | :------- | :---- |
+ | endpoint | URL to object storage service. |
+ | access_key| Access key is like user ID that uniquely identifies your account. |
+ | secret_key| Secret key is the password to your account. |
+ |secure|Set this value to 'True' to enable secure (HTTPS) access.|
+
+ ```py
+ from minio import Minio
+ from minio.error import ResponseError
- "endpoint", "URL to object storage service."
- "access_key", "Access key is like user ID that uniquely identifies your account."
- "secret_key", "Secret key is the password to your account."
- "secure", "Set this value to 'True' to enable secure (HTTPS) access."
+ minioClient = Minio('play.min.io:9000',
+ access_key='Q3AM3UQ867SPQQA43P2F',
+ secret_key='zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG',
+ secure=True)
+ ```
- .. code:: python
+ ## Quick Start Example - File Uploader
+ This example program connects to a MinIO object storage server, makes a bucket on the server and then uploads a file to the bucket.
- from minio import Minio
- from minio.error import ResponseError
+ We will use the MinIO server running at [https://play.min.io:9000](https://play.min.io:9000) in this example. Feel free to use this service for testing and development. Access credentials shown in this example are open to the public.
- minioClient = Minio('play.min.io:9000',
- access_key='Q3AM3UQ867SPQQA43P2F',
- secret_key='zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG',
- secure=True)
+ #### file-uploader.py
- Quick Start Example - File Uploader
- -----------------------------------
+ ```py
+ # Import MinIO library.
+ from minio import Minio
+ from minio.error import (ResponseError, BucketAlreadyOwnedByYou,
+ BucketAlreadyExists)
- This example program connects to a MinIO object storage server, makes a
- bucket on the server and then uploads a file to the bucket.
+ # Initialize minioClient with an endpoint and access/secret keys.
+ minioClient = Minio('play.min.io:9000',
+ access_key='Q3AM3UQ867SPQQA43P2F',
+ secret_key='zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG',
+ secure=True)
- We will use the MinIO server running at https://play.min.io:9000 in
- this example. Feel free to use this service for testing and development.
- Access credentials shown in this example are open to the public.
+ # Make a bucket with the make_bucket API call.
+ try:
+ minioClient.make_bucket("maylogs", location="us-east-1")
+ except BucketAlreadyOwnedByYou as err:
+ pass
+ except BucketAlreadyExists as err:
+ pass
+ except ResponseError as err:
+ raise
+ else:
+ # Put an object 'pumaserver_debug.log' with contents from 'pumaserver_debug.log'.
+ try:
+ minioClient.fput_object('maylogs', 'pumaserver_debug.log', '/tmp/pumaserver_debug.log')
+ except ResponseError as err:
+ print(err)
+ ```
- file-uploader.py
- ~~~~~~~~~~~~~~~~
+ #### Run file-uploader
- .. code:: python
+ ```bash
+ python file_uploader.py
- # Import MinIO library.
- from minio import Minio
- from minio.error import ResponseError
+ mc ls play/maylogs/
+ [2016-05-27 16:41:37 PDT] 12MiB pumaserver_debug.log
+ ```
- # Initialize minioClient with an endpoint and access/secret keys.
- minioClient = Minio('play.min.io:9000',
- access_key='Q3AM3UQ867SPQQA43P2F',
- secret_key='zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG',
- secure=True)
+ ## API Reference
- # Make a bucket with the make_bucket API call.
- try:
- minioClient.make_bucket("maylogs", location="us-east-1")
- except BucketAlreadyOwnedByYou as err:
- pass
- except BucketAlreadyExists as err:
- pass
- except ResponseError as err:
- raise
- else:
- # Put an object 'pumaserver_debug.log' with contents from 'pumaserver_debug.log'.
- try:
- minioClient.fput_object('maylogs', 'pumaserver_debug.log', '/tmp/pumaserver_debug.log')
- except ResponseError as err:
- print(err)
+ The full API Reference is available here.
+ * [Complete API Reference](https://docs.min.io/docs/python-client-api-reference)
+ ### API Reference : Bucket Operations
- Run file-uploader
- ~~~~~~~~~~~~~~~~~
+ * [`make_bucket`](https://docs.min.io/docs/python-client-api-reference#make_bucket)
+ * [`list_buckets`](https://docs.min.io/docs/python-client-api-reference#list_buckets)
+ * [`bucket_exists`](https://docs.min.io/docs/python-client-api-reference#bucket_exists)
+ * [`remove_bucket`](https://docs.min.io/docs/python-client-api-reference#remove_bucket)
+ * [`list_objects`](https://docs.min.io/docs/python-client-api-reference#list_objects)
+ * [`list_objects_v2`](https://docs.min.io/docs/python-client-api-reference#list_objects_v2)
+ * [`list_incomplete_uploads`](https://docs.min.io/docs/python-client-api-reference#list_incomplete_uploads)
- .. code:: bash
+ ### API Reference : Bucket policy Operations
- $ python file_uploader.py
+ * [`get_bucket_policy`](https://docs.min.io/docs/python-client-api-reference#get_bucket_policy)
+ * [`set_bucket_policy`](https://docs.min.io/docs/python-client-api-reference#set_bucket_policy)
- $ mc ls play/maylogs/
- [2016-05-27 16:41:37 PDT] 12MiB pumaserver_debug.log
+ ### API Reference : Bucket notification Operations
- API Reference
- -------------
+ * [`set_bucket_notification`](https://docs.min.io/docs/python-client-api-reference#set_bucket_notification)
+ * [`get_bucket_notification`](https://docs.min.io/docs/python-client-api-reference#get_bucket_notification)
+ * [`remove_all_bucket_notification`](https://docs.min.io/docs/python-client-api-reference#remove_all_bucket_notification)
+ * [`listen_bucket_notification`](https://docs.min.io/docs/python-client-api-reference#listen_bucket_notification)
- The full API Reference is available here. `Complete API
- Reference <https://docs.min.io/docs/python-client-api-reference>`__
+ ### API Reference : File Object Operations
- API Reference : Bucket Operations
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ * [`fput_object`](https://docs.min.io/docs/python-client-api-reference#fput_object)
+ * [`fget_object`](https://docs.min.io/docs/python-client-api-reference#fget_object)
- - `make\_bucket <https://docs.min.io/docs/python-client-api-reference#make_bucket>`__
- - `list\_buckets <https://docs.min.io/docs/python-client-api-reference#list_buckets>`__
- - `bucket\_exists <https://docs.min.io/docs/python-client-api-reference#bucket_exists>`__
- - `remove\_bucket <https://docs.min.io/docs/python-client-api-reference#remove_bucket>`__
- - `list\_objects <https://docs.min.io/docs/python-client-api-reference#list_objects>`__
- - `list\_incomplete\_uploads <https://docs.min.io/docs/python-client-api-reference#list_incomplete_uploads>`__
- - `get\_bucket\_policy <https://docs.min.io/docs/python-client-api-reference#get_bucket_policy>`__
- - `set\_bucket\_policy <https://docs.min.io/docs/python-client-api-reference#set_bucket_policy>`__
+ ### API Reference : Object Operations
- API Reference : File Object Operations
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ * [`get_object`](https://docs.min.io/docs/python-client-api-reference#get_object)
+ * [`put_object`](https://docs.min.io/docs/python-client-api-reference#put_object)
+ * [`stat_object`](https://docs.min.io/docs/python-client-api-reference#stat_object)
+ * [`copy_object`](https://docs.min.io/docs/python-client-api-reference#copy_object)
+ * [`get_partial_object`](https://docs.min.io/docs/python-client-api-reference#get_partial_object)
+ * [`remove_object`](https://docs.min.io/docs/python-client-api-reference#remove_object)
+ * [`remove_objects`](https://docs.min.io/docs/python-client-api-reference#remove_objects)
+ * [`remove_incomplete_upload`](https://docs.min.io/docs/python-client-api-reference#remove_incomplete_upload)
- - `fput\_object <https://docs.min.io/docs/python-client-api-reference#fput_object>`__
- - `fget\_object <https://docs.min.io/docs/python-client-api-reference#fget_object>`__
+ ### API Reference : Presigned Operations
- API Reference : Object Operations
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ * [`presigned_get_object`](https://docs.min.io/docs/python-client-api-reference#presigned_get_object)
+ * [`presigned_put_object`](https://docs.min.io/docs/python-client-api-reference#presigned_put_object)
+ * [`presigned_post_policy`](https://docs.min.io/docs/python-client-api-reference#presigned_post_policy)
- - `get\_object <https://docs.min.io/docs/python-client-api-reference#get_object>`__
- - `get\_partial\_object <https://docs.min.io/docs/python-client-api-reference#get_partial_object>`__
- - `put\_object <https://docs.min.io/docs/python-client-api-reference#put_object>`__
- - `stat\_object <https://docs.min.io/docs/python-client-api-reference#stat_object>`__
- - `remove\_object <https://docs.min.io/docs/python-client-api-reference#remove_object>`__
- - `remove\_incomplete\_upload <https://docs.min.io/docs/python-client-api-reference#remove_incomplete_uplo…>`__
+ ## Full Examples
- API Reference : Presigned Operations
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ #### Full Examples : Bucket Operations
- - `presigned\_get\_object <https://docs.min.io/docs/python-client-api-reference#presigned_get_object>`__
- - `presigned\_put_object <https://docs.min.io/docs/python-client-api-reference#presigned_put_object>`__
- - `presigned\_post\_policy <https://docs.min.io/docs/python-client-api-reference#presigned_post_policy>`__
+ * [make_bucket.py](https://github.com/minio/minio-py/blob/master/examples/make…
+ * [list_buckets.py](https://github.com/minio/minio-py/blob/master/examples/lis…
+ * [bucket_exists.py](https://github.com/minio/minio-py/blob/master/examples/bu…
+ * [list_objects.py](https://github.com/minio/minio-py/blob/master/examples/lis…
+ * [remove_bucket.py](https://github.com/minio/minio-py/blob/master/examples/re…
+ * [list_incomplete_uploads.py](https://github.com/minio/minio-py/blob/master/e…
- Full Examples
- -------------
+ #### Full Examples : Bucket policy Operations
- Full Examples : Bucket Operations
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ * [set_bucket_policy.py](https://github.com/minio/minio-py/blob/master/example…
+ * [get_bucket_policy.py](https://github.com/minio/minio-py/blob/master/example…
- - `list\_buckets.py <https://github.com/minio/minio-py/blob/master/examples/list_buckets.py>`__
- - `list\_objects.py <https://github.com/minio/minio-py/blob/master/examples/list_objects.py>`__
- - `bucket\_exists.py <https://github.com/minio/minio-py/blob/master/examples/bucket_exists.py>`__
- - `make\_bucket.py <https://github.com/minio/minio-py/blob/master/examples/make_bucket.py>`__
- - `remove\_bucket.py <https://github.com/minio/minio-py/blob/master/examples/remove_bucket.py>`__
- - `list\_incomplete\_uploads.py <https://github.com/minio/minio-py/blob/master/examples/list_incomplete_uplo…>`__
- - `remove\_incomplete\_upload.py <https://github.com/minio/minio-py/blob/master/examples/remove_incomplete_up…>`__
+ #### Full Examples: Bucket notification Operations
- Full Examples : File Object Operations
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ * [set_bucket_notification.py](https://github.com/minio/minio-py/blob/master/e…
+ * [get_bucket_notification.py](https://github.com/minio/minio-py/blob/master/e…
+ * [remove_all_bucket_notification.py](https://github.com/minio/minio-py/blob/m…
+ * [listen_bucket_notification.py](https://github.com/minio/minio-py/blob/maste…
- - `fput\_object.py <https://github.com/minio/minio-py/blob/master/examples/fput_object.py>`__
- - `fget\_object.py <https://github.com/minio/minio-py/blob/master/examples/fget_object.py>`__
+ #### Full Examples : File Object Operations
- Full Examples : Object Operations
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ * [fput_object.py](https://github.com/minio/minio-py/blob/master/examples/fput…
+ * [fget_object.py](https://github.com/minio/minio-py/blob/master/examples/fget…
- - `put\_object.py <https://github.com/minio/minio-py/blob/master/examples/put_object.py>`__
- - `get\_object.py <https://github.com/minio/minio-py/blob/master/examples/get_object.py>`__
- - `get\_partial\_object.py <https://github.com/minio/minio-py/blob/master/examples/get_partial_object.py>`__
- - `remove\_object.py <https://github.com/minio/minio-py/blob/master/examples/remove_object.py>`__
- - `stat\_object.py <https://github.com/minio/minio-py/blob/master/examples/stat_object.py>`__
+ #### Full Examples : Object Operations
- Full Examples : Presigned Operations
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ * [get_object.py](https://github.com/minio/minio-py/blob/master/examples/get_o…
+ * [put_object.py](https://github.com/minio/minio-py/blob/master/examples/put_o…
+ * [stat_object.py](https://github.com/minio/minio-py/blob/master/examples/stat…
+ * [copy_object.py](https://github.com/minio/minio-py/blob/master/examples/copy…
+ * [get_partial_object.py](https://github.com/minio/minio-py/blob/master/exampl…
+ * [remove_object.py](https://github.com/minio/minio-py/blob/master/examples/re…
+ * [remove_objects.py](https://github.com/minio/minio-py/blob/master/examples/r…
+ * [remove_incomplete_upload.py](https://github.com/minio/minio-py/blob/master/…
- - `presigned\_get\_object.py <https://github.com/minio/minio-py/blob/master/examples/presigned_get_object…>`__
- - `presigned\_put\_object.py <https://github.com/minio/minio-py/blob/master/examplespresigned_put_object.…>`__
- - `presigned\_post\_policy.py <https://github.com/minio/minio-py/blob/master/examples/presigned_post_polic…>`__
+ #### Full Examples : Presigned Operations
- Explore Further
- ---------------
+ * [presigned_get_object.py](https://github.com/minio/minio-py/blob/master/exam…
+ * [presigned_put_object.py](https://github.com/minio/minio-py/blob/master/exam…
+ * [presigned_post_policy.py](https://github.com/minio/minio-py/blob/master/exa…
- - `Complete Documentation <https://docs.min.io>`__
- - `MinIO Python SDK API
- Reference <https://docs.min.io/docs/python-client-api-reference>`__
+ ## Explore Further
- Contribute
- ----------
+ * [Complete Documentation](https://docs.min.io)
+ * [MinIO Python SDK API Reference](https://docs.min.io/docs/python-client-api-reference)
- `Contributors Guide <./CONTRIBUTING.md>`__
+ ## Contribute
- |PYPI| |Build Status| |Build status|
+ [Contributors Guide](https://github.com/minio/minio-py/blob/master/CONTRIBUTING.md)
- .. |Gitter| image:: https://badges.gitter.im/Join%20Chat.svg
- :target: https://gitter.im/MinIO/minio?utm_source=badge&utm_medium=badge&utm_campaig…
- .. |PYPI| image:: https://img.shields.io/pypi/v/minio.svg
- :target: https://pypi.python.org/pypi/minio
- .. |Build Status| image:: https://travis-ci.org/minio/minio-py.svg
- :target: https://travis-ci.org/minio/minio-py
- .. |Build status| image:: https://ci.appveyor.com/api/projects/status/1d05e6nvxcelmrak?svg=true
- :target: https://ci.appveyor.com/project/harshavardhana/minio-py
+ [![PYPI](https://img.shields.io/pypi/v/minio.svg)](https://pypi.python.org/pypi/minio)
+ [![Build Status](https://travis-ci.org/minio/minio-py.svg)](https://travis-ci.org/mi…
+ [![Build status](https://ci.appveyor.com/api/projects/status/1d05e6nvxcelmrak?svg=tr…
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
@@ -227,3 +225,4 @@
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Software Development :: Libraries :: Python Modules
+Description-Content-Type: text/markdown
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/minio-4.0.16/README.rst new/minio-4.0.17/README.rst
--- old/minio-4.0.16/README.rst 2019-05-02 01:42:57.000000000 +0200
+++ new/minio-4.0.17/README.rst 1970-01-01 01:00:00.000000000 +0100
@@ -1,207 +0,0 @@
-MinIO Python Library for Amazon S3 Compatible Cloud Storage |Gitter|
-========
-
-The MinIO Python Client SDK provides simple APIs to access any Amazon S3
-compatible object storage server.
-
-This quickstart guide will show you how to install the client SDK and
-execute an example python program. For a complete list of APIs and
-examples, please take a look at the `Python Client API
-Reference <https://docs.min.io/docs/python-client-api-reference>`__
-documentation.
-
-This document assumes that you have a working
-`Python <https://www.python.org/downloads/>`__ setup in place.
-
-Download from pip
------------------
-
-.. code:: sh
-
- $ pip install minio
-
-Download from source
---------------------
-
-.. code:: sh
-
- $ git clone https://github.com/minio/minio-py
- $ cd minio-py
- $ python setup.py install
-
-Initialize MinIO Client
------------------------
-
-You need four items in order to connect to MinIO object storage server.
-
-.. csv-table::
- :header: "Params", "Description"
- :widths: 15, 30
-
- "endpoint", "URL to object storage service."
- "access_key", "Access key is like user ID that uniquely identifies your account."
- "secret_key", "Secret key is the password to your account."
- "secure", "Set this value to 'True' to enable secure (HTTPS) access."
-
-
-.. code:: python
-
- from minio import Minio
- from minio.error import ResponseError
-
- minioClient = Minio('play.min.io:9000',
- access_key='Q3AM3UQ867SPQQA43P2F',
- secret_key='zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG',
- secure=True)
-
-Quick Start Example - File Uploader
------------------------------------
-
-This example program connects to a MinIO object storage server, makes a
-bucket on the server and then uploads a file to the bucket.
-
-We will use the MinIO server running at https://play.min.io:9000 in
-this example. Feel free to use this service for testing and development.
-Access credentials shown in this example are open to the public.
-
-file-uploader.py
-~~~~~~~~~~~~~~~~
-
-.. code:: python
-
- # Import MinIO library.
- from minio import Minio
- from minio.error import ResponseError
-
- # Initialize minioClient with an endpoint and access/secret keys.
- minioClient = Minio('play.min.io:9000',
- access_key='Q3AM3UQ867SPQQA43P2F',
- secret_key='zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG',
- secure=True)
-
- # Make a bucket with the make_bucket API call.
- try:
- minioClient.make_bucket("maylogs", location="us-east-1")
- except BucketAlreadyOwnedByYou as err:
- pass
- except BucketAlreadyExists as err:
- pass
- except ResponseError as err:
- raise
- else:
- # Put an object 'pumaserver_debug.log' with contents from 'pumaserver_debug.log'.
- try:
- minioClient.fput_object('maylogs', 'pumaserver_debug.log', '/tmp/pumaserver_debug.log')
- except ResponseError as err:
- print(err)
-
-
-Run file-uploader
-~~~~~~~~~~~~~~~~~
-
-.. code:: bash
-
- $ python file_uploader.py
-
- $ mc ls play/maylogs/
- [2016-05-27 16:41:37 PDT] 12MiB pumaserver_debug.log
-
-API Reference
--------------
-
-The full API Reference is available here. `Complete API
-Reference <https://docs.min.io/docs/python-client-api-reference>`__
-
-API Reference : Bucket Operations
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-- `make\_bucket <https://docs.min.io/docs/python-client-api-reference#make_bucket>`__
-- `list\_buckets <https://docs.min.io/docs/python-client-api-reference#list_buckets>`__
-- `bucket\_exists <https://docs.min.io/docs/python-client-api-reference#bucket_exists>`__
-- `remove\_bucket <https://docs.min.io/docs/python-client-api-reference#remove_bucket>`__
-- `list\_objects <https://docs.min.io/docs/python-client-api-reference#list_objects>`__
-- `list\_incomplete\_uploads <https://docs.min.io/docs/python-client-api-reference#list_incomplete_uploads>`__
-- `get\_bucket\_policy <https://docs.min.io/docs/python-client-api-reference#get_bucket_policy>`__
-- `set\_bucket\_policy <https://docs.min.io/docs/python-client-api-reference#set_bucket_policy>`__
-
-API Reference : File Object Operations
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-- `fput\_object <https://docs.min.io/docs/python-client-api-reference#fput_object>`__
-- `fget\_object <https://docs.min.io/docs/python-client-api-reference#fget_object>`__
-
-API Reference : Object Operations
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-- `get\_object <https://docs.min.io/docs/python-client-api-reference#get_object>`__
-- `get\_partial\_object <https://docs.min.io/docs/python-client-api-reference#get_partial_object>`__
-- `put\_object <https://docs.min.io/docs/python-client-api-reference#put_object>`__
-- `stat\_object <https://docs.min.io/docs/python-client-api-reference#stat_object>`__
-- `remove\_object <https://docs.min.io/docs/python-client-api-reference#remove_object>`__
-- `remove\_incomplete\_upload <https://docs.min.io/docs/python-client-api-reference#remove_incomplete_uplo…>`__
-
-API Reference : Presigned Operations
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-- `presigned\_get\_object <https://docs.min.io/docs/python-client-api-reference#presigned_get_object>`__
-- `presigned\_put_object <https://docs.min.io/docs/python-client-api-reference#presigned_put_object>`__
-- `presigned\_post\_policy <https://docs.min.io/docs/python-client-api-reference#presigned_post_policy>`__
-
-Full Examples
--------------
-
-Full Examples : Bucket Operations
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-- `list\_buckets.py <https://github.com/minio/minio-py/blob/master/examples/list_buckets.py>`__
-- `list\_objects.py <https://github.com/minio/minio-py/blob/master/examples/list_objects.py>`__
-- `bucket\_exists.py <https://github.com/minio/minio-py/blob/master/examples/bucket_exists.py>`__
-- `make\_bucket.py <https://github.com/minio/minio-py/blob/master/examples/make_bucket.py>`__
-- `remove\_bucket.py <https://github.com/minio/minio-py/blob/master/examples/remove_bucket.py>`__
-- `list\_incomplete\_uploads.py <https://github.com/minio/minio-py/blob/master/examples/list_incomplete_uplo…>`__
-- `remove\_incomplete\_upload.py <https://github.com/minio/minio-py/blob/master/examples/remove_incomplete_up…>`__
-
-Full Examples : File Object Operations
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-- `fput\_object.py <https://github.com/minio/minio-py/blob/master/examples/fput_object.py>`__
-- `fget\_object.py <https://github.com/minio/minio-py/blob/master/examples/fget_object.py>`__
-
-Full Examples : Object Operations
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-- `put\_object.py <https://github.com/minio/minio-py/blob/master/examples/put_object.py>`__
-- `get\_object.py <https://github.com/minio/minio-py/blob/master/examples/get_object.py>`__
-- `get\_partial\_object.py <https://github.com/minio/minio-py/blob/master/examples/get_partial_object.py>`__
-- `remove\_object.py <https://github.com/minio/minio-py/blob/master/examples/remove_object.py>`__
-- `stat\_object.py <https://github.com/minio/minio-py/blob/master/examples/stat_object.py>`__
-
-Full Examples : Presigned Operations
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-- `presigned\_get\_object.py <https://github.com/minio/minio-py/blob/master/examples/presigned_get_object…>`__
-- `presigned\_put\_object.py <https://github.com/minio/minio-py/blob/master/examplespresigned_put_object.…>`__
-- `presigned\_post\_policy.py <https://github.com/minio/minio-py/blob/master/examples/presigned_post_polic…>`__
-
-Explore Further
----------------
-
-- `Complete Documentation <https://docs.min.io>`__
-- `MinIO Python SDK API
- Reference <https://docs.min.io/docs/python-client-api-reference>`__
-
-Contribute
-----------
-
-`Contributors Guide <./CONTRIBUTING.md>`__
-
-|PYPI| |Build Status| |Build status|
-
-.. |Gitter| image:: https://badges.gitter.im/Join%20Chat.svg
- :target: https://gitter.im/MinIO/minio?utm_source=badge&utm_medium=badge&utm_campaig…
-.. |PYPI| image:: https://img.shields.io/pypi/v/minio.svg
- :target: https://pypi.python.org/pypi/minio
-.. |Build Status| image:: https://travis-ci.org/minio/minio-py.svg
- :target: https://travis-ci.org/minio/minio-py
-.. |Build status| image:: https://ci.appveyor.com/api/projects/status/1d05e6nvxcelmrak?svg=true
- :target: https://ci.appveyor.com/project/harshavardhana/minio-py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/minio-4.0.16/minio/__init__.py new/minio-4.0.17/minio/__init__.py
--- old/minio-4.0.16/minio/__init__.py 2019-05-02 01:42:57.000000000 +0200
+++ new/minio-4.0.17/minio/__init__.py 2019-05-23 21:35:03.000000000 +0200
@@ -29,7 +29,7 @@
__title__ = 'minio-py'
__author__ = 'MinIO, Inc.'
-__version__ = '4.0.16'
+__version__ = '4.0.17'
__license__ = 'Apache 2.0'
__copyright__ = 'Copyright 2015, 2016, 2017 MinIO, Inc.'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/minio-4.0.16/minio/helpers.py new/minio-4.0.17/minio/helpers.py
--- old/minio-4.0.16/minio/helpers.py 2019-05-02 01:42:57.000000000 +0200
+++ new/minio-4.0.17/minio/helpers.py 2019-05-23 21:35:03.000000000 +0200
@@ -53,7 +53,7 @@
_VALID_BUCKETNAME_REGEX = re.compile('^[a-z0-9][a-z0-9\\.\\-]+[a-z0-9]$')
_ALLOWED_HOSTNAME_REGEX = re.compile(
- '^((?!-)[A-Z\\d-]{1,63}(?<!-)\\.)*((?!-)[A-Z\\d-]{1,63}(?<!-))$',
+ '^((?!-)(?!_)[A-Z\_\\d-]{1,63}(?<!-)(?<!_)\\.)*((?!_)(?!-)[A-Z\_\\d-]{1,63}(?<!-)(?<!_))$',
re.IGNORECASE)
_EXTRACT_REGION_REGEX = re.compile('s3[.-]?(.+?).amazonaws.com')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/minio-4.0.16/minio.egg-info/PKG-INFO new/minio-4.0.17/minio.egg-info/PKG-INFO
--- old/minio-4.0.16/minio.egg-info/PKG-INFO 2019-05-02 01:44:36.000000000 +0200
+++ new/minio-4.0.17/minio.egg-info/PKG-INFO 2019-05-23 21:40:43.000000000 +0200
@@ -1,219 +1,217 @@
-Metadata-Version: 1.1
+Metadata-Version: 2.1
Name: minio
-Version: 4.0.16
+Version: 4.0.17
Summary: MinIO Python Library for Amazon S3 Compatible Cloud Storage for Python
Home-page: https://github.com/minio/minio-py
Author: MinIO, Inc.
Author-email: dev(a)min.io
License: Apache License 2.0
Download-URL: https://github.com/minio/minio-py
-Description: MinIO Python Library for Amazon S3 Compatible Cloud Storage |Gitter|
- ========
+Description: # MinIO Python Library for Amazon S3 Compatible Cloud Storage [![Slack](https://slack.min.io/slack?type=svg)](https://slack.min.io)
- The MinIO Python Client SDK provides simple APIs to access any Amazon S3
- compatible object storage server.
+ The MinIO Python Client SDK provides simple APIs to access any Amazon S3 compatible object storage server.
- This quickstart guide will show you how to install the client SDK and
- execute an example python program. For a complete list of APIs and
- examples, please take a look at the `Python Client API
- Reference <https://docs.min.io/docs/python-client-api-reference>`__
- documentation.
+ This quickstart guide will show you how to install the client SDK and execute an example python program. For a complete list of APIs and examples, please take a look at the [Python Client API Reference](https://docs.min.io/docs/python-client-api-reference) documentation.
- This document assumes that you have a working
- `Python <https://www.python.org/downloads/>`__ setup in place.
+ This document assumes that you have a working [Python](https://www.python.org/downloads/) setup in place.
- Download from pip
- -----------------
+ ## Minimum Requirements
- .. code:: sh
+ - Python 2.7 or higher
- $ pip install minio
+ ## Download from pip
- Download from source
- --------------------
+ ```sh
+ pip install minio
+ ```
- .. code:: sh
+ ## Download from pip3
- $ git clone https://github.com/minio/minio-py
- $ cd minio-py
- $ python setup.py install
+ ```sh
+ pip3 install minio
+ ```
- Initialize MinIO Client
- -----------------------
+ ## Download from source
+
+ ```sh
+ git clone https://github.com/minio/minio-py
+ cd minio-py
+ python setup.py install
+ ```
+
+ ## Initialize MinIO Client
You need four items in order to connect to MinIO object storage server.
- .. csv-table::
- :header: "Params", "Description"
- :widths: 15, 30
+ | Params | Description |
+ | :------- | :---- |
+ | endpoint | URL to object storage service. |
+ | access_key| Access key is like user ID that uniquely identifies your account. |
+ | secret_key| Secret key is the password to your account. |
+ |secure|Set this value to 'True' to enable secure (HTTPS) access.|
+
+ ```py
+ from minio import Minio
+ from minio.error import ResponseError
- "endpoint", "URL to object storage service."
- "access_key", "Access key is like user ID that uniquely identifies your account."
- "secret_key", "Secret key is the password to your account."
- "secure", "Set this value to 'True' to enable secure (HTTPS) access."
+ minioClient = Minio('play.min.io:9000',
+ access_key='Q3AM3UQ867SPQQA43P2F',
+ secret_key='zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG',
+ secure=True)
+ ```
- .. code:: python
+ ## Quick Start Example - File Uploader
+ This example program connects to a MinIO object storage server, makes a bucket on the server and then uploads a file to the bucket.
- from minio import Minio
- from minio.error import ResponseError
+ We will use the MinIO server running at [https://play.min.io:9000](https://play.min.io:9000) in this example. Feel free to use this service for testing and development. Access credentials shown in this example are open to the public.
- minioClient = Minio('play.min.io:9000',
- access_key='Q3AM3UQ867SPQQA43P2F',
- secret_key='zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG',
- secure=True)
+ #### file-uploader.py
- Quick Start Example - File Uploader
- -----------------------------------
+ ```py
+ # Import MinIO library.
+ from minio import Minio
+ from minio.error import (ResponseError, BucketAlreadyOwnedByYou,
+ BucketAlreadyExists)
- This example program connects to a MinIO object storage server, makes a
- bucket on the server and then uploads a file to the bucket.
+ # Initialize minioClient with an endpoint and access/secret keys.
+ minioClient = Minio('play.min.io:9000',
+ access_key='Q3AM3UQ867SPQQA43P2F',
+ secret_key='zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG',
+ secure=True)
- We will use the MinIO server running at https://play.min.io:9000 in
- this example. Feel free to use this service for testing and development.
- Access credentials shown in this example are open to the public.
+ # Make a bucket with the make_bucket API call.
+ try:
+ minioClient.make_bucket("maylogs", location="us-east-1")
+ except BucketAlreadyOwnedByYou as err:
+ pass
+ except BucketAlreadyExists as err:
+ pass
+ except ResponseError as err:
+ raise
+ else:
+ # Put an object 'pumaserver_debug.log' with contents from 'pumaserver_debug.log'.
+ try:
+ minioClient.fput_object('maylogs', 'pumaserver_debug.log', '/tmp/pumaserver_debug.log')
+ except ResponseError as err:
+ print(err)
+ ```
- file-uploader.py
- ~~~~~~~~~~~~~~~~
+ #### Run file-uploader
- .. code:: python
+ ```bash
+ python file_uploader.py
- # Import MinIO library.
- from minio import Minio
- from minio.error import ResponseError
+ mc ls play/maylogs/
+ [2016-05-27 16:41:37 PDT] 12MiB pumaserver_debug.log
+ ```
- # Initialize minioClient with an endpoint and access/secret keys.
- minioClient = Minio('play.min.io:9000',
- access_key='Q3AM3UQ867SPQQA43P2F',
- secret_key='zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG',
- secure=True)
+ ## API Reference
- # Make a bucket with the make_bucket API call.
- try:
- minioClient.make_bucket("maylogs", location="us-east-1")
- except BucketAlreadyOwnedByYou as err:
- pass
- except BucketAlreadyExists as err:
- pass
- except ResponseError as err:
- raise
- else:
- # Put an object 'pumaserver_debug.log' with contents from 'pumaserver_debug.log'.
- try:
- minioClient.fput_object('maylogs', 'pumaserver_debug.log', '/tmp/pumaserver_debug.log')
- except ResponseError as err:
- print(err)
+ The full API Reference is available here.
+ * [Complete API Reference](https://docs.min.io/docs/python-client-api-reference)
+ ### API Reference : Bucket Operations
- Run file-uploader
- ~~~~~~~~~~~~~~~~~
+ * [`make_bucket`](https://docs.min.io/docs/python-client-api-reference#make_bucket)
+ * [`list_buckets`](https://docs.min.io/docs/python-client-api-reference#list_buckets)
+ * [`bucket_exists`](https://docs.min.io/docs/python-client-api-reference#bucket_exists)
+ * [`remove_bucket`](https://docs.min.io/docs/python-client-api-reference#remove_bucket)
+ * [`list_objects`](https://docs.min.io/docs/python-client-api-reference#list_objects)
+ * [`list_objects_v2`](https://docs.min.io/docs/python-client-api-reference#list_objects_v2)
+ * [`list_incomplete_uploads`](https://docs.min.io/docs/python-client-api-reference#list_incomplete_uploads)
- .. code:: bash
+ ### API Reference : Bucket policy Operations
- $ python file_uploader.py
+ * [`get_bucket_policy`](https://docs.min.io/docs/python-client-api-reference#get_bucket_policy)
+ * [`set_bucket_policy`](https://docs.min.io/docs/python-client-api-reference#set_bucket_policy)
- $ mc ls play/maylogs/
- [2016-05-27 16:41:37 PDT] 12MiB pumaserver_debug.log
+ ### API Reference : Bucket notification Operations
- API Reference
- -------------
+ * [`set_bucket_notification`](https://docs.min.io/docs/python-client-api-reference#set_bucket_notification)
+ * [`get_bucket_notification`](https://docs.min.io/docs/python-client-api-reference#get_bucket_notification)
+ * [`remove_all_bucket_notification`](https://docs.min.io/docs/python-client-api-reference#remove_all_bucket_notification)
+ * [`listen_bucket_notification`](https://docs.min.io/docs/python-client-api-reference#listen_bucket_notification)
- The full API Reference is available here. `Complete API
- Reference <https://docs.min.io/docs/python-client-api-reference>`__
+ ### API Reference : File Object Operations
- API Reference : Bucket Operations
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ * [`fput_object`](https://docs.min.io/docs/python-client-api-reference#fput_object)
+ * [`fget_object`](https://docs.min.io/docs/python-client-api-reference#fget_object)
- - `make\_bucket <https://docs.min.io/docs/python-client-api-reference#make_bucket>`__
- - `list\_buckets <https://docs.min.io/docs/python-client-api-reference#list_buckets>`__
- - `bucket\_exists <https://docs.min.io/docs/python-client-api-reference#bucket_exists>`__
- - `remove\_bucket <https://docs.min.io/docs/python-client-api-reference#remove_bucket>`__
- - `list\_objects <https://docs.min.io/docs/python-client-api-reference#list_objects>`__
- - `list\_incomplete\_uploads <https://docs.min.io/docs/python-client-api-reference#list_incomplete_uploads>`__
- - `get\_bucket\_policy <https://docs.min.io/docs/python-client-api-reference#get_bucket_policy>`__
- - `set\_bucket\_policy <https://docs.min.io/docs/python-client-api-reference#set_bucket_policy>`__
+ ### API Reference : Object Operations
- API Reference : File Object Operations
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ * [`get_object`](https://docs.min.io/docs/python-client-api-reference#get_object)
+ * [`put_object`](https://docs.min.io/docs/python-client-api-reference#put_object)
+ * [`stat_object`](https://docs.min.io/docs/python-client-api-reference#stat_object)
+ * [`copy_object`](https://docs.min.io/docs/python-client-api-reference#copy_object)
+ * [`get_partial_object`](https://docs.min.io/docs/python-client-api-reference#get_partial_object)
+ * [`remove_object`](https://docs.min.io/docs/python-client-api-reference#remove_object)
+ * [`remove_objects`](https://docs.min.io/docs/python-client-api-reference#remove_objects)
+ * [`remove_incomplete_upload`](https://docs.min.io/docs/python-client-api-reference#remove_incomplete_upload)
- - `fput\_object <https://docs.min.io/docs/python-client-api-reference#fput_object>`__
- - `fget\_object <https://docs.min.io/docs/python-client-api-reference#fget_object>`__
+ ### API Reference : Presigned Operations
- API Reference : Object Operations
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ * [`presigned_get_object`](https://docs.min.io/docs/python-client-api-reference#presigned_get_object)
+ * [`presigned_put_object`](https://docs.min.io/docs/python-client-api-reference#presigned_put_object)
+ * [`presigned_post_policy`](https://docs.min.io/docs/python-client-api-reference#presigned_post_policy)
- - `get\_object <https://docs.min.io/docs/python-client-api-reference#get_object>`__
- - `get\_partial\_object <https://docs.min.io/docs/python-client-api-reference#get_partial_object>`__
- - `put\_object <https://docs.min.io/docs/python-client-api-reference#put_object>`__
- - `stat\_object <https://docs.min.io/docs/python-client-api-reference#stat_object>`__
- - `remove\_object <https://docs.min.io/docs/python-client-api-reference#remove_object>`__
- - `remove\_incomplete\_upload <https://docs.min.io/docs/python-client-api-reference#remove_incomplete_uplo…>`__
+ ## Full Examples
- API Reference : Presigned Operations
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ #### Full Examples : Bucket Operations
- - `presigned\_get\_object <https://docs.min.io/docs/python-client-api-reference#presigned_get_object>`__
- - `presigned\_put_object <https://docs.min.io/docs/python-client-api-reference#presigned_put_object>`__
- - `presigned\_post\_policy <https://docs.min.io/docs/python-client-api-reference#presigned_post_policy>`__
+ * [make_bucket.py](https://github.com/minio/minio-py/blob/master/examples/make…
+ * [list_buckets.py](https://github.com/minio/minio-py/blob/master/examples/lis…
+ * [bucket_exists.py](https://github.com/minio/minio-py/blob/master/examples/bu…
+ * [list_objects.py](https://github.com/minio/minio-py/blob/master/examples/lis…
+ * [remove_bucket.py](https://github.com/minio/minio-py/blob/master/examples/re…
+ * [list_incomplete_uploads.py](https://github.com/minio/minio-py/blob/master/e…
- Full Examples
- -------------
+ #### Full Examples : Bucket policy Operations
- Full Examples : Bucket Operations
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ * [set_bucket_policy.py](https://github.com/minio/minio-py/blob/master/example…
+ * [get_bucket_policy.py](https://github.com/minio/minio-py/blob/master/example…
- - `list\_buckets.py <https://github.com/minio/minio-py/blob/master/examples/list_buckets.py>`__
- - `list\_objects.py <https://github.com/minio/minio-py/blob/master/examples/list_objects.py>`__
- - `bucket\_exists.py <https://github.com/minio/minio-py/blob/master/examples/bucket_exists.py>`__
- - `make\_bucket.py <https://github.com/minio/minio-py/blob/master/examples/make_bucket.py>`__
- - `remove\_bucket.py <https://github.com/minio/minio-py/blob/master/examples/remove_bucket.py>`__
- - `list\_incomplete\_uploads.py <https://github.com/minio/minio-py/blob/master/examples/list_incomplete_uplo…>`__
- - `remove\_incomplete\_upload.py <https://github.com/minio/minio-py/blob/master/examples/remove_incomplete_up…>`__
+ #### Full Examples: Bucket notification Operations
- Full Examples : File Object Operations
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ * [set_bucket_notification.py](https://github.com/minio/minio-py/blob/master/e…
+ * [get_bucket_notification.py](https://github.com/minio/minio-py/blob/master/e…
+ * [remove_all_bucket_notification.py](https://github.com/minio/minio-py/blob/m…
+ * [listen_bucket_notification.py](https://github.com/minio/minio-py/blob/maste…
- - `fput\_object.py <https://github.com/minio/minio-py/blob/master/examples/fput_object.py>`__
- - `fget\_object.py <https://github.com/minio/minio-py/blob/master/examples/fget_object.py>`__
+ #### Full Examples : File Object Operations
- Full Examples : Object Operations
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ * [fput_object.py](https://github.com/minio/minio-py/blob/master/examples/fput…
+ * [fget_object.py](https://github.com/minio/minio-py/blob/master/examples/fget…
- - `put\_object.py <https://github.com/minio/minio-py/blob/master/examples/put_object.py>`__
- - `get\_object.py <https://github.com/minio/minio-py/blob/master/examples/get_object.py>`__
- - `get\_partial\_object.py <https://github.com/minio/minio-py/blob/master/examples/get_partial_object.py>`__
- - `remove\_object.py <https://github.com/minio/minio-py/blob/master/examples/remove_object.py>`__
- - `stat\_object.py <https://github.com/minio/minio-py/blob/master/examples/stat_object.py>`__
+ #### Full Examples : Object Operations
- Full Examples : Presigned Operations
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ * [get_object.py](https://github.com/minio/minio-py/blob/master/examples/get_o…
+ * [put_object.py](https://github.com/minio/minio-py/blob/master/examples/put_o…
+ * [stat_object.py](https://github.com/minio/minio-py/blob/master/examples/stat…
+ * [copy_object.py](https://github.com/minio/minio-py/blob/master/examples/copy…
+ * [get_partial_object.py](https://github.com/minio/minio-py/blob/master/exampl…
+ * [remove_object.py](https://github.com/minio/minio-py/blob/master/examples/re…
+ * [remove_objects.py](https://github.com/minio/minio-py/blob/master/examples/r…
+ * [remove_incomplete_upload.py](https://github.com/minio/minio-py/blob/master/…
- - `presigned\_get\_object.py <https://github.com/minio/minio-py/blob/master/examples/presigned_get_object…>`__
- - `presigned\_put\_object.py <https://github.com/minio/minio-py/blob/master/examplespresigned_put_object.…>`__
- - `presigned\_post\_policy.py <https://github.com/minio/minio-py/blob/master/examples/presigned_post_polic…>`__
+ #### Full Examples : Presigned Operations
- Explore Further
- ---------------
+ * [presigned_get_object.py](https://github.com/minio/minio-py/blob/master/exam…
+ * [presigned_put_object.py](https://github.com/minio/minio-py/blob/master/exam…
+ * [presigned_post_policy.py](https://github.com/minio/minio-py/blob/master/exa…
- - `Complete Documentation <https://docs.min.io>`__
- - `MinIO Python SDK API
- Reference <https://docs.min.io/docs/python-client-api-reference>`__
+ ## Explore Further
- Contribute
- ----------
+ * [Complete Documentation](https://docs.min.io)
+ * [MinIO Python SDK API Reference](https://docs.min.io/docs/python-client-api-reference)
- `Contributors Guide <./CONTRIBUTING.md>`__
+ ## Contribute
- |PYPI| |Build Status| |Build status|
+ [Contributors Guide](https://github.com/minio/minio-py/blob/master/CONTRIBUTING.md)
- .. |Gitter| image:: https://badges.gitter.im/Join%20Chat.svg
- :target: https://gitter.im/MinIO/minio?utm_source=badge&utm_medium=badge&utm_campaig…
- .. |PYPI| image:: https://img.shields.io/pypi/v/minio.svg
- :target: https://pypi.python.org/pypi/minio
- .. |Build Status| image:: https://travis-ci.org/minio/minio-py.svg
- :target: https://travis-ci.org/minio/minio-py
- .. |Build status| image:: https://ci.appveyor.com/api/projects/status/1d05e6nvxcelmrak?svg=true
- :target: https://ci.appveyor.com/project/harshavardhana/minio-py
+ [![PYPI](https://img.shields.io/pypi/v/minio.svg)](https://pypi.python.org/pypi/minio)
+ [![Build Status](https://travis-ci.org/minio/minio-py.svg)](https://travis-ci.org/mi…
+ [![Build status](https://ci.appveyor.com/api/projects/status/1d05e6nvxcelmrak?svg=tr…
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
@@ -227,3 +225,4 @@
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Software Development :: Libraries :: Python Modules
+Description-Content-Type: text/markdown
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/minio-4.0.16/minio.egg-info/SOURCES.txt new/minio-4.0.17/minio.egg-info/SOURCES.txt
--- old/minio-4.0.16/minio.egg-info/SOURCES.txt 2019-05-02 01:44:36.000000000 +0200
+++ new/minio-4.0.17/minio.egg-info/SOURCES.txt 2019-05-23 21:40:43.000000000 +0200
@@ -1,7 +1,6 @@
LICENSE
MANIFEST.in
README.md
-README.rst
README_zh_CN.md
setup.cfg
setup.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/minio-4.0.16/setup.py new/minio-4.0.17/setup.py
--- old/minio-4.0.16/setup.py 2019-05-02 01:42:57.000000000 +0200
+++ new/minio-4.0.17/setup.py 2019-05-23 21:35:03.000000000 +0200
@@ -32,7 +32,7 @@
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTILINE).group(1)
-with open('README.rst', 'r', 'utf-8') as f:
+with open('README.md', 'r', 'utf-8') as f:
readme = f.read()
packages = [
@@ -60,6 +60,7 @@
download_url='https://github.com/minio/minio-py',
author_email='dev(a)min.io',
version=version,
+ long_description_content_type='text/markdown',
package_dir={'minio': 'minio'},
packages=packages,
install_requires=requires,
@@ -79,6 +80,6 @@
'Topic :: Software Development :: Libraries :: Python Modules',
],
long_description=readme,
- package_data={'': ['LICENSE', 'README.rst']},
+ package_data={'': ['LICENSE', 'README.md']},
include_package_data=True,
)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/minio-4.0.16/tests/unit/get_s3_endpoint_test.py new/minio-4.0.17/tests/unit/get_s3_endpoint_test.py
--- old/minio-4.0.16/tests/unit/get_s3_endpoint_test.py 2019-05-02 01:42:57.000000000 +0200
+++ new/minio-4.0.17/tests/unit/get_s3_endpoint_test.py 2019-05-23 21:35:03.000000000 +0200
@@ -27,3 +27,6 @@
def test_is_valid_endpoint(self):
eq_(True, is_valid_endpoint('s3.amazonaws.com'))
eq_(True, is_valid_endpoint('s3.cn-north-1.amazonaws.com.cn'))
+ eq_(True, is_valid_endpoint('minio_server:9000'))
+ eq_(True, is_valid_endpoint('s3.server_1.amazonaws.com'))
+
1
0
Hello community,
here is the log from the commit of package python-netifaces for openSUSE:Factory checked in at 2019-06-01 09:45:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-netifaces (Old)
and /work/SRC/openSUSE:Factory/.python-netifaces.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-netifaces"
Sat Jun 1 09:45:09 2019 rev:14 rq:705225 version:0.10.9
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-netifaces/python-netifaces.changes 2018-09-14 00:01:00.909970959 +0200
+++ /work/SRC/openSUSE:Factory/.python-netifaces.new.5148/python-netifaces.changes 2019-06-01 09:45:22.463408791 +0200
@@ -1,0 +2,9 @@
+Fri May 24 11:00:13 UTC 2019 - pgajdos(a)suse.com
+
+- version update to 0.10.9
+ * Fixed a bug that in certain circumstances could lead to an infinite
+ loop in netifaces.gateways() (thanks asomers).
+ * Fixed a memory management bug in an error path (thanks NicoPy).
+- created a small test
+
+-------------------------------------------------------------------
Old:
----
netifaces-0.10.7.tar.gz
New:
----
LICENSE
netifaces-0.10.9.tar.gz
test.py
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-netifaces.spec ++++++
--- /var/tmp/diff_new_pack.1SbBey/_old 2019-06-01 09:45:23.127408564 +0200
+++ /var/tmp/diff_new_pack.1SbBey/_new 2019-06-01 09:45:23.127408564 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-netifaces
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2011 Novell
#
# All modifications and additions to the file contributed by third parties
@@ -13,19 +13,22 @@
# 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/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-netifaces
-Version: 0.10.7
+Version: 0.10.9
Release: 0
Summary: Portable network interface information
License: MIT
Group: Development/Languages/Python
-Url: http://alastairs-place.net/projects/netifaces/
-Source: https://pypi.io/packages/source/n/netifaces/netifaces-%{version}.tar.gz
+Url: https://github.com/al45tair/netifaces
+Source0: https://pypi.io/packages/source/n/netifaces/netifaces-%{version}.tar.gz
+# https://github.com/al45tair/netifaces/issues/40
+Source1: https://raw.githubusercontent.com/al45tair/netifaces/master/LICENSE
+Source2: https://raw.githubusercontent.com/al45tair/netifaces/master/test.py
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
@@ -48,6 +51,7 @@
%prep
%setup -q -n netifaces-%{version}
+cp %{SOURCE1} %{SOURCE2} .
%build
%python_build
@@ -55,8 +59,12 @@
%install
%python_install
+%check
+%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} $python test.py | grep 'Interface lo'
+
%files %{python_files}
%defattr(-,root,root,-)
+%license LICENSE
%doc README.rst
%{python_sitearch}/*
++++++ LICENSE ++++++
Copyright (c) 2007-2018 Alastair Houghton
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
++++++ netifaces-0.10.7.tar.gz -> netifaces-0.10.9.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/netifaces-0.10.7/LICENSE new/netifaces-0.10.9/LICENSE
--- old/netifaces-0.10.7/LICENSE 1970-01-01 01:00:00.000000000 +0100
+++ new/netifaces-0.10.9/LICENSE 2018-12-12 11:41:00.000000000 +0100
@@ -0,0 +1,19 @@
+Copyright (c) 2007-2018 Alastair Houghton
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/netifaces-0.10.7/MANIFEST.in new/netifaces-0.10.9/MANIFEST.in
--- old/netifaces-0.10.7/MANIFEST.in 1970-01-01 01:00:00.000000000 +0100
+++ new/netifaces-0.10.9/MANIFEST.in 2019-01-02 20:04:55.000000000 +0100
@@ -0,0 +1 @@
+include LICENSE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/netifaces-0.10.7/PKG-INFO new/netifaces-0.10.9/PKG-INFO
--- old/netifaces-0.10.7/PKG-INFO 2018-05-02 11:15:38.000000000 +0200
+++ new/netifaces-0.10.9/PKG-INFO 2019-01-02 20:11:00.000000000 +0100
@@ -1,12 +1,12 @@
Metadata-Version: 1.1
Name: netifaces
-Version: 0.10.7
+Version: 0.10.9
Summary: Portable network interface information.
Home-page: https://github.com/al45tair/netifaces
Author: Alastair Houghton
Author-email: alastair(a)alastairs-place.net
License: MIT License
-Description: netifaces 0.10.7
+Description: netifaces 0.10.8
================
+-------------+------------------+
@@ -42,8 +42,8 @@
First you need to install it, which you can do by typing::
- tar xvzf netifaces-0.10.7.tar.gz
- cd netifaces-0.10.7
+ tar xvzf netifaces-0.10.8.tar.gz
+ cd netifaces-0.10.8
python setup.py install
**Note that you will need the relevant developer tools for your platform**,
@@ -183,27 +183,7 @@
4. What license is this under?
------------------------------
- It's an MIT-style license. Here goes:
-
- Copyright (c) 2007-2018 Alastair Houghton
-
- Permission is hereby granted, free of charge, to any person obtaining a copy
- of this software and associated documentation files (the "Software"), to deal
- in the Software without restriction, including without limitation the rights
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- copies of the Software, and to permit persons to whom the Software is
- furnished to do so, subject to the following conditions:
-
- The above copyright notice and this permission notice shall be included in all
- copies or substantial portions of the Software.
-
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- SOFTWARE.
+ It's an MIT-style license. See `LICENSE <./LICENSE>`_.
5. Why the jump to 0.10.0?
--------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/netifaces-0.10.7/README.rst new/netifaces-0.10.9/README.rst
--- old/netifaces-0.10.7/README.rst 2018-05-02 09:45:31.000000000 +0200
+++ new/netifaces-0.10.9/README.rst 2019-01-02 10:18:10.000000000 +0100
@@ -1,4 +1,4 @@
-netifaces 0.10.7
+netifaces 0.10.8
================
+-------------+------------------+
@@ -34,8 +34,8 @@
First you need to install it, which you can do by typing::
- tar xvzf netifaces-0.10.7.tar.gz
- cd netifaces-0.10.7
+ tar xvzf netifaces-0.10.8.tar.gz
+ cd netifaces-0.10.8
python setup.py install
**Note that you will need the relevant developer tools for your platform**,
@@ -175,27 +175,7 @@
4. What license is this under?
------------------------------
-It's an MIT-style license. Here goes:
-
-Copyright (c) 2007-2018 Alastair Houghton
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
+It's an MIT-style license. See `LICENSE <./LICENSE>`_.
5. Why the jump to 0.10.0?
--------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/netifaces-0.10.7/netifaces.c new/netifaces-0.10.9/netifaces.c
--- old/netifaces-0.10.7/netifaces.c 2018-05-02 09:11:57.000000000 +0200
+++ new/netifaces-0.10.9/netifaces.c 2019-01-02 10:17:08.000000000 +0100
@@ -340,7 +340,7 @@
static int
string_from_sockaddr (struct sockaddr *addr,
char *buffer,
- int buflen)
+ size_t buflen)
{
struct sockaddr* bigaddr = 0;
int failure;
@@ -437,7 +437,7 @@
static int
string_from_netmask (struct sockaddr *addr,
char *buffer,
- int buflen)
+ size_t buflen)
{
#ifdef AF_INET6
if (addr && addr->sa_family == AF_INET6) {
@@ -507,7 +507,7 @@
sprintf (pfxbuf, "/%u", prefix);
- if (bufend - bufptr > strlen(pfxbuf))
+ if (bufend - bufptr > (int)strlen(pfxbuf))
strcpy (bufptr, pfxbuf);
if (buflen)
@@ -2007,7 +2007,7 @@
buffer = ptr;
ret = sysctl (mib, 6, buffer, &len, 0, 0);
- } while (ret != 0 || errno == ENOMEM || errno == EINTR);
+ } while (ret != 0 && (errno == ENOMEM || errno == EINTR));
if (ret < 0) {
PyErr_SetFromErrno (PyExc_OSError);
@@ -2073,12 +2073,12 @@
}
if (addr == RTA_GATEWAY) {
- char buffer[256];
+ char strbuf[256];
PyObject *tuple = NULL;
PyObject *deftuple = NULL;
- if (string_from_sockaddr (sa, buffer, sizeof(buffer)) == 0) {
- PyObject *pyaddr = PyUnicode_FromString (buffer);
+ if (string_from_sockaddr (sa, strbuf, sizeof(strbuf)) == 0) {
+ PyObject *pyaddr = PyUnicode_FromString (strbuf);
#ifdef RTF_IFSCOPE
PyObject *isdefault = PyBool_FromLong (!(msg->rtm_flags & RTF_IFSCOPE));
#else
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/netifaces-0.10.7/netifaces.egg-info/PKG-INFO new/netifaces-0.10.9/netifaces.egg-info/PKG-INFO
--- old/netifaces-0.10.7/netifaces.egg-info/PKG-INFO 2018-05-02 11:15:38.000000000 +0200
+++ new/netifaces-0.10.9/netifaces.egg-info/PKG-INFO 2019-01-02 20:11:00.000000000 +0100
@@ -1,12 +1,12 @@
Metadata-Version: 1.1
Name: netifaces
-Version: 0.10.7
+Version: 0.10.9
Summary: Portable network interface information.
Home-page: https://github.com/al45tair/netifaces
Author: Alastair Houghton
Author-email: alastair(a)alastairs-place.net
License: MIT License
-Description: netifaces 0.10.7
+Description: netifaces 0.10.8
================
+-------------+------------------+
@@ -42,8 +42,8 @@
First you need to install it, which you can do by typing::
- tar xvzf netifaces-0.10.7.tar.gz
- cd netifaces-0.10.7
+ tar xvzf netifaces-0.10.8.tar.gz
+ cd netifaces-0.10.8
python setup.py install
**Note that you will need the relevant developer tools for your platform**,
@@ -183,27 +183,7 @@
4. What license is this under?
------------------------------
- It's an MIT-style license. Here goes:
-
- Copyright (c) 2007-2018 Alastair Houghton
-
- Permission is hereby granted, free of charge, to any person obtaining a copy
- of this software and associated documentation files (the "Software"), to deal
- in the Software without restriction, including without limitation the rights
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- copies of the Software, and to permit persons to whom the Software is
- furnished to do so, subject to the following conditions:
-
- The above copyright notice and this permission notice shall be included in all
- copies or substantial portions of the Software.
-
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- SOFTWARE.
+ It's an MIT-style license. See `LICENSE <./LICENSE>`_.
5. Why the jump to 0.10.0?
--------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/netifaces-0.10.7/netifaces.egg-info/SOURCES.txt new/netifaces-0.10.9/netifaces.egg-info/SOURCES.txt
--- old/netifaces-0.10.7/netifaces.egg-info/SOURCES.txt 2018-05-02 11:15:38.000000000 +0200
+++ new/netifaces-0.10.9/netifaces.egg-info/SOURCES.txt 2019-01-02 20:11:00.000000000 +0100
@@ -1,3 +1,5 @@
+LICENSE
+MANIFEST.in
README.rst
netifaces.c
setup.cfg
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/netifaces-0.10.7/setup.cfg new/netifaces-0.10.9/setup.cfg
--- old/netifaces-0.10.7/setup.cfg 2018-05-02 11:15:38.000000000 +0200
+++ new/netifaces-0.10.9/setup.cfg 2019-01-02 20:11:00.000000000 +0100
@@ -3,3 +3,6 @@
tag_date = 0
tag_svn_revision = 0
+[metadata]
+license_file = LICENSE
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/netifaces-0.10.7/setup.py new/netifaces-0.10.9/setup.py
--- old/netifaces-0.10.7/setup.py 2018-05-02 09:45:09.000000000 +0200
+++ new/netifaces-0.10.9/setup.py 2019-01-02 20:07:11.000000000 +0100
@@ -22,7 +22,7 @@
output = getattr(builtins, 'print', lambda x: True)
-__version__ = "0.10.7"
+__version__ = "0.10.9"
# Disable hard links, otherwise building distributions fails on OS X
try:
++++++ test.py ++++++
import netifaces
print('Found interfaces:')
for iface in netifaces.interfaces():
print(' %s' % iface)
print('')
for iface in netifaces.interfaces():
allAddrs = netifaces.ifaddresses(iface)
print('Interface %s:' % iface)
for family in allAddrs:
addrs = allAddrs[family]
fam_name = netifaces.address_families[family]
print(' Address family: %s' % fam_name)
for addr in addrs:
print(' Address : %s' % addr['addr'])
nmask = addr.get('netmask', None)
if nmask:
print(' Netmask : %s' % nmask)
bcast = addr.get('broadcast', None)
if bcast:
print(' Broadcast: %s' % bcast)
print('')
print('Found gateways:')
gateway_info = netifaces.gateways()
for family in gateway_info:
if family == 'default':
continue
fam_name = netifaces.address_families[family]
print(' Family: %s' % fam_name)
for gateway,interface,default in gateway_info[family]:
if default:
def_text = ', default'
else:
def_text = ''
print(' %s (via %s%s)' % (gateway, interface, def_text))
print('')
print('Default gateways:')
default_gateways = gateway_info['default']
for family in default_gateways:
fam_name = netifaces.address_families[family]
gateway, interface = default_gateways[family]
print(' %s: %s (via %s)' % (fam_name, gateway, interface))
1
0
Hello community,
here is the log from the commit of package python-rpyc for openSUSE:Factory checked in at 2019-06-01 09:44:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-rpyc (Old)
and /work/SRC/openSUSE:Factory/.python-rpyc.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-rpyc"
Sat Jun 1 09:44:53 2019 rev:3 rq:705224 version:4.0.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-rpyc/python-rpyc.changes 2019-02-01 11:44:15.588625551 +0100
+++ /work/SRC/openSUSE:Factory/.python-rpyc.new.5148/python-rpyc.changes 2019-06-01 09:45:07.355413948 +0200
@@ -1,0 +2,37 @@
+Fri May 24 10:59:46 UTC 2019 - Marketa Calabkova <mcalabkova(a)suse.com>
+
+- update to 4.0.2
+ * fix default hostname for ipv6 in rpyc_classic.py
+ * fix ThreadPoolServer not working
+ 4.0.1
+ * fix ValueError during install due to absolute PATH in SOURCES.txt
+ 4.0.0 (see upstream Release Change Log for more)
+ * classic.teleport_function now executes the function in the
+ connection’s namespace by default
+ * Changed signature of Service.on_connect and on_disconnect,
+ adding the connection as argument.
+ * Changed signature of Service.__init__, removing the connection
+ argument
+ * no longer store connection as self._conn.
+ * SlaveService is now split into two asymetric classes:
+ SlaveService and MasterService. If you want old SlaveService
+ behaviour, use ClassicService
+ * Removed modules rpyc.experimental.splitbrain and rpyc.experimental.retunnel.
+ * bin/rpyc_classic.py will bind to 127.0.0.1 instead of 0.0.0.0 by default
+ * Exposed attributes no longer hide plain attributes if one
+ otherwise has the required permissions to access the plain attribute.
+ * teleported functions will now be defined by default in the
+ globals dict
+ * fix deadlock with connections talking to each other multithreadedly
+ * handle timeouts cumulatively
+ * fix __hash__ for netrefs
+ * add gevent Server. For now, this requires using gevent.monkey.patch_all()
+ before importing for rpyc. Client connections can already be made
+ without further changes to rpyc, just using gevent’s monkey patching.
+ * fix problem with MongoDB, or more generally any remote objects
+ that have a catch-all __getattr__
+ * service can now easily override protocol handlers, by updating
+ conn._HANDLERS in _connect or on_connect.
+- implement multibuild to fix some tests, skip some other failing tests
+
+-------------------------------------------------------------------
Old:
----
rpyc-3.4.4.tar.gz
New:
----
4.0.2.tar.gz
_multibuild
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-rpyc.spec ++++++
--- /var/tmp/diff_new_pack.IQsue3/_old 2019-06-01 09:45:10.119413005 +0200
+++ /var/tmp/diff_new_pack.IQsue3/_new 2019-06-01 09:45:10.123413004 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-rpyc
#
-# 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
@@ -17,20 +17,33 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-Name: python-rpyc
-Version: 3.4.4
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == "test"
+%define psuffix -test
+%bcond_without test
+%else
+%define psuffix %{nil}
+%bcond_with test
+%endif
+Name: python-rpyc%{psuffix}
+Version: 4.0.2
Release: 0
Summary: Remote Python Call (RPyC), a RPC library
License: MIT
Group: Development/Languages/Python
Url: https://github.com/tomerfiliba/rpyc
-Source: https://files.pythonhosted.org/packages/source/r/rpyc/rpyc-%{version}.tar.gz
+#Source: https://files.pythonhosted.org/packages/source/r/rpyc/rpyc-%%{version}.tar.…
+Source: https://github.com/tomerfiliba/rpyc/archive/%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# SECTION test requirements
+%if %{with test}
+BuildRequires: %{python_module gevent}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module plumbum}
+BuildRequires: %{python_module rpyc = %{version}}
+%endif
# /SECTION
Requires: python-plumbum
BuildArch: noarch
@@ -54,6 +67,7 @@
%python_build
%install
+%if !%{with test}
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -62,7 +76,14 @@
%python_clone -a %{buildroot}%{_bindir}/rpyc_classic
%python_clone -a %{buildroot}%{_bindir}/rpyc_registry
+%endif
+%if %{with test}
+%check
+nosetests -vv -I test_deploy -I test_gevent_server -I test_ssh -I test_registry
+%endif
+
+%if !%{with test}
%post
%{python_install_alternative rpyc_classic rpyc_registry}
@@ -75,5 +96,6 @@
%python_alternative %{_bindir}/rpyc_classic
%python_alternative %{_bindir}/rpyc_registry
%{python_sitelib}/*
+%endif
%changelog
++++++ rpyc-3.4.4.tar.gz -> 4.0.2.tar.gz ++++++
++++ 9225 lines of diff (skipped)
++++++ _multibuild ++++++
<multibuild>
<package>test</package>
</multibuild>
1
0
Hello community,
here is the log from the commit of package python-prometheus_client for openSUSE:Factory checked in at 2019-06-01 09:44:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-prometheus_client (Old)
and /work/SRC/openSUSE:Factory/.python-prometheus_client.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-prometheus_client"
Sat Jun 1 09:44:50 2019 rev:3 rq:705222 version:0.6.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-prometheus_client/python-prometheus_client.changes 2018-12-24 11:41:26.309449656 +0100
+++ /work/SRC/openSUSE:Factory/.python-prometheus_client.new.5148/python-prometheus_client.changes 2019-06-01 09:44:51.443419381 +0200
@@ -1,0 +2,38 @@
+Thu May 23 12:32:36 UTC 2019 - Marketa Calabkova <mcalabkova(a)suse.com>
+
+- update to version 0.6.0
+ * Better exceptions on exposition failure
+ * Fix deadlock in gcCollector, metrics are now different
+ * Fix thread leak in Python 3.7
+ * parser: ensure samples are of type Sample
+ 0.5.0
+ * Be more resilient to certain file corruptions
+ * Permit subclassing of MetricsHandler
+ * Updates based on latest OpenMetrics draft spec discussions
+ * In multiprocess mode, ensure that metrics initialise to the
+ correct file
+ * Avoid re-entrant calls to GC collector's callback
+ 0.4.?
+ * Disable GCCollector in multiprocess mode to prevent a deadlock
+ * Fix OpenMetrics http negotiation handling
+ * Counter time series will now always be exposed with _total, and
+ counter metrics will have a _total suffix stripped. This is as
+ the internal data model is now OpenMetrics, rather than
+ Prometheus Text Format
+ * Samples now use a namedtuple
+ * Add OpenMetrics exposition and parser
+ * Add Info, Stateset, Enum, GaugeHistogram support for OpenMetrics
+ * Add timestamp support for Prometheus text format exposition
+ * Add garbage collection metrics
+ * If reading multiprocess file, open it readonly.
+ * Fix bug in WSGI app code.
+ * Write to multiprocess files directly
+ 0.3.?
+ * Fix handing of escaping in parser
+ * Fix concurrency issues with timers
+ * 4.5x speedup in parser
+ * Performance improvements for multiproc mode
+ * Fix FD leak in multiproc mode
+- Taking tarball from git because of the tests
+
+-------------------------------------------------------------------
Old:
----
prometheus_client-0.2.0.tar.gz
New:
----
v0.6.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-prometheus_client.spec ++++++
--- /var/tmp/diff_new_pack.sFS4Bb/_old 2019-06-01 09:44:51.975419199 +0200
+++ /var/tmp/diff_new_pack.sFS4Bb/_new 2019-06-01 09:44:51.983419196 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-prometheus_client
#
-# 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,26 +18,27 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-prometheus_client
-Version: 0.2.0
+Version: 0.6.0
Release: 0
Summary: Python client for the Prometheus monitoring system
License: Apache-2.0
Group: Development/Languages/Python
-Url: https://github.com/prometheus/client_python
-Source: https://files.pythonhosted.org/packages/source/p/prometheus_client/promethe…
+URL: https://github.com/prometheus/client_python
+#Source: https://files.pythonhosted.org/packages/source/p/prometheus_client/promethe…
+Source: https://github.com/prometheus/client_python/archive/v%{version}.tar.gz
+BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Suggests: python-twisted
BuildArch: noarch
-
%python_subpackages
%description
The official Python 2 and 3 client for Prometheus.
%prep
-%setup -q -n prometheus_client-%{version}
+%setup -q -n client_python-%{version}
%build
%python_build
@@ -46,7 +47,14 @@
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%check
+# test_core.py needs concurrent.futures, which is only in python3
+py.test2 --ignore=tests/test_core.py tests
+py.test3 tests
+
%files %{python_files}
+%doc README.md
+%license LICENSE
%{python_sitelib}/*
%changelog
1
0
Hello community,
here is the log from the commit of package dmraid for openSUSE:Factory checked in at 2019-06-01 09:44:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dmraid (Old)
and /work/SRC/openSUSE:Factory/.dmraid.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dmraid"
Sat Jun 1 09:44:08 2019 rev:60 rq:705713 version:1.0.0.rc16
Changes:
--------
--- /work/SRC/openSUSE:Factory/dmraid/dmraid.changes 2017-11-25 08:41:34.476628254 +0100
+++ /work/SRC/openSUSE:Factory/.dmraid.new.5148/dmraid.changes 2019-06-01 09:44:13.815432227 +0200
@@ -1,0 +2,6 @@
+Mon May 27 13:05:45 UTC 2019 - Martin Liška <mliska(a)suse.cz>
+
+- Add fix-return-function-type.patch in order to fix
+ a warning.
+
+-------------------------------------------------------------------
New:
----
fix-return-function-type.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ dmraid.spec ++++++
--- /var/tmp/diff_new_pack.M6boPC/_old 2019-06-01 09:44:14.611431955 +0200
+++ /var/tmp/diff_new_pack.M6boPC/_new 2019-06-01 09:44:14.611431955 +0200
@@ -1,7 +1,7 @@
#
# spec file for package dmraid
#
-# Copyright (c) 2017 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/
#
@@ -36,7 +36,7 @@
Requires(postun): coreutils
Url: http://people.redhat.com/~heinzm/sw/dmraid/src/
Summary: A Device-Mapper Software RAID Support Tool
-License: GPL-2.0
+License: GPL-2.0-only
Group: System/Base
Version: 1.0.0.rc16
Release: 0
@@ -55,6 +55,7 @@
Patch9: dmraid-destdir.patch
Patch10: fix-undefined-symbol.patch
Patch11: 0001-remove-partitions-with-O_RDONLY.patch
+Patch12: fix-return-function-type.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: %fillup_prereq
@@ -106,6 +107,7 @@
%patch9 -p1
%patch10 -p1
%patch11 -p2
+%patch12 -p2
cp %{SOURCE3} .
++++++ fix-return-function-type.patch ++++++
diff --git a/1.0.0.rc16/tools/dmevent_tool.c b/1.0.0.rc16/tools/dmevent_tool.c
index 8562098..cffb5ab 100644
--- a/1.0.0.rc16/tools/dmevent_tool.c
+++ b/1.0.0.rc16/tools/dmevent_tool.c
@@ -123,7 +123,7 @@ void _test_user_id(void)
}
/* Increment option counters. */
-static _process_opt(int opt, const char *cmd)
+static void _process_opt(int opt, const char *cmd)
{
struct opt_def_struct {
const char opt; /* Option character. */
1
0
Hello community,
here is the log from the commit of package perl-IO-Socket-SSL for openSUSE:Factory checked in at 2019-06-01 09:43:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-IO-Socket-SSL (Old)
and /work/SRC/openSUSE:Factory/.perl-IO-Socket-SSL.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-IO-Socket-SSL"
Sat Jun 1 09:43:58 2019 rev:84 rq:705695 version:2.066
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-IO-Socket-SSL/perl-IO-Socket-SSL.changes 2019-03-13 09:10:07.579418344 +0100
+++ /work/SRC/openSUSE:Factory/.perl-IO-Socket-SSL.new.5148/perl-IO-Socket-SSL.changes 2019-06-01 09:43:59.615437075 +0200
@@ -1,0 +2,6 @@
+Mon May 27 08:49:54 UTC 2019 - Pedro Monreal Gonzalez <pmonrealgonzalez(a)suse.com>
+
+- Remove not needed README.Win32 from the files section.
+- Cleaned spec file with spec-cleaner.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-IO-Socket-SSL.spec ++++++
--- /var/tmp/diff_new_pack.BnBa8W/_old 2019-06-01 09:44:01.111436564 +0200
+++ /var/tmp/diff_new_pack.BnBa8W/_new 2019-06-01 09:44:01.163436546 +0200
@@ -16,24 +16,23 @@
#
+%define cpan_name IO-Socket-SSL
Name: perl-IO-Socket-SSL
Version: 2.066
Release: 0
-%define cpan_name IO-Socket-SSL
Summary: Nearly transparent SSL encapsulation for IO::Socket::INET
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
-Url: https://metacpan.org/release/%{cpan_name}
+URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/S/SU/SULLR/%{cpan_name}-%{version}.tar…
Source1: cpanspec.yml
-BuildArch: noarch
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
#BuildRequires: perl(Mozilla::CA)
BuildRequires: perl(Net::SSLeay) >= 1.46
#Requires: perl(Mozilla::CA)
Requires: perl(Net::SSLeay) >= 1.46
+BuildArch: noarch
%{perl_requires}
%description
@@ -84,7 +83,7 @@
make %{?_smp_mflags}
%check
-make test
+make %{?_smp_mflags} test
%install
%perl_make_install
@@ -93,6 +92,6 @@
%files -f %{name}.files
%defattr(-,root,root,755)
-%doc BUGS Changes docs example README README.Win32
+%doc BUGS Changes docs example README
%changelog
1
0
Hello community,
here is the log from the commit of package perl-Net-SSLeay for openSUSE:Factory checked in at 2019-06-01 09:43:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Net-SSLeay (Old)
and /work/SRC/openSUSE:Factory/.perl-Net-SSLeay.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Net-SSLeay"
Sat Jun 1 09:43:23 2019 rev:31 rq:705653 version:1.88
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Net-SSLeay/perl-Net-SSLeay.changes 2019-03-13 09:09:57.999419333 +0100
+++ /work/SRC/openSUSE:Factory/.perl-Net-SSLeay.new.5148/perl-Net-SSLeay.changes 2019-06-01 09:43:24.807448958 +0200
@@ -1,0 +2,133 @@
+Mon May 27 11:29:57 UTC 2019 - Pedro Monreal Gonzalez <pmonrealgonzalez(a)suse.com>
+
+- Update to 1.88
+ 1.88 2019-05-10
+ - New stable release incorporating all changes from developer
+ releases 1.86_01 to 1.86_11.
+ - From this release, Net-SSLeay is switching to an "odd/even"
+ developer/stable release version numbering system, like that of
+ many core modules (e.g. ExtUtils::MakeMaker): developer releases
+ will have an odd minor version number (and the usual "_xx" suffix),
+ and stable releases will have an even minor version number. This
+ means there is no Net-SSLeay 1.87.
+ - Summary of major changes since version 1.85:
+ - Mike McCauley has stepped down as maintainer. The new maintainers
+ are Chris Novakovic, Heikki Vatiainen and Tuure Vartiainen.
+ - The source code has moved from the now-defunct Debian Subversion
+ server (alioth.debian.org) to GitHub
+ (https://github.com/radiator-software/p5-net-ssleay)
+ - Net-SSLeay is provided under the terms of the Artistic License
+ 2.0 - this has been the case since version 1.66, but references
+ to other licenses remained in the source code, causing ambiguity.
+ - Perl 5.8.1 or newer is now required to use Net-SSLeay. This has
+ already been the case for some time in practice, as the test
+ suite hasn't fully passed on Perl 5.6 for several years.
+ - Much-improved compatibility with OpenSSL 1.1.1, and improved
+ support for TLS 1.3.
+ - Fixed a long-standing bug in cb_data_advanced_put() that caused
+ memory leaks when callbacks were frequently added and removed.
+ - Support in the test suite for "hardened" OpenSSL configurations
+ that set a default security level of 2 or higher (e.g., in the
+ OpenSSL packages that ship with recent versions of Debian, Fedora
+ and Ubuntu).
+
+ 1.86_11 2019-05-08
+ - Clarified Net-SSLeay's licensing terms: the module distribution has
+ been released under the terms of the Artistic License 2.0 since
+ version 1.66; references to other licenses have been removed. Fixes
+ RT#106314. Thanks to Kent Fredric for pointing out the ambiguity.
+ - Replace the HTTPS hosts in the external tests (some of which were
+ no longer online) with more resilient ones. Closes issue #26.
+
+ 1.86_10 2019-05-04
+ - Use locally-generated certificate chain in local tests rather
+ than the Twitter one, which changes regularly and breaks the
+ test suite unnecessarily. Fixes RT#129201. Thanks to Petr Písař
+ for the report and patch, and Steffen Ullrich for an alternative
+ patch suggestion.
+ - In t/local/09_ctx_new.t, rather than checking that the functions
+ (CTX_)get_min_proto_version and (CTX_)get_max_proto_version return
+ 0x0000 (indicating the lowest and highest versions supported by
+ libssl respectively, which is not the case if a run-time
+ configuration is enforcing a different minimum or maximum), just
+ check whether the returned value is one of those mentioned on the
+ SSL_CTX_set_min_proto_version(3) man page. Partially fixes
+ RT#128025. Thanks to Slaven Rezić and Dmytro Zagashev for the
+ downstream reports.
+ - Move from 1024-bit keys/certificates to 2048-bit keys/certificates
+ across the entire test suite. This removes the need to manually
+ set the security level to 1 in tests that used the old keys, and
+ fixes large numbers of test failures on modern Linux distributions
+ that set the minimum OpenSSL security level to 2. Fixes RT#126270
+ and the remainder of RT#128025. Thanks to Petr Písař and Slaven
+ Rezić for the downstream reports.
+ - In t/local/06_tcpecho.t and t/local/07_sslecho.t, connect to
+ 127.0.0.1 instead of localhost. This fixes these tests when
+ executed inside a network sandbox that disrupts the behaviour of
+ gethostbyname(). Fixes RT#128207. Thanks to Kent Fredric for the
+ downstream report.
+
+ 1.86_09 2019-03-12
+ - Add missing files to MANIFEST that prevented tests from passing
+ when installing from the 1.86_08 release tarball.
+
+ 1.86_08 2019-03-12
+ - Add and fix functions needed to properly implement client
+ side session reuse for TLS 1.3 with using
+ CTX_sess_set_new_cb. Newly exposed functions:
+ SSL_SESSION_dup and SSL_SESSION_up_ref.
+ Fixed functions: i2d_SSL_SESSION and d2i_SSL_SESSION.
+ Thanks to Steffen Ullrich.
+ - Add functions functions to allow reading multiple pems from
+ file and creating untrusted chain: These functions allow you
+ to:
+ - Read in a PEM file with multiple certificates as a
+ STACK_OF(X509_INFO)
+ - Determine the size of the STACK_OF(X509_INFO) and value at
+ an index, which allows you to loop over the stack.
+ - Retrieve the X509 structure from each X509_INFO structure
+ in the stack.
+ Then you can create a new STACK_OF(X509) and push the X509
+ structures onto the new stack. You can then pass this
+ STACK_OF(X509) to X509_STORE_CTX_init which will allow you
+ to add additional untrusted certificates to the chain for
+ verification. Exposed functions are:
+ PEM_X509_INFO_read_bio
+ sk_X509_INFO_num
+ sk_X509_INFO_value
+ sk_X509_INFO_free
+ sk_X509_new_null
+ sk_X509_free
+ sk_X509_push
+ New function implemented by Net::SSLeay:
+ P_X509_INFO_get_x509
+ Thanks to Marc Reisner.
+ - Add functions and constants that are necessary to verify a
+ certificate using a hash directory outside of an SSL/TLS
+ connection. Newly exposed functions:
+ X509_STORE_CTX_init
+ X509_STORE_CTX_free
+ X509_STORE_new
+ X509_STORE_free
+ X509_STORE_add_lookup
+ X509_LOOKUP_hash_dir
+ X509_LOOKUP_add_dir
+ Newly exposed constants:
+ X509_FILETYPE_ASN1
+ X509_FILETYPE_DEFAULT
+ X509_FILETYPE_PEM
+ Thanks to Marc Reisner.
+ - Declare n_a in ssleay_set_psk_client_callback_invoke and
+ ssleay_ctx_set_psk_client_callback_invoke to avoid a compilation
+ error with Perl versions below 5.8.8. Fixes RT#128030. Thanks to
+ Graham Ollis for the report.
+ - Add X509_get0_serialNumber. Thanks to Marc Reisner.
+ - Enable Travis CI for LibreSSL 2.2.1, 2.7.5, 2.8.3 and 2.9.0
+ on Perl 5.20 and more recent.
+ - Expose the following functions for curve and group selection:
+ - CTX_set_ecdh_auto, set_ecdh_auto
+ - CTX_set1_curves_list, set1_curves_list
+ - CTX_set1_groups_list, set1_groups_list
+ Thanks to Steffen Ullrich.
+
+-------------------------------------------------------------------
Old:
----
Net-SSLeay-1.86_07.tar.gz
New:
----
Net-SSLeay-1.88.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Net-SSLeay.spec ++++++
--- /var/tmp/diff_new_pack.BXZ8Jp/_old 2019-06-01 09:43:25.211448820 +0200
+++ /var/tmp/diff_new_pack.BXZ8Jp/_new 2019-06-01 09:43:25.211448820 +0200
@@ -18,14 +18,13 @@
%define cpan_name Net-SSLeay
Name: perl-Net-SSLeay
-Version: 1.86_07
+Version: 1.88
Release: 0
Summary: Perl extension for using OpenSSL
License: Artistic-2.0
Group: Development/Libraries/Perl
-URL: http://search.cpan.org/dist/Net-SSLeay/
-#Source: http://www.cpan.org/modules/by-module/Net/Net-SSLeay-%{version}.tar.gz
-Source: https://cpan.metacpan.org/authors/id/R/RA/RADIATOR/%{cpan_name}-%{version}.…
+URL: https://metacpan.org/release/%{cpan_name}
+Source0: https://cpan.metacpan.org/authors/id/C/CH/CHRISN/%{cpan_name}-%{version}.ta…
BuildRequires: libopenssl-devel
BuildRequires: openssl
BuildRequires: perl
++++++ Net-SSLeay-1.86_07.tar.gz -> Net-SSLeay-1.88.tar.gz ++++++
++++ 4583 lines of diff (skipped)
1
0