Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-dbus-deviation for openSUSE:Factory checked in at 2021-05-19 17:48:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-dbus-deviation (Old) and /work/SRC/openSUSE:Factory/.python-dbus-deviation.new.2988 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-dbus-deviation" Wed May 19 17:48:56 2021 rev:4 rq:893603 version:0.6.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-dbus-deviation/python-dbus-deviation.changes 2020-12-12 20:32:11.589841323 +0100 +++ /work/SRC/openSUSE:Factory/.python-dbus-deviation.new.2988/python-dbus-deviation.changes 2021-05-19 17:48:59.989630323 +0200 @@ -1,0 +2,9 @@ +Mon May 17 08:30:46 UTC 2021 - Steve Kowalik <steven.kowa...@suse.com> + +- Update to 0.6.1: + * Drop support for Python 2.7 + * Move to pycodestyle from pep8 and drop setup.py requirement for it + * Minor maintenance documentation updates +- Drop execute bits for installed modules, stop a spurious requirement. + +------------------------------------------------------------------- Old: ---- dbus-deviation-0.6.0.tar.gz New: ---- dbus-deviation-0.6.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-dbus-deviation.spec ++++++ --- /var/tmp/diff_new_pack.NzJwpL/_old 2021-05-19 17:49:00.473628294 +0200 +++ /var/tmp/diff_new_pack.NzJwpL/_new 2021-05-19 17:49:00.473628294 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-dbus-deviation # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,12 +17,12 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-dbus-deviation -Version: 0.6.0 +Version: 0.6.1 Release: 0 Summary: Parse D-Bus introspection XML and process it in various ways License: LGPL-2.1-or-later -Group: Development/Languages/Python URL: http://people.collabora.com/~pwith/dbus-deviation/ Source: https://files.pythonhosted.org/packages/source/d/dbus-deviation/dbus-deviation-%{version}.tar.gz BuildRequires: %{python_module Sphinx} @@ -45,8 +45,8 @@ %prep %setup -q -n dbus-deviation-%{version} sed -i -e "/setuptools_/d" setup.py -chmod -x dbusapi/tests/*.py dbusdeviation/utilities/*.py -sed -i '1 {/^#!/d}' dbusapi/tests/*.py dbusdeviation/utilities/*.py +chmod -x dbusapi/tests/*.py dbusdeviation/tests/*.py dbusdeviation/utilities/*.py +sed -i '1 {/^#!/d}' dbusapi/tests/*.py dbusdeviation/tests/*.py dbusdeviation/utilities/*.py %build %python_build @@ -67,7 +67,7 @@ %python_uninstall_alternative dbus-interface-diff %files %{python_files} -%doc AUTHORS NEWS README +%doc AUTHORS NEWS README.md %license COPYING %python_alternative %{_bindir}/dbus-interface-diff %python_alternative %{_bindir}/dbus-interface-vcs-helper ++++++ dbus-deviation-0.6.0.tar.gz -> dbus-deviation-0.6.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dbus-deviation-0.6.0/.travis.yml new/dbus-deviation-0.6.1/.travis.yml --- old/dbus-deviation-0.6.0/.travis.yml 2017-01-10 10:18:04.000000000 +0100 +++ new/dbus-deviation-0.6.1/.travis.yml 2021-01-29 12:37:36.000000000 +0100 @@ -1,23 +1,20 @@ language: python python: - - "2.7" - - "3.4" - - "3.5" -# Disabled due to lxml 3.5.0 not working with PyPy: -# See: https://bitbucket.org/pypy/compatibility/wiki/lxml -# - "pypy" -# Disabled due to bugs in the logilab package on the Python 3.2 build slave. -# See: https://travis-ci.org/pwithnall/dbus-deviation/jobs/60500460 -# - "3.2" + - "3.6" + - "3.7" + - "3.8" + - "3.9" + - "pypy3" # command to install dependencies install: - - pip install pylint coverage coveralls codecov . + - pip install pylint coverage coveralls codecov pycodestyle . # command to run tests script: - coverage run --source dbusapi,dbusdeviation --omit 'dbusdeviation/utilities/*' setup.py test - coverage report --fail-under=70 - python setup.py check - - python setup.py pep8 + - pycodestyle dbusapi + - pycodestyle dbusdeviation - pylint --errors-only dbusapi - pylint --errors-only dbusdeviation # Submit coverage data to coveralls.io and codecov.io diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dbus-deviation-0.6.0/AUTHORS new/dbus-deviation-0.6.1/AUTHORS --- old/dbus-deviation-0.6.0/AUTHORS 2016-12-21 12:54:05.000000000 +0100 +++ new/dbus-deviation-0.6.1/AUTHORS 2021-01-29 12:37:36.000000000 +0100 @@ -1 +1 @@ -Philip Withnall <philip.withn...@collabora.co.uk> +Philip Withnall <phi...@tecnocode.co.uk> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dbus-deviation-0.6.0/NEWS new/dbus-deviation-0.6.1/NEWS --- old/dbus-deviation-0.6.0/NEWS 2017-01-12 19:26:49.000000000 +0100 +++ new/dbus-deviation-0.6.1/NEWS 2021-01-29 16:23:49.000000000 +0100 @@ -1,47 +1,55 @@ +Overview of changes from dbus-deviation 0.6.0 to dbus-deviation 0.6.1 +===================================================================== + +Major changes: + - Drop support for Python 2.7 + - Move to pycodestyle from pep8 and drop setup.py requirement for it + - Minor maintenance documentation updates + Overview of changes from dbus-deviation 0.5.0 to dbus-deviation 0.6.0 ===================================================================== Major changes: - ??? Split out the logging API to allow for reuse - ??? Expose source line numbers in dbusapi.ast - ??? Add a D-Bus type parser, dbusapi.typeparser (thanks to Kaloyan Tenchov) - ??? Drop Python 3.3 support as Sphinx no longer supports it - ?????Add a D-Bus type formatter, dbusapi.typeformatter + - Split out the logging API to allow for reuse + - Expose source line numbers in dbusapi.ast + - Add a D-Bus type parser, dbusapi.typeparser (thanks to Kaloyan Tenchov) + - Drop Python 3.3 support as Sphinx no longer supports it + - Add a D-Bus type formatter, dbusapi.typeformatter Overview of changes from dbus-deviation 0.4.0 to dbus-deviation 0.5.0 ===================================================================== Major changes: - ??? Add support for <node> elements (Kaloyan Tenchov) - ??? Add object path, interface name and callable name validation + - Add support for <node> elements (Kaloyan Tenchov) + - Add object path, interface name and callable name validation (Kaloyan Tenchov) - ??? Relicense to LGPLv2.1+ + - Relicense to LGPLv2.1+ Overview of changes from dbus-deviation 0.3.0 to dbus-deviation 0.4.0 ===================================================================== Major changes: - ??? Improve test coverage - ??? Port to lxml instead of xml.etree - ??? Support parsing comments and documentation nodes + - Improve test coverage + - Port to lxml instead of xml.etree + - Support parsing comments and documentation nodes Overview of changes from dbus-deviation 0.2.0 to dbus-deviation 0.3.0 ===================================================================== Major changes: - ??? Improve utility arguments and variables in dbus-deviation.mk and vcs-helper + - Improve utility arguments and variables in dbus-deviation.mk and vcs-helper Overview of changes from dbus-deviation 0.1.0 to dbus-deviation 0.2.0 ===================================================================== Major changes: - ??? Improve error reporting - ??? Improve test coverage - ??? Add Makefile snippet and helper program (vcs-helper) for use in other + - Improve error reporting + - Improve test coverage + - Add Makefile snippet and helper program (vcs-helper) for use in other projects Initial release of dbus-deviation 0.1.0 ======================================= Major changes: - ??? Initial version of the project + - Initial version of the project diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dbus-deviation-0.6.0/PKG-INFO new/dbus-deviation-0.6.1/PKG-INFO --- old/dbus-deviation-0.6.0/PKG-INFO 2017-01-12 19:44:46.000000000 +0100 +++ new/dbus-deviation-0.6.1/PKG-INFO 2021-01-29 16:24:14.732942000 +0100 @@ -1,12 +1,10 @@ -Metadata-Version: 1.0 +Metadata-Version: 2.1 Name: dbus-deviation -Version: 0.6.0 -Summary: -Parse D-Bus introspection XML and process it in various ways - -Home-page: http://people.collabora.com/~pwith/dbus-deviation/ +Version: 0.6.1 +Summary: Parse D-Bus introspection XML and process it in various ways +Home-page: https://tecnocode.co.uk/dbus-deviation/ Author: Philip Withnall -Author-email: philip.withn...@collabora.co.uk +Author-email: phi...@tecnocode.co.uk License: LGPLv2.1+ Description: dbus-deviation ============== @@ -27,7 +25,7 @@ dbus-deviation can be used as a utility program or as a Python library. The utility programs: - ??? dbus-interface-diff: + - dbus-interface-diff: Check for differences between two versions of the same D-Bus API and print details of each difference. It can check for problems with forwards and backwards compatibility, as well as general informational @@ -38,7 +36,7 @@ com.example.Interface1.xml \ # old version of the interface com.example.Interface2.xml # new version of the interface - ??? dbus-interface-vcs-helper: + - dbus-interface-vcs-helper: This is a helper program designed to be used by dbus-deviation.mk. As a library, the core object is an InterfaceParser, allowing a D-Bus API to @@ -50,13 +48,17 @@ This is a Makefile snippet which should be copied into your project, added to git, and the following two lines included in your top-level Makefile.am: - dbus_api_xml_files = list of D-Bus interface XML files - -include $(top_srcdir)/dbus-deviation.mk + ``` + dbus_api_xml_files = list of D-Bus interface XML files + -include $(top_srcdir)/dbus-deviation.mk + ``` Do not add it to EXTRA_DIST. It is designed to work from git checkouts only. Then run: - make dbus-deviation-mk-install + ``` + make dbus-deviation-mk-install + ``` to set up the API signature database. This assumes that your project defines D-Bus interfaces in XML files, and does not generate them at runtime. @@ -68,25 +70,25 @@ interfaces at runtime. dbus-deviation.mk defines the following rules: - ??? dist-dbus-api-compatibility (a dependency of dist-hook) - ??? check-dbus-api-compatibility (a dependency of check-local) - ??? dbus-deviation-mk-install (never triggered automatically) + - dist-dbus-api-compatibility (a dependency of dist-hook) + - check-dbus-api-compatibility (a dependency of check-local) + - dbus-deviation-mk-install (never triggered automatically) Dependencies ============ - ??? argparse - ??? lxml + - argparse + - lxml Development =========== For fun, dbus-deviation uses the following services to do continuous integration and gather build statistics: - ??? https://travis-ci.org/pwithnall/dbus-deviation - ??? https://landscape.io/github/pwithnall/dbus-deviation - ??? https://coveralls.io/r/pwithnall/dbus-deviation - ??? https://codecov.io/github/pwithnall/dbus-deviation + - https://travis-ci.org/pwithnall/dbus-deviation + - https://landscape.io/github/pwithnall/dbus-deviation + - https://coveralls.io/r/pwithnall/dbus-deviation + - https://codecov.io/github/pwithnall/dbus-deviation Licensing ========= @@ -104,63 +106,71 @@ ==== Bug reports and patches should be sent via GitHub or Gitlab: - - https://github.com/pwithnall/dbus-deviation - https://gitlab.com/dbus-deviation/dbus-deviation + - https://github.com/pwithnall/dbus-deviation + - https://gitlab.com/dbus-deviation/dbus-deviation Contact ======= - Philip Withnall <philip.withn...@collabora.co.uk> - http://people.collabora.com/~pwith/dbus-deviation/ + Philip Withnall <phi...@tecnocode.co.uk> + https://tecnocode.co.uk/dbus-deviation/ + + Overview of changes from dbus-deviation 0.6.0 to dbus-deviation 0.6.1 + ===================================================================== + + Major changes: + - Drop support for Python 2.7 + - Move to pycodestyle from pep8 and drop setup.py requirement for it + - Minor maintenance documentation updates Overview of changes from dbus-deviation 0.5.0 to dbus-deviation 0.6.0 ===================================================================== Major changes: - ??? Split out the logging API to allow for reuse - ??? Expose source line numbers in dbusapi.ast - ??? Add a D-Bus type parser, dbusapi.typeparser (thanks to Kaloyan Tenchov) - ??? Drop Python 3.3 support as Sphinx no longer supports it - ?????Add a D-Bus type formatter, dbusapi.typeformatter + - Split out the logging API to allow for reuse + - Expose source line numbers in dbusapi.ast + - Add a D-Bus type parser, dbusapi.typeparser (thanks to Kaloyan Tenchov) + - Drop Python 3.3 support as Sphinx no longer supports it + - Add a D-Bus type formatter, dbusapi.typeformatter Overview of changes from dbus-deviation 0.4.0 to dbus-deviation 0.5.0 ===================================================================== Major changes: - ??? Add support for <node> elements (Kaloyan Tenchov) - ??? Add object path, interface name and callable name validation + - Add support for <node> elements (Kaloyan Tenchov) + - Add object path, interface name and callable name validation (Kaloyan Tenchov) - ??? Relicense to LGPLv2.1+ + - Relicense to LGPLv2.1+ Overview of changes from dbus-deviation 0.3.0 to dbus-deviation 0.4.0 ===================================================================== Major changes: - ??? Improve test coverage - ??? Port to lxml instead of xml.etree - ??? Support parsing comments and documentation nodes + - Improve test coverage + - Port to lxml instead of xml.etree + - Support parsing comments and documentation nodes Overview of changes from dbus-deviation 0.2.0 to dbus-deviation 0.3.0 ===================================================================== Major changes: - ??? Improve utility arguments and variables in dbus-deviation.mk and vcs-helper + - Improve utility arguments and variables in dbus-deviation.mk and vcs-helper Overview of changes from dbus-deviation 0.1.0 to dbus-deviation 0.2.0 ===================================================================== Major changes: - ??? Improve error reporting - ??? Improve test coverage - ??? Add Makefile snippet and helper program (vcs-helper) for use in other + - Improve error reporting + - Improve test coverage + - Add Makefile snippet and helper program (vcs-helper) for use in other projects Initial release of dbus-deviation 0.1.0 ======================================= Major changes: - ??? Initial version of the project + - Initial version of the project Platform: UNKNOWN +Description-Content-Type: text/markdown diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dbus-deviation-0.6.0/README new/dbus-deviation-0.6.1/README --- old/dbus-deviation-0.6.0/README 2016-12-21 12:54:05.000000000 +0100 +++ new/dbus-deviation-0.6.1/README 1970-01-01 01:00:00.000000000 +0100 @@ -1,105 +0,0 @@ -dbus-deviation -============== - -dbus-deviation is a project for parsing D-Bus introspection XML and processing -it in various ways. Its main tool is dbus-interface-diff, which calculates the -difference between two D-Bus APIs for the purpose of checking for API breaks. -This functionality is also available as a Python module, dbusdeviation. - -A second Python module, dbusapi, is provided for parsing D-Bus introspection -XML to produce an AST representing a D-Bus interface. - -dbus-deviation???s API is currently unstable and is likely to change wildly. - -Using dbus-deviation -==================== - -dbus-deviation can be used as a utility program or as a Python library. - -The utility programs: - ??? dbus-interface-diff: - Check for differences between two versions of the same D-Bus API and - print details of each difference. It can check for problems with forwards - and backwards compatibility, as well as general informational - differences. - - Example: - dbus-interface-diff \ - com.example.Interface1.xml \ # old version of the interface - com.example.Interface2.xml # new version of the interface - - ??? dbus-interface-vcs-helper: - This is a helper program designed to be used by dbus-deviation.mk. - -As a library, the core object is an InterfaceParser, allowing a D-Bus API to -be parsed and represented as an AST. See the API documentation for more -explanation and examples. - -dbus-deviation.mk ------------------ - -This is a Makefile snippet which should be copied into your project, added to -git, and the following two lines included in your top-level Makefile.am: - dbus_api_xml_files = list of D-Bus interface XML files - -include $(top_srcdir)/dbus-deviation.mk - -Do not add it to EXTRA_DIST. It is designed to work from git checkouts only. - -Then run: - make dbus-deviation-mk-install -to set up the API signature database. This assumes that your project defines -D-Bus interfaces in XML files, and does not generate them at runtime. - -Finally, copy pre-push.hook to .git/hooks/pre-push and ensure it???s executable. -This script will automatically update the API signature database when a new -release tag is pushed to the git remote. - -There is currently no streamlined support for projects which generate D-Bus -interfaces at runtime. - -dbus-deviation.mk defines the following rules: - ??? dist-dbus-api-compatibility (a dependency of dist-hook) - ??? check-dbus-api-compatibility (a dependency of check-local) - ??? dbus-deviation-mk-install (never triggered automatically) - -Dependencies -============ - - ??? argparse - ??? lxml - -Development -=========== - -For fun, dbus-deviation uses the following services to do continuous -integration and gather build statistics: - ??? https://travis-ci.org/pwithnall/dbus-deviation - ??? https://landscape.io/github/pwithnall/dbus-deviation - ??? https://coveralls.io/r/pwithnall/dbus-deviation - ??? https://codecov.io/github/pwithnall/dbus-deviation - -Licensing -========= - -dbus-deviation is licensed under the LGPL version 2.1 (or, at your option, any -later version). See COPYING for more details. - -dbus-deviation versions 0.4.0 and earlier were licensed under the choice of the -Academic Free License version 2.1, or the GNU General Public License version 2 -(or, at your option, any later version). This is the same license as D-Bus -itself. Version 0.5.0 was relicensed to LGPLv2.1+ as it???s a more standard license -with less ambiguity about its implications. - -Bugs -==== - -Bug reports and patches should be sent via GitHub or Gitlab: - -https://github.com/pwithnall/dbus-deviation -https://gitlab.com/dbus-deviation/dbus-deviation - -Contact -======= - -Philip Withnall <philip.withn...@collabora.co.uk> -http://people.collabora.com/~pwith/dbus-deviation/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dbus-deviation-0.6.0/README.md new/dbus-deviation-0.6.1/README.md --- old/dbus-deviation-0.6.0/README.md 1970-01-01 01:00:00.000000000 +0100 +++ new/dbus-deviation-0.6.1/README.md 2021-01-29 13:27:28.000000000 +0100 @@ -0,0 +1,108 @@ +dbus-deviation +============== + +dbus-deviation is a project for parsing D-Bus introspection XML and processing +it in various ways. Its main tool is dbus-interface-diff, which calculates the +difference between two D-Bus APIs for the purpose of checking for API breaks. +This functionality is also available as a Python module, dbusdeviation. + +A second Python module, dbusapi, is provided for parsing D-Bus introspection +XML to produce an AST representing a D-Bus interface. + +dbus-deviation???s API is currently unstable and is likely to change wildly. + +Using dbus-deviation +==================== + +dbus-deviation can be used as a utility program or as a Python library. + +The utility programs: + - dbus-interface-diff: + Check for differences between two versions of the same D-Bus API and + print details of each difference. It can check for problems with forwards + and backwards compatibility, as well as general informational + differences. + + Example: + dbus-interface-diff \ + com.example.Interface1.xml \ # old version of the interface + com.example.Interface2.xml # new version of the interface + + - dbus-interface-vcs-helper: + This is a helper program designed to be used by dbus-deviation.mk. + +As a library, the core object is an InterfaceParser, allowing a D-Bus API to +be parsed and represented as an AST. See the API documentation for more +explanation and examples. + +dbus-deviation.mk +----------------- + +This is a Makefile snippet which should be copied into your project, added to +git, and the following two lines included in your top-level Makefile.am: +``` +dbus_api_xml_files = list of D-Bus interface XML files +-include $(top_srcdir)/dbus-deviation.mk +``` + +Do not add it to EXTRA_DIST. It is designed to work from git checkouts only. + +Then run: +``` +make dbus-deviation-mk-install +``` +to set up the API signature database. This assumes that your project defines +D-Bus interfaces in XML files, and does not generate them at runtime. + +Finally, copy pre-push.hook to .git/hooks/pre-push and ensure it???s executable. +This script will automatically update the API signature database when a new +release tag is pushed to the git remote. + +There is currently no streamlined support for projects which generate D-Bus +interfaces at runtime. + +dbus-deviation.mk defines the following rules: + - dist-dbus-api-compatibility (a dependency of dist-hook) + - check-dbus-api-compatibility (a dependency of check-local) + - dbus-deviation-mk-install (never triggered automatically) + +Dependencies +============ + + - argparse + - lxml + +Development +=========== + +For fun, dbus-deviation uses the following services to do continuous +integration and gather build statistics: + - https://travis-ci.org/pwithnall/dbus-deviation + - https://landscape.io/github/pwithnall/dbus-deviation + - https://coveralls.io/r/pwithnall/dbus-deviation + - https://codecov.io/github/pwithnall/dbus-deviation + +Licensing +========= + +dbus-deviation is licensed under the LGPL version 2.1 (or, at your option, any +later version). See COPYING for more details. + +dbus-deviation versions 0.4.0 and earlier were licensed under the choice of the +Academic Free License version 2.1, or the GNU General Public License version 2 +(or, at your option, any later version). This is the same license as D-Bus +itself. Version 0.5.0 was relicensed to LGPLv2.1+ as it???s a more standard license +with less ambiguity about its implications. + +Bugs +==== + +Bug reports and patches should be sent via GitHub or Gitlab: + - https://github.com/pwithnall/dbus-deviation + - https://gitlab.com/dbus-deviation/dbus-deviation + +Contact +======= + +Philip Withnall <phi...@tecnocode.co.uk> +https://tecnocode.co.uk/dbus-deviation/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dbus-deviation-0.6.0/dbus-deviation.doap new/dbus-deviation-0.6.1/dbus-deviation.doap --- old/dbus-deviation-0.6.0/dbus-deviation.doap 2016-12-21 12:54:05.000000000 +0100 +++ new/dbus-deviation-0.6.1/dbus-deviation.doap 2021-01-29 12:37:36.000000000 +0100 @@ -4,11 +4,11 @@ <description xml:lang="en">dbus-deviation is a project for parsing D-Bus introspection XML and processing it in various ways. Its main tool is dbus-interface-diff, which calculates the difference between two D-Bus APIs for the purpose of checking for API breaks. This functionality is also available as a Python module, dbusdeviation.</description> <homepage rdf:resource="https://gitlab.com/dbus-deviation/"/> <license rdf:resource="http://usefulinc.com/doap/licenses/lgpl"/> - <download-page rdf:resource="http://people.collabora.com/~pwith/dbus-deviation/"/> + <download-page rdf:resource="https://tecnocode.co.uk/dbus-deviation/errors.html"/> <maintainer> <foaf:Person> <foaf:name>Philip Withnall</foaf:name> - <foaf:mbox rdf:resource="mailto:philip.withn...@collabora.co.uk"/> + <foaf:mbox rdf:resource="mailto:phi...@tecnocode.co.uk"/> </foaf:Person> </maintainer> </Project> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dbus-deviation-0.6.0/dbus_deviation.egg-info/PKG-INFO new/dbus-deviation-0.6.1/dbus_deviation.egg-info/PKG-INFO --- old/dbus-deviation-0.6.0/dbus_deviation.egg-info/PKG-INFO 2017-01-12 19:44:45.000000000 +0100 +++ new/dbus-deviation-0.6.1/dbus_deviation.egg-info/PKG-INFO 2021-01-29 16:24:14.000000000 +0100 @@ -1,12 +1,10 @@ -Metadata-Version: 1.0 +Metadata-Version: 2.1 Name: dbus-deviation -Version: 0.6.0 -Summary: -Parse D-Bus introspection XML and process it in various ways - -Home-page: http://people.collabora.com/~pwith/dbus-deviation/ +Version: 0.6.1 +Summary: Parse D-Bus introspection XML and process it in various ways +Home-page: https://tecnocode.co.uk/dbus-deviation/ Author: Philip Withnall -Author-email: philip.withn...@collabora.co.uk +Author-email: phi...@tecnocode.co.uk License: LGPLv2.1+ Description: dbus-deviation ============== @@ -27,7 +25,7 @@ dbus-deviation can be used as a utility program or as a Python library. The utility programs: - ??? dbus-interface-diff: + - dbus-interface-diff: Check for differences between two versions of the same D-Bus API and print details of each difference. It can check for problems with forwards and backwards compatibility, as well as general informational @@ -38,7 +36,7 @@ com.example.Interface1.xml \ # old version of the interface com.example.Interface2.xml # new version of the interface - ??? dbus-interface-vcs-helper: + - dbus-interface-vcs-helper: This is a helper program designed to be used by dbus-deviation.mk. As a library, the core object is an InterfaceParser, allowing a D-Bus API to @@ -50,13 +48,17 @@ This is a Makefile snippet which should be copied into your project, added to git, and the following two lines included in your top-level Makefile.am: - dbus_api_xml_files = list of D-Bus interface XML files - -include $(top_srcdir)/dbus-deviation.mk + ``` + dbus_api_xml_files = list of D-Bus interface XML files + -include $(top_srcdir)/dbus-deviation.mk + ``` Do not add it to EXTRA_DIST. It is designed to work from git checkouts only. Then run: - make dbus-deviation-mk-install + ``` + make dbus-deviation-mk-install + ``` to set up the API signature database. This assumes that your project defines D-Bus interfaces in XML files, and does not generate them at runtime. @@ -68,25 +70,25 @@ interfaces at runtime. dbus-deviation.mk defines the following rules: - ??? dist-dbus-api-compatibility (a dependency of dist-hook) - ??? check-dbus-api-compatibility (a dependency of check-local) - ??? dbus-deviation-mk-install (never triggered automatically) + - dist-dbus-api-compatibility (a dependency of dist-hook) + - check-dbus-api-compatibility (a dependency of check-local) + - dbus-deviation-mk-install (never triggered automatically) Dependencies ============ - ??? argparse - ??? lxml + - argparse + - lxml Development =========== For fun, dbus-deviation uses the following services to do continuous integration and gather build statistics: - ??? https://travis-ci.org/pwithnall/dbus-deviation - ??? https://landscape.io/github/pwithnall/dbus-deviation - ??? https://coveralls.io/r/pwithnall/dbus-deviation - ??? https://codecov.io/github/pwithnall/dbus-deviation + - https://travis-ci.org/pwithnall/dbus-deviation + - https://landscape.io/github/pwithnall/dbus-deviation + - https://coveralls.io/r/pwithnall/dbus-deviation + - https://codecov.io/github/pwithnall/dbus-deviation Licensing ========= @@ -104,63 +106,71 @@ ==== Bug reports and patches should be sent via GitHub or Gitlab: - - https://github.com/pwithnall/dbus-deviation - https://gitlab.com/dbus-deviation/dbus-deviation + - https://github.com/pwithnall/dbus-deviation + - https://gitlab.com/dbus-deviation/dbus-deviation Contact ======= - Philip Withnall <philip.withn...@collabora.co.uk> - http://people.collabora.com/~pwith/dbus-deviation/ + Philip Withnall <phi...@tecnocode.co.uk> + https://tecnocode.co.uk/dbus-deviation/ + + Overview of changes from dbus-deviation 0.6.0 to dbus-deviation 0.6.1 + ===================================================================== + + Major changes: + - Drop support for Python 2.7 + - Move to pycodestyle from pep8 and drop setup.py requirement for it + - Minor maintenance documentation updates Overview of changes from dbus-deviation 0.5.0 to dbus-deviation 0.6.0 ===================================================================== Major changes: - ??? Split out the logging API to allow for reuse - ??? Expose source line numbers in dbusapi.ast - ??? Add a D-Bus type parser, dbusapi.typeparser (thanks to Kaloyan Tenchov) - ??? Drop Python 3.3 support as Sphinx no longer supports it - ?????Add a D-Bus type formatter, dbusapi.typeformatter + - Split out the logging API to allow for reuse + - Expose source line numbers in dbusapi.ast + - Add a D-Bus type parser, dbusapi.typeparser (thanks to Kaloyan Tenchov) + - Drop Python 3.3 support as Sphinx no longer supports it + - Add a D-Bus type formatter, dbusapi.typeformatter Overview of changes from dbus-deviation 0.4.0 to dbus-deviation 0.5.0 ===================================================================== Major changes: - ??? Add support for <node> elements (Kaloyan Tenchov) - ??? Add object path, interface name and callable name validation + - Add support for <node> elements (Kaloyan Tenchov) + - Add object path, interface name and callable name validation (Kaloyan Tenchov) - ??? Relicense to LGPLv2.1+ + - Relicense to LGPLv2.1+ Overview of changes from dbus-deviation 0.3.0 to dbus-deviation 0.4.0 ===================================================================== Major changes: - ??? Improve test coverage - ??? Port to lxml instead of xml.etree - ??? Support parsing comments and documentation nodes + - Improve test coverage + - Port to lxml instead of xml.etree + - Support parsing comments and documentation nodes Overview of changes from dbus-deviation 0.2.0 to dbus-deviation 0.3.0 ===================================================================== Major changes: - ??? Improve utility arguments and variables in dbus-deviation.mk and vcs-helper + - Improve utility arguments and variables in dbus-deviation.mk and vcs-helper Overview of changes from dbus-deviation 0.1.0 to dbus-deviation 0.2.0 ===================================================================== Major changes: - ??? Improve error reporting - ??? Improve test coverage - ??? Add Makefile snippet and helper program (vcs-helper) for use in other + - Improve error reporting + - Improve test coverage + - Add Makefile snippet and helper program (vcs-helper) for use in other projects Initial release of dbus-deviation 0.1.0 ======================================= Major changes: - ??? Initial version of the project + - Initial version of the project Platform: UNKNOWN +Description-Content-Type: text/markdown diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dbus-deviation-0.6.0/dbus_deviation.egg-info/SOURCES.txt new/dbus-deviation-0.6.1/dbus_deviation.egg-info/SOURCES.txt --- old/dbus-deviation-0.6.0/dbus_deviation.egg-info/SOURCES.txt 2017-01-12 19:44:46.000000000 +0100 +++ new/dbus-deviation-0.6.1/dbus_deviation.egg-info/SOURCES.txt 2021-01-29 16:24:14.000000000 +0100 @@ -5,7 +5,7 @@ COPYING HACKING NEWS -README +README.md dbus-deviation.doap dbus-deviation.mk pre-push.hook diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dbus-deviation-0.6.0/dbusapi/ast.py new/dbus-deviation-0.6.1/dbusapi/ast.py --- old/dbus-deviation-0.6.0/dbusapi/ast.py 2017-01-10 10:18:04.000000000 +0100 +++ new/dbus-deviation-0.6.1/dbusapi/ast.py 2017-01-12 20:21:59.000000000 +0100 @@ -46,7 +46,6 @@ """Construct a new AstLog""" super(AstLog, self).__init__() self.register_issue_code('unknown-node') - self.register_issue_code('empty-root') self.register_issue_code('missing-attribute') self.register_issue_code('duplicate-node') self.register_issue_code('duplicate-interface') diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dbus-deviation-0.6.0/dbusdeviation/utilities/diff.py new/dbus-deviation-0.6.1/dbusdeviation/utilities/diff.py --- old/dbus-deviation-0.6.0/dbusdeviation/utilities/diff.py 2016-12-21 12:54:05.000000000 +0100 +++ new/dbus-deviation-0.6.1/dbusdeviation/utilities/diff.py 2021-01-29 12:37:36.000000000 +0100 @@ -120,8 +120,7 @@ for (filename, level, code, message) in output: formatted_level = _format_level(level, enable_colour, max_level_len) fd_for_level = _get_fd_for_level(level) - errors_page = 'https://people.collabora.com' \ - '/~pwith/dbus-deviation/errors.html' + errors_page = 'https://tecnocode.co.uk/dbus-deviation/errors.html' explanation_uri = '%s#%s' % (errors_page, code) formatted_code = code.rjust(max_code_len) @@ -234,5 +233,6 @@ _print_output(out) sys.exit(_calculate_exit_status(args, out)) + if __name__ == '__main__': main() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dbus-deviation-0.6.0/dbusdeviation/utilities/vcs_helper.py new/dbus-deviation-0.6.1/dbusdeviation/utilities/vcs_helper.py --- old/dbus-deviation-0.6.0/dbusdeviation/utilities/vcs_helper.py 2016-12-21 12:54:05.000000000 +0100 +++ new/dbus-deviation-0.6.1/dbusdeviation/utilities/vcs_helper.py 2021-01-29 12:37:36.000000000 +0100 @@ -412,7 +412,6 @@ parser.add_argument('--silent', action='store_const', const=True, default=False, help='Silence all non-error output') - # pylint: disable=bad-continuation parser.add_argument('--git', type=str, default='git', metavar='COMMAND', help='Path to the git command, including extra ' 'arguments') @@ -425,7 +424,6 @@ parser.add_argument('--git-remote', dest='git_remote_origin', type=str, default='origin', metavar='REMOTE', help='git remote to push notes to') - # pylint: disable=bad-continuation parser.add_argument('--git-refs', dest='dbus_api_git_refs', type=str, default='notes/dbus/api', metavar='REF-PATH', help='Path beneath refs/ where the git notes will be' @@ -457,7 +455,6 @@ parser_check.add_argument('--fatal-warnings', action='store_const', const=True, default=False, help='Treat all warnings as fatal') - # pylint: disable=bad-continuation parser_check.add_argument('old_ref', metavar='OLD-REF', type=str, nargs='?', default='', help='Old ref to compare; or empty for the ' @@ -488,5 +485,6 @@ return args.func(args) + if __name__ == '__main__': main() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dbus-deviation-0.6.0/setup.cfg new/dbus-deviation-0.6.1/setup.cfg --- old/dbus-deviation-0.6.0/setup.cfg 2017-01-12 19:44:46.000000000 +0100 +++ new/dbus-deviation-0.6.1/setup.cfg 2021-01-29 16:24:14.732942000 +0100 @@ -1,8 +1,7 @@ -[pep8] +[pycodestyle] exclude = *.egg,docs/conf.py,version.py,setup.py [egg_info] tag_build = tag_date = 0 -tag_svn_revision = 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dbus-deviation-0.6.0/setup.py new/dbus-deviation-0.6.1/setup.py --- old/dbus-deviation-0.6.0/setup.py 2016-12-21 14:18:28.000000000 +0100 +++ new/dbus-deviation-0.6.1/setup.py 2021-01-29 16:23:49.000000000 +0100 @@ -20,16 +20,16 @@ Parse D-Bus introspection XML and process it in various ways """ -from setuptools import setup, find_packages import os +import setuptools import version # https://gist.github.com/pwithnall/7bc5f320b3bdf418265a project_name = 'dbus-deviation' __version__ = version.get_version() project_author = 'Philip Withnall' -README = open('README').read() -NEWS = open('NEWS').read() +README = open('README.md', 'r', encoding='utf-8').read() +NEWS = open('NEWS', 'r', encoding='utf-8').read() # From http://stackoverflow.com/a/17004263/2931197 @@ -84,16 +84,15 @@ discover_and_run_tests() -setup( +setuptools.setup( name=project_name, version=__version__, - packages=find_packages(exclude=['*.tests']), + packages=setuptools.find_packages(exclude=['*.tests']), include_package_data=True, exclude_package_data={'': ['.gitignore']}, zip_safe=True, setup_requires=[ 'setuptools_git >= 0.3', - 'setuptools_pep8', 'sphinx', ], install_requires=['lxml'], @@ -106,11 +105,12 @@ ], }, author=project_author, - author_email='philip.withn...@collabora.co.uk', - description=__doc__, + author_email='phi...@tecnocode.co.uk', + description=__doc__.strip(), long_description=README + '\n\n' + NEWS, + long_description_content_type='text/markdown', license='LGPLv2.1+', - url='http://people.collabora.com/~pwith/dbus-deviation/', + url='https://tecnocode.co.uk/dbus-deviation/', cmdclass={'test': DiscoverTest}, command_options={ 'build_sphinx': { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dbus-deviation-0.6.0/website/errors.html new/dbus-deviation-0.6.1/website/errors.html --- old/dbus-deviation-0.6.0/website/errors.html 2016-12-21 12:54:05.000000000 +0100 +++ new/dbus-deviation-0.6.1/website/errors.html 2017-01-12 20:28:15.000000000 +0100 @@ -20,7 +20,7 @@ <p>A list of all the possible error codes produced by dbus-deviation, along with potential causes, what problems result, and how to avoid them.</p> -<h2 id="parser">Parser errors</h2> +<h2 id="parser">Interface parser errors</h2><a id="interface-parser"></a> <table> <thead> @@ -32,6 +32,14 @@ </thead> <!-- Please keep this list alphabetically sorted. --> <tbody> + <tr id="argument-type" class="compatibility-error"> + <th>argument-type</th> + <td>error</td> + <td>The type of an argument to a method or signal was + not a valid D-Bus type. Check the + <a href="https://dbus.freedesktop.org/doc/dbus-specification.html#type-system">D-Bus type system</a>.</td> + </tr> + <tr id="duplicate-interface" class="compatibility-error"> <th>duplicate-interface</th> <td>error</td> @@ -48,6 +56,14 @@ misnamed.</td> </tr> + <tr id="duplicate-node" class="compatibility-error"> + <th>duplicate-node</th> + <td>error</td> + <td>Two nodes with the same name were defined in a + single D-Bus interface. One of the nodes may be + misnamed.</td> + </tr> + <tr id="duplicate-property" class="compatibility-error"> <th>duplicate-property</th> <td>error</td> @@ -64,6 +80,20 @@ misnamed.</td> </tr> + <tr id="interface-name" class="compatibility-error"> + <th>interface-name</th> + <td>error</td> + <td>The name of a D-Bus interface was not valid. Check the + <a href="http://dbus.freedesktop.org/doc/dbus-specification.html#message-protocol-names-interface">D-Bus interface name documentation</a>.</td> + </tr> + + <tr id="method-name" class="compatibility-error"> + <th>method-name</th> + <td>error</td> + <td>The name of a D-Bus method was not valid. Check the + <a href="https://dbus.freedesktop.org/doc/dbus-specification.html#message-protocol-names-member">D-Bus member name documentation</a>.</td> + </tr> + <tr id="missing-attribute" class="compatibility-error"> <th>missing-attribute</th> <td>error</td> @@ -73,6 +103,31 @@ <a href="http://dbus.freedesktop.org/doc/dbus-specification.html#introspection-format">Introspection Data Format specification</a>.</td> </tr> + <tr id="node-name" class="compatibility-error"> + <th>node-name</th> + <td>error</td> + <td>The path (name) of a D-Bus node was not a valid + relative path. The root node must have an absolute + object path (if one is specified); child nodes must + have relative object paths (if specified). Check the + <a href="https://dbus.freedesktop.org/doc/dbus-specification.html#message-protocol-marshaling-object-path">D-Bus object path documentation</a>.</td> + </tr> + + <tr id="property-type" class="compatibility-error"> + <th>property-type</th> + <td>error</td> + <td>The type of a D-Bus property was + not a valid D-Bus type. Check the + <a href="https://dbus.freedesktop.org/doc/dbus-specification.html#type-system">D-Bus type system</a>.</td> + </tr> + + <tr id="signal-name" class="compatibility-error"> + <th>signal-name</th> + <td>error</td> + <td>The name of a D-Bus signal was not valid. Check the + <a href="https://dbus.freedesktop.org/doc/dbus-specification.html#message-protocol-names-member">D-Bus member name documentation</a>.</td> + </tr> + <tr id="unknown-node" class="compatibility-error"> <th>unknown-node</th> <td>error</td> @@ -82,6 +137,49 @@ </tr> </tbody> </table> + +<h2 id="type-parser">Type parser errors</h2> + +<table> + <thead> + <tr> + <th>Error code</th> + <th>Compatibility</th> + <th>Description</th> + </tr> + </thead> + <!-- Please keep this list alphabetically sorted. --> + <tbody> + <tr id="invalid-type" class="compatibility-error"> + <th>invalid-type</th> + <td>error</td> + <td>A D-Bus type string is invalid, or represents an + illegal D-Bus type. Check the + <a href="https://dbus.freedesktop.org/doc/dbus-specification.html#type-system">D-Bus type system documentation</a>.</td> + </tr> + + <tr id="reserved-type" class="compatibility-error"> + <th>reserved-type</th> + <td>error</td> + <td>A D-Bus type string contains a reserved type + character, such as <tt>m</tt>, <tt>*</tt>, + <tt>?</tt>, <tt>@</tt>, <tt>&</tt> or + <tt>^</tt>. These are not allowed in interface + definitions; they???re reserved for binding + implementations or future features. Check the + <a href="https://dbus.freedesktop.org/doc/dbus-specification.html#type-system">D-Bus type system documentation</a>.</td> + </tr> + + <tr id="unknown-type" class="compatibility-error"> + <th>unknown-type</th> + <td>error</td> + <td>A D-Bus type string contains an unknown character + which is not part of the language of D-Bus type + strings. Check the + <a href="https://dbus.freedesktop.org/doc/dbus-specification.html#type-system">D-Bus type system documentation</a>.</td> + </tr> + </tbody> +</table> <h2 id="comparator">Comparator errors</h2> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dbus-deviation-0.6.0/website/index.html new/dbus-deviation-0.6.1/website/index.html --- old/dbus-deviation-0.6.0/website/index.html 2016-12-21 12:54:05.000000000 +0100 +++ new/dbus-deviation-0.6.1/website/index.html 2021-01-29 13:27:28.000000000 +0100 @@ -49,6 +49,7 @@ <li>2015-05-29: <a href="./dbus-deviation-0.3.0.tar.gz">0.3.0</a> (<a href="./dbus-deviation-0.3.0.tar.gz.asc">signature</a>)</li> <li>2016-02-22: <a href="./dbus-deviation-0.4.0.tar.gz">0.4.0</a> (<a href="./dbus-deviation-0.4.0.tar.gz.asc">signature</a>)</li> <li>2016-03-03: <a href="./dbus-deviation-0.5.0.tar.gz">0.5.0</a> (<a href="./dbus-deviation-0.5.0.tar.gz.asc">signature</a>)</li> + <li>2017-01-12: <a href="./dbus-deviation-0.6.0.tar.gz">0.6.0</a> (<a href="./dbus-deviation-0.6.0.tar.gz.asc">signature</a>)</li> </ul> <p>Building and installing follows the standard Python setuptools process:</p> @@ -61,7 +62,7 @@ <h2 id="documentation">Documentation</h2> <p>For installation and quick-start information, see the - <a href="https://github.com/pwithnall/dbus-deviation/blob/master/README" title="README for dbus-deviation.">README + <a href="https://github.com/pwithnall/dbus-deviation/blob/master/README.md" title="README for dbus-deviation.">README file</a>.</p> <p>API documentation is @@ -88,14 +89,18 @@ <h3 id="bugs">Bugs</h3> <p>dbus-deviation uses + <a href="https://github.com/pwithnall/dbus-deviation/issues" title="Issue tracking for dbus-deviation.">GitHub???s issue tracking</a> + for bugs and enhancement requests.</p> + +<p>dbus-deviation has historically used <a href="http://www.bugseverywhere.org/" title="Bugs Everywhere is a distributed bug tracking system.">Bugs Everywhere</a> for feature enhancement tracking, so to - view all currently open bugs, <a href="#git">clone the dbus-deviation git + view all historically open bugs, <a href="#git">clone the dbus-deviation git repository</a> and run:</p> <pre>be list</pre> -<p>To file a bug, please <a href="#contact">contact the authors</a> by - e-mail.</p> +<p>To file a bug without using GitHub, please <a href="#contact">contact the + authors</a> by e-mail.</p> <h2 id="contact">Contact</h2>