Mailinglist Archive: opensuse-commit (1903 mails)

< Previous Next >
commit python-shodan for openSUSE:Factory
Hello community,

here is the log from the commit of package python-shodan for openSUSE:Factory
checked in at 2019-04-18 09:57:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-shodan (Old)
and /work/SRC/openSUSE:Factory/.python-shodan.new.17052 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-shodan"

Thu Apr 18 09:57:16 2019 rev:10 rq:695329 version:1.12.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-shodan/python-shodan.changes
2019-04-05 11:56:58.794350141 +0200
+++ /work/SRC/openSUSE:Factory/.python-shodan.new.17052/python-shodan.changes
2019-04-18 09:57:17.513374032 +0200
@@ -1,0 +2,6 @@
+Sun Apr 7 11:28:37 UTC 2019 - Sebastian Wagner <sebix+novell.com@xxxxxxxx>
+
+- update to version 1.12.0:
+ * Add new methods to ignore/ unignore trigger notifications
+
+-------------------------------------------------------------------

Old:
----
shodan-1.11.1.tar.gz

New:
----
shodan-1.12.0.tar.gz

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

Other differences:
------------------
++++++ python-shodan.spec ++++++
--- /var/tmp/diff_new_pack.ZUo0jm/_old 2019-04-18 09:57:18.237374487 +0200
+++ /var/tmp/diff_new_pack.ZUo0jm/_new 2019-04-18 09:57:18.237374487 +0200
@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{!?license: %global license %doc}
Name: python-shodan
-Version: 1.11.1
+Version: 1.12.0
Release: 0
Summary: Python library and command-line utility for Shodan
License: MIT

++++++ shodan-1.11.1.tar.gz -> shodan-1.12.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/shodan-1.11.1/CHANGELOG.md
new/shodan-1.12.0/CHANGELOG.md
--- old/shodan-1.11.1/CHANGELOG.md 2019-02-24 10:29:28.000000000 +0100
+++ new/shodan-1.12.0/CHANGELOG.md 2019-04-07 01:21:20.000000000 +0200
@@ -1,6 +1,10 @@
CHANGELOG
=========

+1.12.0
+------
+* Add new methods to ignore/ unignore trigger notifications
+
1.11.1
------
* Allow a single network alert to monitor multiple IP ranges (#93)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/shodan-1.11.1/PKG-INFO new/shodan-1.12.0/PKG-INFO
--- old/shodan-1.11.1/PKG-INFO 2019-02-24 10:58:50.000000000 +0100
+++ new/shodan-1.12.0/PKG-INFO 2019-04-07 02:24:56.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: shodan
-Version: 1.11.1
+Version: 1.12.0
Summary: Python library and command-line utility for Shodan
(https://developer.shodan.io)
Home-page: http://github.com/achillean/shodan-python/tree/master
Author: John Matherly
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/shodan-1.11.1/setup.py new/shodan-1.12.0/setup.py
--- old/shodan-1.11.1/setup.py 2019-02-24 10:57:38.000000000 +0100
+++ new/shodan-1.12.0/setup.py 2019-04-07 01:19:40.000000000 +0200
@@ -7,7 +7,7 @@

setup(
name='shodan',
- version='1.11.1',
+ version='1.12.0',
description='Python library and command-line utility for Shodan
(https://developer.shodan.io)',
long_description=README,
long_description_content_type='text/x-rst',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/shodan-1.11.1/shodan/client.py
new/shodan-1.12.0/shodan/client.py
--- old/shodan-1.11.1/shodan/client.py 2019-02-11 01:04:51.000000000 +0100
+++ new/shodan-1.12.0/shodan/client.py 2019-04-07 00:49:54.000000000 +0200
@@ -586,3 +586,11 @@
def disable_alert_trigger(self, aid, trigger):
"""Disable the given trigger on the alert."""
return self._request('/shodan/alert/{}/trigger/{}'.format(aid,
trigger), {}, method='delete')
+
+ def ignore_alert_trigger_notification(self, aid, trigger, ip, port):
+ """Ignore trigger notifications for the provided IP and port."""
+ return
self._request('/shodan/alert/{}/trigger/{}/ignore/{}:{}'.format(aid, trigger,
ip, port), {}, method='put')
+
+ def unignore_alert_trigger_notification(self, aid, trigger, ip, port):
+ """Re-enable trigger notifications for the provided IP and port"""
+ return
self._request('/shodan/alert/{}/trigger/{}/ignore/{}:{}'.format(aid, trigger,
ip, port), {}, method='delete')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/shodan-1.11.1/shodan.egg-info/PKG-INFO
new/shodan-1.12.0/shodan.egg-info/PKG-INFO
--- old/shodan-1.11.1/shodan.egg-info/PKG-INFO 2019-02-24 10:58:50.000000000
+0100
+++ new/shodan-1.12.0/shodan.egg-info/PKG-INFO 2019-04-07 02:24:56.000000000
+0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: shodan
-Version: 1.11.1
+Version: 1.12.0
Summary: Python library and command-line utility for Shodan
(https://developer.shodan.io)
Home-page: http://github.com/achillean/shodan-python/tree/master
Author: John Matherly


< Previous Next >
This Thread