Mailinglist Archive: opensuse-commit (1903 mails)

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

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

Package is "python-inspektor"

Wed Apr 17 10:09:39 2019 rev:5 rq:694765 version:0.5.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-inspektor/python-inspektor.changes
2019-01-03 18:09:02.284011918 +0100
+++
/work/SRC/openSUSE:Factory/.python-inspektor.new.17052/python-inspektor.changes
2019-04-17 10:09:51.594881589 +0200
@@ -1,0 +2,7 @@
+Tue Apr 16 09:59:52 UTC 2019 - Martin Pluskal <mpluskal@xxxxxxxx>
+
+- Update to version 0.5.2
+ * No changelog available
+- Use pypi url for source
+
+-------------------------------------------------------------------

Old:
----
inspektor-0.5.1.tar.gz

New:
----
inspektor-0.5.2.tar.gz

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

Other differences:
------------------
++++++ python-inspektor.spec ++++++
--- /var/tmp/diff_new_pack.HCliXx/_old 2019-04-17 10:09:52.398882446 +0200
+++ /var/tmp/diff_new_pack.HCliXx/_new 2019-04-17 10:09:52.402882450 +0200
@@ -19,13 +19,14 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%global pkgname inspektor
Name: python-%{pkgname}
-Version: 0.5.1
+Version: 0.5.2
Release: 0
Summary: Program used to verify the code of your python project
License: GPL-2.0-only
Group: Development/Languages/Python
URL: https://github.com/avocado-framework/inspektor
-Source:
https://github.com/avocado-framework/inspektor/archive/%{version}.tar.gz#/%{pkgname}-%{version}.tar.gz
+#Source:
https://github.com/avocado-framework/inspektor/archive/%{version}.tar.gz#/%{pkgname}-%{version}.tar.gz
+Source:
https://files.pythonhosted.org/packages/42/8a/9e375ac0bb498760fe2408a2e0f1fe09808933e593d1b6f04193492b9048/inspektor-%{version}.tar.gz
BuildRequires: %{python_module astroid >= 1.2.1}
BuildRequires: %{python_module cliff}
BuildRequires: %{python_module cmd2}

++++++ inspektor-0.5.1.tar.gz -> inspektor-0.5.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/inspektor-0.5.1/.gitignore
new/inspektor-0.5.2/.gitignore
--- old/inspektor-0.5.1/.gitignore 2018-05-03 19:52:49.000000000 +0200
+++ new/inspektor-0.5.2/.gitignore 2018-07-18 04:53:11.000000000 +0200
@@ -5,6 +5,7 @@
cscope.*
.project
.pydevproject
-.venv
+.venv*
.idea
+inspektor.egg-info
MANIFEST
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/inspektor-0.5.1/Makefile new/inspektor-0.5.2/Makefile
--- old/inspektor-0.5.1/Makefile 2018-05-03 19:52:49.000000000 +0200
+++ new/inspektor-0.5.2/Makefile 2018-07-18 14:24:28.000000000 +0200
@@ -43,7 +43,7 @@
-ba inspektor.spec

check:
- inspekt checkall --verbose
+ inspekt checkall --verbose --exclude .venv

clean:
$(PYTHON) setup.py clean
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/inspektor-0.5.1/PKG-INFO new/inspektor-0.5.2/PKG-INFO
--- old/inspektor-0.5.1/PKG-INFO 1970-01-01 01:00:00.000000000 +0100
+++ new/inspektor-0.5.2/PKG-INFO 2018-07-18 14:28:55.000000000 +0200
@@ -0,0 +1,95 @@
+Metadata-Version: 1.1
+Name: inspektor
+Version: 0.5.2
+Summary: Inspektor python code checker and fixer
+Home-page: https://github.com/avocado-framework/inspektor
+Author: Lucas Meneghel Rodrigues
+Author-email: lookkas@xxxxxxxxx
+License: UNKNOWN
+Download-URL: https://github.com/avocado-framework/inspektor/tarball/master
+Description: Inspektor
+ =========
+
+ Inspektor is a program used to verify the code of your python project.
It
+ evolved from a set of scripts used to check patches and code of python
projects
+ of the autotest organization [1]. As the project grew and new modules
started
+ to be developed, we noticed the same scripts had to be copied to each
new
+ project repo, creating a massive headache when we needed to update said
+ scripts.
+
+ Inspektor knows how to:
+
+ 1) Check code with the help of `pylint`.
+ 2) Check indentation of your code with the help of `pycodestyle`,
+ correcting it if you so deem appropriate.
+ 3) Check whether your code is PEP8 compliant, correcting it if
necessary
+ (only works if you have `autopep8` installed) if you so deem
appropriate.
+ 4) If your project is hosted on the autotest github area, it can apply
pull
+ requests made against it, and check if it introduced any regression
from
+ the metrics outlined above.
+
+ This all assumes you're working on a version control checkout of your
code.
+ Currently inspektor knows how to handle subversion and git.
+
+ Installing inspektor
+ --------------------
+
+ You can get inspektor through pip:
+
+ ::
+
+ $ sudo pip install inspektor
+
+ But you should avoid doing that if possible. A virtual environment
deployment
+ tends to be better, since each installation is restricted to each
environment:
+
+ ::
+
+ $ virtualenv .venv
+ $ source .venv/bin/activate
+ $ pip install inspektor
+
+ If you are developing inspektor, you can install it in your virtual
environment
+ as an editable package. From this source code tree root:
+
+ ::
+
+ $ pip install -e .
+
+ Usage
+ -----
+
+ 1) Go to the root of your project source code clone
+ 2) If you want to check code with pylint:
+
+ ::
+
+ inspekt lint
+ 3) If you want to check indentation:
+
+ ::
+
+ inspekt indent
+ 4) If you want to check compliance to the PEP8:
+
+ ::
+
+ inspekt style
+ 5) If you want to check PR #123 for a project inside the autotest
github area:
+
+ ::
+
+ inspekt github 123
+
+ [1] http://autotest.github.io/
+
+Platform: Any
+Classifier: Development Status :: 3 - Alpha
+Classifier: License :: OSI Approved :: GNU General Public License v2 or later
(GPLv2+)
+Classifier: Programming Language :: Python
+Classifier: Programming Language :: Python :: 2
+Classifier: Programming Language :: Python :: 2.7
+Classifier: Programming Language :: Python :: 3
+Classifier: Programming Language :: Python :: 3.6
+Classifier: Intended Audience :: Developers
+Classifier: Environment :: Console
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/inspektor-0.5.1/documentation/source/conf.py
new/inspektor-0.5.2/documentation/source/conf.py
--- old/inspektor-0.5.1/documentation/source/conf.py 2018-05-03
19:52:49.000000000 +0200
+++ new/inspektor-0.5.2/documentation/source/conf.py 2018-07-18
14:24:49.000000000 +0200
@@ -56,9 +56,9 @@
# built documents.
#
# The short X.Y version.
-version = '0.5.1'
+version = '0.5.2'
# The full version, including alpha/beta/rc tags.
-release = '0.5.1'
+release = '0.5.2'

# 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/inspektor-0.5.1/inspektor/cli/app.py
new/inspektor-0.5.2/inspektor/cli/app.py
--- old/inspektor-0.5.1/inspektor/cli/app.py 2018-05-03 19:52:49.000000000
+0200
+++ new/inspektor-0.5.2/inspektor/cli/app.py 2018-07-18 14:24:49.000000000
+0200
@@ -26,7 +26,7 @@
def __init__(self):
super(InspektorApp, self).__init__(
description='Inspektor python code checker and fixer',
- version='0.5.1',
+ version='0.5.2',
command_manager=CommandManager('inspektor.app'),
deferred_help=True,
)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/inspektor-0.5.1/inspektor/commands/checkall.py
new/inspektor-0.5.2/inspektor/commands/checkall.py
--- old/inspektor-0.5.1/inspektor/commands/checkall.py 2018-05-03
19:52:49.000000000 +0200
+++ new/inspektor-0.5.2/inspektor/commands/checkall.py 2018-07-18
14:24:36.000000000 +0200
@@ -86,12 +86,13 @@
self.log.info('License check: disabled')
license_checker = None

- status = linter.check(checked_paths)
+ status = True
for path in checked_paths:
status &= reindenter.check(path=path)
status &= style_checker.check(path=path)
if license_checker is not None:
status &= license_checker.check(path=path)
+ status &= linter.check(checked_paths)

if status:
self.log.info('Global check PASS')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/inspektor-0.5.1/inspektor/lint.py
new/inspektor-0.5.2/inspektor/lint.py
--- old/inspektor-0.5.1/inspektor/lint.py 2018-05-03 19:52:49.000000000
+0200
+++ new/inspektor-0.5.2/inspektor/lint.py 2018-07-18 14:24:28.000000000
+0200
@@ -25,18 +25,29 @@


class QuietPyLinter(PyLinter):
- def read_config_file(self, config_file=None):
- quiet = self.quiet
- try:
- self.quiet = 1
- return super(QuietPyLinter, self).read_config_file()
- finally:
- self.quiet = quiet
+ def read_config_file(self, *args, **kwargs):
+ if getattr(self, 'quiet', None) is not None:
+ # pylint: disable=E0203
+ quiet = self.quiet
+ try:
+ self.quiet = 1
+ return super(QuietPyLinter, self).read_config_file()
+ finally:
+ self.quiet = quiet
+
+ return super(QuietPyLinter, self).read_config_file()


class QuietLintRun(Run):
LinterClass = QuietPyLinter

+ def __init__(self, *args, **kwargs):
+ try:
+ super(QuietLintRun, self).__init__(*args, **kwargs)
+ except TypeError:
+ kwargs.pop('exit')
+ super(QuietLintRun, self).__init__(*args, **kwargs)
+

class Linter(object):

diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/inspektor-0.5.1/inspektor.egg-info/PKG-INFO
new/inspektor-0.5.2/inspektor.egg-info/PKG-INFO
--- old/inspektor-0.5.1/inspektor.egg-info/PKG-INFO 1970-01-01
01:00:00.000000000 +0100
+++ new/inspektor-0.5.2/inspektor.egg-info/PKG-INFO 2018-07-18
14:28:55.000000000 +0200
@@ -0,0 +1,95 @@
+Metadata-Version: 1.1
+Name: inspektor
+Version: 0.5.2
+Summary: Inspektor python code checker and fixer
+Home-page: https://github.com/avocado-framework/inspektor
+Author: Lucas Meneghel Rodrigues
+Author-email: lookkas@xxxxxxxxx
+License: UNKNOWN
+Download-URL: https://github.com/avocado-framework/inspektor/tarball/master
+Description: Inspektor
+ =========
+
+ Inspektor is a program used to verify the code of your python project.
It
+ evolved from a set of scripts used to check patches and code of python
projects
+ of the autotest organization [1]. As the project grew and new modules
started
+ to be developed, we noticed the same scripts had to be copied to each
new
+ project repo, creating a massive headache when we needed to update said
+ scripts.
+
+ Inspektor knows how to:
+
+ 1) Check code with the help of `pylint`.
+ 2) Check indentation of your code with the help of `pycodestyle`,
+ correcting it if you so deem appropriate.
+ 3) Check whether your code is PEP8 compliant, correcting it if
necessary
+ (only works if you have `autopep8` installed) if you so deem
appropriate.
+ 4) If your project is hosted on the autotest github area, it can apply
pull
+ requests made against it, and check if it introduced any regression
from
+ the metrics outlined above.
+
+ This all assumes you're working on a version control checkout of your
code.
+ Currently inspektor knows how to handle subversion and git.
+
+ Installing inspektor
+ --------------------
+
+ You can get inspektor through pip:
+
+ ::
+
+ $ sudo pip install inspektor
+
+ But you should avoid doing that if possible. A virtual environment
deployment
+ tends to be better, since each installation is restricted to each
environment:
+
+ ::
+
+ $ virtualenv .venv
+ $ source .venv/bin/activate
+ $ pip install inspektor
+
+ If you are developing inspektor, you can install it in your virtual
environment
+ as an editable package. From this source code tree root:
+
+ ::
+
+ $ pip install -e .
+
+ Usage
+ -----
+
+ 1) Go to the root of your project source code clone
+ 2) If you want to check code with pylint:
+
+ ::
+
+ inspekt lint
+ 3) If you want to check indentation:
+
+ ::
+
+ inspekt indent
+ 4) If you want to check compliance to the PEP8:
+
+ ::
+
+ inspekt style
+ 5) If you want to check PR #123 for a project inside the autotest
github area:
+
+ ::
+
+ inspekt github 123
+
+ [1] http://autotest.github.io/
+
+Platform: Any
+Classifier: Development Status :: 3 - Alpha
+Classifier: License :: OSI Approved :: GNU General Public License v2 or later
(GPLv2+)
+Classifier: Programming Language :: Python
+Classifier: Programming Language :: Python :: 2
+Classifier: Programming Language :: Python :: 2.7
+Classifier: Programming Language :: Python :: 3
+Classifier: Programming Language :: Python :: 3.6
+Classifier: Intended Audience :: Developers
+Classifier: Environment :: Console
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/inspektor-0.5.1/inspektor.egg-info/SOURCES.txt
new/inspektor-0.5.2/inspektor.egg-info/SOURCES.txt
--- old/inspektor-0.5.1/inspektor.egg-info/SOURCES.txt 1970-01-01
01:00:00.000000000 +0100
+++ new/inspektor-0.5.2/inspektor.egg-info/SOURCES.txt 2018-07-18
14:28:55.000000000 +0200
@@ -0,0 +1,53 @@
+.gitignore
+.travis.yml
+LICENSE
+MANIFEST.in
+Makefile
+README.rst
+inspektor.spec
+setup.py
+debian/changelog
+debian/compat
+debian/control
+debian/copyright
+debian/pyversions
+debian/rules
+debian/watch
+debian/source/format
+debian/source/options
+documentation/Makefile
+documentation/source/conf.py
+documentation/source/index.rst
+documentation/source/_static/.gitignore
+documentation/source/_templates/.gitignore
+inspektor/__init__.py
+inspektor/indent.py
+inspektor/license.py
+inspektor/lint.py
+inspektor/patch.py
+inspektor/path.py
+inspektor/style.py
+inspektor.egg-info/PKG-INFO
+inspektor.egg-info/SOURCES.txt
+inspektor.egg-info/dependency_links.txt
+inspektor.egg-info/entry_points.txt
+inspektor.egg-info/namespace_packages.txt
+inspektor.egg-info/not-zip-safe
+inspektor.egg-info/requires.txt
+inspektor.egg-info/top_level.txt
+inspektor/cli/__init__.py
+inspektor/cli/app.py
+inspektor/commands/__init__.py
+inspektor/commands/checkall.py
+inspektor/commands/github.py
+inspektor/commands/indent.py
+inspektor/commands/license.py
+inspektor/commands/lint.py
+inspektor/commands/style.py
+inspektor/utils/__init__.py
+inspektor/utils/data_structures.py
+inspektor/utils/download.py
+inspektor/utils/exceptions.py
+inspektor/utils/process.py
+inspektor/utils/stacktrace.py
+inspektor/utils/vcs.py
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/inspektor-0.5.1/inspektor.egg-info/dependency_links.txt
new/inspektor-0.5.2/inspektor.egg-info/dependency_links.txt
--- old/inspektor-0.5.1/inspektor.egg-info/dependency_links.txt 1970-01-01
01:00:00.000000000 +0100
+++ new/inspektor-0.5.2/inspektor.egg-info/dependency_links.txt 2018-07-18
14:28:55.000000000 +0200
@@ -0,0 +1 @@
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/inspektor-0.5.1/inspektor.egg-info/entry_points.txt
new/inspektor-0.5.2/inspektor.egg-info/entry_points.txt
--- old/inspektor-0.5.1/inspektor.egg-info/entry_points.txt 1970-01-01
01:00:00.000000000 +0100
+++ new/inspektor-0.5.2/inspektor.egg-info/entry_points.txt 2018-07-18
14:28:55.000000000 +0200
@@ -0,0 +1,11 @@
+[console_scripts]
+inspekt = inspektor.cli.app:main
+
+[inspektor.app]
+checkall = inspektor.commands.checkall:CheckAllCommand
+github = inspektor.commands.github:GithubCommand
+indent = inspektor.commands.indent:IndentCommand
+license = inspektor.commands.license:LicenseCommand
+lint = inspektor.commands.lint:LintCommand
+style = inspektor.commands.style:StyleCommand
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/inspektor-0.5.1/inspektor.egg-info/namespace_packages.txt
new/inspektor-0.5.2/inspektor.egg-info/namespace_packages.txt
--- old/inspektor-0.5.1/inspektor.egg-info/namespace_packages.txt
1970-01-01 01:00:00.000000000 +0100
+++ new/inspektor-0.5.2/inspektor.egg-info/namespace_packages.txt
2018-07-18 14:28:55.000000000 +0200
@@ -0,0 +1 @@
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/inspektor-0.5.1/inspektor.egg-info/not-zip-safe
new/inspektor-0.5.2/inspektor.egg-info/not-zip-safe
--- old/inspektor-0.5.1/inspektor.egg-info/not-zip-safe 1970-01-01
01:00:00.000000000 +0100
+++ new/inspektor-0.5.2/inspektor.egg-info/not-zip-safe 2018-04-18
17:05:09.000000000 +0200
@@ -0,0 +1 @@
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/inspektor-0.5.1/inspektor.egg-info/requires.txt
new/inspektor-0.5.2/inspektor.egg-info/requires.txt
--- old/inspektor-0.5.1/inspektor.egg-info/requires.txt 1970-01-01
01:00:00.000000000 +0100
+++ new/inspektor-0.5.2/inspektor.egg-info/requires.txt 2018-07-18
14:28:55.000000000 +0200
@@ -0,0 +1,4 @@
+six
+pycodestyle
+pylint
+cliff
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/inspektor-0.5.1/inspektor.egg-info/top_level.txt
new/inspektor-0.5.2/inspektor.egg-info/top_level.txt
--- old/inspektor-0.5.1/inspektor.egg-info/top_level.txt 1970-01-01
01:00:00.000000000 +0100
+++ new/inspektor-0.5.2/inspektor.egg-info/top_level.txt 2018-07-18
14:28:55.000000000 +0200
@@ -0,0 +1 @@
+inspektor
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/inspektor-0.5.1/inspektor.spec
new/inspektor-0.5.2/inspektor.spec
--- old/inspektor-0.5.1/inspektor.spec 2018-05-03 19:52:49.000000000 +0200
+++ new/inspektor-0.5.2/inspektor.spec 2018-07-18 14:24:49.000000000 +0200
@@ -1,4 +1,4 @@
-%global inspektorversion 0.5.1
+%global inspektorversion 0.5.2
Summary: Inspektor python project checker
Name: inspektor
Version: %{inspektorversion}
@@ -44,6 +44,8 @@


%changelog
+* Wed Jul 18 2018 Lucas Meneghel Rodrigues <lookkas@xxxxxxxxx> - 0.5.2-0
+- New upstream version 0.5.2
* Thu May 3 2018 Cleber Rosa <cleber@xxxxxxxxxx> - 0.5.1-0
- New upstream version 0.5.1
* Thu May 3 2018 Cleber Rosa <cleber@xxxxxxxxxx> - 0.4.6-0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/inspektor-0.5.1/setup.cfg
new/inspektor-0.5.2/setup.cfg
--- old/inspektor-0.5.1/setup.cfg 1970-01-01 01:00:00.000000000 +0100
+++ new/inspektor-0.5.2/setup.cfg 2018-07-18 14:28:55.000000000 +0200
@@ -0,0 +1,4 @@
+[egg_info]
+tag_build =
+tag_date = 0
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/inspektor-0.5.1/setup.py new/inspektor-0.5.2/setup.py
--- old/inspektor-0.5.1/setup.py 2018-05-03 19:52:49.000000000 +0200
+++ new/inspektor-0.5.2/setup.py 2018-07-18 14:24:49.000000000 +0200
@@ -20,13 +20,13 @@
PROJECT = 'inspektor'

# Change documentation/source/conf.py and inspektor/cli/app.py
-VERSION = '0.5.1'
+VERSION = '0.5.2'

REQUIRES = ['six']
if sys.version_info[:2] == (2, 6):
REQUIRES += ['astroid==1.2.1', 'pycodestyle>=2.0.0', 'pylint==1.3.1',
'logutils>=0.3.3', 'stevedore<=1.10', 'cliff<=1.15.0',
- 'pbr<2.0,>=1.4']
+ 'pbr<2.0,>=1.4', 'cmd2<=0.7.0']
elif sys.version_info[:2] == (2, 7):
REQUIRES += ['pycodestyle>=2.0.0', 'pylint>=1.3', 'cliff']
elif sys.version_info[0] == 3:


< Previous Next >
This Thread
  • No further messages