Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-bashate for openSUSE:Factory checked in at 2021-11-29 17:28:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-bashate (Old) and /work/SRC/openSUSE:Factory/.python-bashate.new.31177 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-bashate" Mon Nov 29 17:28:34 2021 rev:7 rq:934508 version:2.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-bashate/python-bashate.changes 2021-01-28 21:29:13.476266801 +0100 +++ /work/SRC/openSUSE:Factory/.python-bashate.new.31177/python-bashate.changes 2021-12-02 02:22:26.697195625 +0100 @@ -1,0 +2,24 @@ +Mon Nov 29 10:49:10 UTC 2021 - Dirk M��ller <dmueller@suse.com> + +- update to 2.1.0: + * Update IRC network to OFTC + * Fix doc job + * Switch testing to Xena testing runtime + * [CI] Make bashate-devstack job voting and gating + * setup.cfg: Replace dashes with underscores + * Add ensure-tox role to test job + * Changed minversion in tox to 3.18.0 + * remove unicode from code + * Add Python3 wallaby unit tests + * Create tox environment to build pdf documentation + * Remove obsolete files + * drop mock from lower-constraints and requirements + * Stop to use the \_\_future\_\_ module + * Switch to newer openstackdocstheme and reno versions + * Fix hacking min version to 3.0.1 + * Switch testing to Victoria testing runtime + * [ussuri][goal] Update contributor documentation + * Cleanup py27 support + * Update hacking for Python3 + +------------------------------------------------------------------- Old: ---- bashate-2.0.0.tar.gz New: ---- bashate-2.1.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-bashate.spec ++++++ --- /var/tmp/diff_new_pack.wzLq9H/_old 2021-12-02 02:22:27.101194216 +0100 +++ /var/tmp/diff_new_pack.wzLq9H/_new 2021-12-02 02:22:27.105194202 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-bashate # -# 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 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %global skip_python2 1 Name: python-bashate -Version: 2.0.0 +Version: 2.1.0 Release: 0 Summary: A PEP8 equivalent for bash scripts License: Apache-2.0 @@ -38,7 +38,7 @@ Requires: python-Babel >= 0.9.6 Requires: python-pbr Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives BuildArch: noarch %ifpython2 Requires: python-argparse ++++++ bashate-2.0.0.tar.gz -> bashate-2.1.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bashate-2.0.0/.zuul.d/jobs.yaml new/bashate-2.1.0/.zuul.d/jobs.yaml --- old/bashate-2.0.0/.zuul.d/jobs.yaml 2020-03-04 02:04:53.000000000 +0100 +++ new/bashate-2.1.0/.zuul.d/jobs.yaml 2021-09-13 10:22:06.000000000 +0200 @@ -1,13 +1,15 @@ - project: templates: - openstack-python35-jobs - - openstack-python3-ussuri-jobs + - openstack-python3-xena-jobs - publish-openstack-docs-pti - release-notes-jobs-python3 check: jobs: - - bashate-devstack: - voting: false + - bashate-devstack + gate: + jobs: + - bashate-devstack - job: name: bashate-devstack diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bashate-2.0.0/AUTHORS new/bashate-2.1.0/AUTHORS --- old/bashate-2.0.0/AUTHORS 2020-03-04 02:05:44.000000000 +0100 +++ new/bashate-2.1.0/AUTHORS 2021-09-13 10:23:12.000000000 +0200 @@ -10,14 +10,18 @@ Dirk Mueller <dirk@dmllr.de> Doug Hellmann <doug@doughellmann.com> Ghanshyam Mann <gmann@ghanshyammann.com> +Herv�� Beraud <hberaud@redhat.com> Ian Wienand <iwienand@redhat.com> Ihar Hrachyshka <ihrachys@redhat.com> James E. Blair <jeblair@redhat.com> +Jens Harbott <j.harbott@x-ion.de> Jeremy Stanley <fungi@yuggoth.org> Joe Gordon <joe.gordon0@gmail.com> K Jonathan Harker <k.jonathan.harker@hp.com> Le Hou <houl7@chinaunicom.cn> Longgeek <longgeek@thstack.com> +Lukas Piwowarski <lpiwowar@redhat.com> +Martin Kopec <mkopec@redhat.com> Masayuki Igawa <masayuki@igawa.io> Mathew Odden <locke105@gmail.com> Mathew Odden <mrodden@us.ibm.com> @@ -25,6 +29,7 @@ Monty Taylor <mordred@inaugust.com> Nikki Heald <nicky@notnowlewis.com> Paul Belanger <pabelanger@redhat.com> +Rados��aw Piliszek <radoslaw.piliszek@gmail.com> Riccardo Pittau <rpittau@blizzard.com> Ryan Selden <ryanx.seldon@intel.com> Sean Dague <sdague@linux.vnet.ibm.com> @@ -40,7 +45,10 @@ Tristan Cacqueray <tristan.cacqueray@enovance.com> Vieri <15050873171@163.com> William Huang <pyhex2dec@gmail.com> +Yandong Xuan <xuanyandong@inspur.com> +manchandavishal <manchandavishal143@gmail.com> nizam <abdul.nizamuddin@nectechnologies.in> qingszhao <zhao.daqing@99cloud.net> sonu.kumar <sonu.kumar@nectechnologies.in> +tushargite96 <tushargite96@gmail.com> xuanyandong <xuanyandong@inspur.com> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bashate-2.0.0/CONTRIBUTING.rst new/bashate-2.1.0/CONTRIBUTING.rst --- old/bashate-2.0.0/CONTRIBUTING.rst 2020-03-04 02:04:53.000000000 +0100 +++ new/bashate-2.1.0/CONTRIBUTING.rst 2021-09-13 10:22:06.000000000 +0200 @@ -1,13 +1,19 @@ -If you would like to contribute to the development of OpenStack, -you must follow the steps in this page: -http://docs.openstack.org/infra/manual/developers.html - -Once those steps have been completed, changes to OpenStack -should be submitted for review via the Gerrit tool, following -the workflow documented at: -http://docs.openstack.org/infra/manual/developers.html#development-workflow +The source repository for this project can be found at: -Pull requests submitted through GitHub will be ignored. + https://opendev.org/openstack/bashate -Bugs should be filed on Launchpad, not GitHub: -https://bugs.launchpad.net/bash8 +Pull requests submitted through GitHub are not monitored. + +To start contributing to OpenStack, follow the steps in the contribution guide +to set up and use Gerrit: + + https://docs.openstack.org/contributors/code-and-documentation/quick-start.h... + +Bugs should be filed on Launchpad: + + https://bugs.launchpad.net/bash8 + +For more specific information about contributing to this repository, see the +Bashate contributor guide: + + https://docs.openstack.org/bashate/latest/contributor/contributing.html diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bashate-2.0.0/ChangeLog new/bashate-2.1.0/ChangeLog --- old/bashate-2.0.0/ChangeLog 2020-03-04 02:05:44.000000000 +0100 +++ new/bashate-2.1.0/ChangeLog 2021-09-13 10:23:12.000000000 +0200 @@ -1,6 +1,29 @@ CHANGES ======= +2.1.0 +----- + +* Update IRC network to OFTC +* Fix doc job +* Switch testing to Xena testing runtime +* [CI] Make bashate-devstack job voting and gating +* setup.cfg: Replace dashes with underscores +* Add ensure-tox role to test job +* Changed minversion in tox to 3.18.0 +* remove unicode from code +* Add Python3 wallaby unit tests +* Create tox environment to build pdf documentation +* Remove obsolete files +* drop mock from lower-constraints and requirements +* Stop to use the \_\_future\_\_ module +* Switch to newer openstackdocstheme and reno versions +* Fix hacking min version to 3.0.1 +* Switch testing to Victoria testing runtime +* [ussuri][goal] Update contributor documentation +* Cleanup py27 support +* Update hacking for Python3 + 2.0.0 ----- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bashate-2.0.0/PKG-INFO new/bashate-2.1.0/PKG-INFO --- old/bashate-2.0.0/PKG-INFO 2020-03-04 02:05:44.000000000 +0100 +++ new/bashate-2.1.0/PKG-INFO 2021-09-13 10:23:12.915040300 +0200 @@ -1,8 +1,8 @@ Metadata-Version: 1.2 Name: bashate -Version: 2.0.0 +Version: 2.1.0 Summary: A pep8 equivalent for bash scripts -Home-page: http://docs.openstack.org/developer/bashate/ +Home-page: https://docs.openstack.org/bashate/latest/ Author: OpenStack Author-email: openstack-discuss@lists.openstack.org License: UNKNOWN @@ -75,8 +75,11 @@ Classifier: License :: OSI Approved :: Apache Software License Classifier: Operating System :: POSIX :: Linux Classifier: Programming Language :: Python +Classifier: Programming Language :: Python :: Implementation :: CPython +Classifier: Programming Language :: Python :: 3 :: Only Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6 Classifier: Programming Language :: Python :: 3.7 +Classifier: Programming Language :: Python :: 3.8 Requires-Python: >=3.5 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bashate-2.0.0/babel.cfg new/bashate-2.1.0/babel.cfg --- old/bashate-2.0.0/babel.cfg 2020-03-04 02:04:53.000000000 +0100 +++ new/bashate-2.1.0/babel.cfg 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -[python: **.py] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bashate-2.0.0/bashate/bashate.py new/bashate-2.1.0/bashate/bashate.py --- old/bashate-2.0.0/bashate/bashate.py 2020-03-04 02:04:53.000000000 +0100 +++ new/bashate-2.1.0/bashate/bashate.py 2021-09-13 10:22:06.000000000 +0200 @@ -12,8 +12,6 @@ # License for the specific language governing permissions and limitations # under the License. -from __future__ import absolute_import - import argparse import fileinput import os @@ -29,33 +27,33 @@ def is_continuation(line): - return re.search('\\\\\s*$', line) + return re.search(r'\\\s*$', line) def check_for_do(line, report): if not is_continuation(line): - match = re.match('^\s*(for|while|until)\s', line) + match = re.match(r'^\s*(for|while|until)\s', line) if match: operator = match.group(1).strip() if operator == "for": # "for i in ..." and "for ((" is bash, but # "for (" is likely from an embedded awk script, # so skip it - if re.search('for \([^\(]', line): + if re.search(r'for \([^\(]', line): return - if not re.search(';\s*do$', line): + if not re.search(r';\s*do$', line): report.print_error((MESSAGES['E010'].msg % operator), line) def check_if_then(line, report): if not is_continuation(line): - if re.search('^\s*(el)?if \[', line): - if not re.search(';\s*then$', line): + if re.search(r'^\s*(el)?if \[', line): + if not re.search(r';\s*then$', line): report.print_error(MESSAGES['E011'].msg, line) def check_no_trailing_whitespace(line, report): - if re.search('[ \t]+$', line): + if re.search(r'[ \t]+$', line): report.print_error(MESSAGES['E001'].msg, line) @@ -74,7 +72,7 @@ # Find the offset of the first argument of the command (if it has # one) - m = re.search('^(?P<indent>[ \t]+)?(?P<cmd>\S+)(?P<ws>\s+)(?P<arg>\S+)', + m = re.search(r'^(?P<indent>[ \t]+)?(?P<cmd>\S+)(?P<ws>\s+)(?P<arg>\S+)', logical_line[0]) arg_offset = None if m: @@ -83,10 +81,10 @@ # go through each line for lineno, line in enumerate(logical_line): - m = re.search('^(?P<indent>[ \t]+)', line) + m = re.search(r'^(?P<indent>[ \t]+)', line) if m: # no tabs, only spaces - if re.search('\t', m.group('indent')): + if re.search(r'\t', m.group('indent')): report.print_error(MESSAGES['E002'].msg, line) offset = len(m.group('indent')) @@ -106,12 +104,12 @@ def check_function_decl(line, report): failed = False if line.startswith("function"): - if not re.search('^function [\w-]* \{$', line): + if not re.search(r'^function [\w-]* \{$', line): failed = True else: # catch the case without "function", e.g. # things like '^foo() {' - if re.search('^\s*?\(\)\s*?\{', line): + if re.search(r'^\s*?\(\)\s*?\{', line): failed = True if failed: @@ -121,12 +119,12 @@ def starts_heredoc(line): # note, watch out for <<EOF and <<'EOF' ; quotes in the # deliminator are part of syntax - m = re.search("[^<]<<\s*([\'\"]?)(?P<token>\w+)([\'\"]?)", line) + m = re.search(r"[^<]<<\s*([\'\"]?)(?P<token>\w+)([\'\"]?)", line) return m.group('token') if m else False def end_of_heredoc(line, token): - return token and re.search("^%s\s*$" % token, line) + return token and re.search(r"^%s\s*$" % token, line) def check_arithmetic(line, report): @@ -152,7 +150,7 @@ # maybe this should check for shell? if (not filename.endswith(".sh") and not line.startswith("#!") and not os.path.basename(filename).startswith('.')): - report.print_error(MESSAGES['E005'].msg, line) + report.print_error(MESSAGES['E005'].msg, line) def check_conditional_expression(line, report): @@ -473,5 +471,6 @@ return 0 + if __name__ == "__main__": sys.exit(main()) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bashate-2.0.0/bashate/tests/test_bashate.py new/bashate-2.1.0/bashate/tests/test_bashate.py --- old/bashate-2.0.0/bashate/tests/test_bashate.py 2020-03-04 02:04:53.000000000 +0100 +++ new/bashate-2.1.0/bashate/tests/test_bashate.py 2021-09-13 10:22:06.000000000 +0200 @@ -17,7 +17,7 @@ Tests for `bashate` module. """ -import mock +from unittest import mock from bashate import bashate from bashate import messages diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bashate-2.0.0/bashate.egg-info/PKG-INFO new/bashate-2.1.0/bashate.egg-info/PKG-INFO --- old/bashate-2.0.0/bashate.egg-info/PKG-INFO 2020-03-04 02:05:44.000000000 +0100 +++ new/bashate-2.1.0/bashate.egg-info/PKG-INFO 2021-09-13 10:23:12.000000000 +0200 @@ -1,8 +1,8 @@ Metadata-Version: 1.2 Name: bashate -Version: 2.0.0 +Version: 2.1.0 Summary: A pep8 equivalent for bash scripts -Home-page: http://docs.openstack.org/developer/bashate/ +Home-page: https://docs.openstack.org/bashate/latest/ Author: OpenStack Author-email: openstack-discuss@lists.openstack.org License: UNKNOWN @@ -75,8 +75,11 @@ Classifier: License :: OSI Approved :: Apache Software License Classifier: Operating System :: POSIX :: Linux Classifier: Programming Language :: Python +Classifier: Programming Language :: Python :: Implementation :: CPython +Classifier: Programming Language :: Python :: 3 :: Only Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6 Classifier: Programming Language :: Python :: 3.7 +Classifier: Programming Language :: Python :: 3.8 Requires-Python: >=3.5 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bashate-2.0.0/bashate.egg-info/SOURCES.txt new/bashate-2.1.0/bashate.egg-info/SOURCES.txt --- old/bashate-2.0.0/bashate.egg-info/SOURCES.txt 2020-03-04 02:05:44.000000000 +0100 +++ new/bashate-2.1.0/bashate.egg-info/SOURCES.txt 2021-09-13 10:23:12.000000000 +0200 @@ -8,9 +8,7 @@ HACKING.rst LICENSE README.rst -babel.cfg bindep.txt -openstack-common.conf requirements.txt setup.cfg setup.py @@ -56,9 +54,11 @@ bashate/tests/samples/for_loops.sh bashate/tests/samples/heredoc_ignore.sh bashate/tests/samples/legacy_sample.sh +doc/requirements.txt doc/source/conf.py doc/source/index.rst doc/source/readme.rst +doc/source/contributor/contributing.rst doc/source/contributor/index.rst doc/source/install/index.rst doc/source/man/bashate.rst diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bashate-2.0.0/bashate.egg-info/pbr.json new/bashate-2.1.0/bashate.egg-info/pbr.json --- old/bashate-2.0.0/bashate.egg-info/pbr.json 2020-03-04 02:05:44.000000000 +0100 +++ new/bashate-2.1.0/bashate.egg-info/pbr.json 2021-09-13 10:23:12.000000000 +0200 @@ -1 +1 @@ -{"git_version": "349e45c", "is_release": true} \ No newline at end of file +{"git_version": "8f9b2fb", "is_release": true} \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bashate-2.0.0/bashate.egg-info/requires.txt new/bashate-2.1.0/bashate.egg-info/requires.txt --- old/bashate-2.0.0/bashate.egg-info/requires.txt 2020-03-04 02:05:44.000000000 +0100 +++ new/bashate-2.1.0/bashate.egg-info/requires.txt 2021-09-13 10:23:12.000000000 +0200 @@ -1,2 +1 @@ pbr!=2.1.0,>=2.0.0 -Babel!=2.4.0,>=2.3.4 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bashate-2.0.0/bindep.txt new/bashate-2.1.0/bindep.txt --- old/bashate-2.0.0/bindep.txt 2020-03-04 02:04:53.000000000 +0100 +++ new/bashate-2.1.0/bindep.txt 2021-09-13 10:22:06.000000000 +0200 @@ -1,2 +1,4 @@ # This is a cross-platform list tracking distribution packages needed by tests; # see http://docs.openstack.org/infra/bindep/ for additional information. +# PDF Docs package dependencies +tex-gyre [doc platform:dpkg] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bashate-2.0.0/doc/requirements.txt new/bashate-2.1.0/doc/requirements.txt --- old/bashate-2.0.0/doc/requirements.txt 1970-01-01 01:00:00.000000000 +0100 +++ new/bashate-2.1.0/doc/requirements.txt 2021-09-13 10:22:06.000000000 +0200 @@ -0,0 +1,7 @@ +# The order of packages is significant, because pip processes them in the order +# of appearance. Changing the order has an impact on the overall integration +# process, which may cause wedges in the gate later. + +sphinx>=2.0.0,!=2.1.0 # BSD +openstackdocstheme>=2.2.1 # Apache-2.0 +reno>=3.1.0 # Apache-2.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bashate-2.0.0/doc/source/conf.py new/bashate-2.1.0/doc/source/conf.py --- old/bashate-2.0.0/doc/source/conf.py 2020-03-04 02:04:53.000000000 +0100 +++ new/bashate-2.1.0/doc/source/conf.py 2021-09-13 10:22:06.000000000 +0200 @@ -37,8 +37,8 @@ master_doc = 'index' # General information about the project. -project = u'bashate' -copyright = u'2017, Bashate Authors' +project = 'bashate' +copyright = '2017, Bashate Authors' # If true, '()' will be appended to :func: etc. cross-reference text. add_function_parentheses = True @@ -48,18 +48,19 @@ add_module_names = True # The name of the Pygments (syntax highlighting) style to use. -pygments_style = 'sphinx' +pygments_style = 'native' # openstackdocstheme options -repository_name = 'openstack-dev/bashate' -bug_project = 'bashate' -bug_tag = '' +openstackdocs_repo_name = 'openstack-dev/bashate' +openstackdocs_bug_project = 'bashate' +openstackdocs_bug_tag = '' +openstackdocs_pdf_link = True # Grouping the document tree for man pages. -# List of tuples 'sourcefile', 'target', u'title', u'Authors name', 'manual' +# List of tuples 'sourcefile', 'target', 'title', 'Authors name', 'manual' man_pages = [ - ('man/bashate', 'bashate', u'Style checker for bash scripts', - [u'OpenStack Foundation'], 1), + ('man/bashate', 'bashate', 'Style checker for bash scripts', + ['OpenStack Foundation'], 1), ] @@ -75,20 +76,19 @@ # Output file base name for HTML help builder. htmlhelp_basename = '%sdoc' % project -# If not '', a 'Last updated on:' timestamp is inserted at every page bottom, -# using the given strftime format. -# html_last_updated_fmt = '%b %d, %Y' -html_last_updated_fmt = '%Y-%m-%d %H:%M' - # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title, author, documentclass # [howto/manual]). latex_documents = [ ('index', - '%s.tex' % project, - u'%s Documentation' % project, - u'Bashate Authors', 'manual'), + 'doc-%s.tex' % project, + 'Bashate Documentation', + 'Bashate Authors', 'manual'), ] # Example configuration for intersphinx: refer to the Python standard library. #intersphinx_mapping = {'http://docs.python.org/': None} +latex_use_xindy = False +latex_elements = { + 'extraclassoptions': 'openany,oneside', +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bashate-2.0.0/doc/source/contributor/contributing.rst new/bashate-2.1.0/doc/source/contributor/contributing.rst --- old/bashate-2.0.0/doc/source/contributor/contributing.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/bashate-2.1.0/doc/source/contributor/contributing.rst 2021-09-13 10:22:06.000000000 +0200 @@ -0,0 +1,53 @@ +============================ +So You Want to Contribute... +============================ + +For general information on contributing to OpenStack, please check out the +`contributor guide <https://docs.openstack.org/contributors/>`_ to get started. +It covers all the basics that are common to all OpenStack projects: the accounts +you need, the basics of interacting with our Gerrit review system, how we +communicate as a community, etc. + +Below will cover the more project specific information you need to get started +with Bashate. + +Communication +~~~~~~~~~~~~~ +* IRC channel ``#openstack-qa`` at OFTC +* Mailing list (prefix subjects with ``[qa]`` for faster responses) + http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-discuss + +Contacting the Core Team +~~~~~~~~~~~~~~~~~~~~~~~~ +Please refer to the `Bashate Core Team +<https://review.opendev.org/#/admin/groups/333,members>`_ contacts. + +New Feature Planning +~~~~~~~~~~~~~~~~~~~~ +If you want to propose a new feature please read `Feature Proposal Process`_ + +Task Tracking +~~~~~~~~~~~~~ +We track our tasks in `Launchpad <https://bugs.launchpad.net/bash8>`__. + +Reporting a Bug +~~~~~~~~~~~~~~~ +You found an issue and want to make sure we are aware of it? You can do so on +`Launchpad <https://bugs.launchpad.net/bash8/+filebug>`__. +More info about Launchpad usage can be found on `OpenStack docs page +<https://docs.openstack.org/contributors/common/task-tracking.html#launchpad>`_ + +Getting Your Patch Merged +~~~~~~~~~~~~~~~~~~~~~~~~~ +All changes proposed to the Bashate requires single ``Code-Review +2`` votes as minimum from +Bashate core reviewers who can approve patch by giving ``Workflow +1`` vote. + +Project Team Lead Duties +~~~~~~~~~~~~~~~~~~~~~~~~ +All common PTL duties are enumerated in the `PTL guide +<https://docs.openstack.org/project-team-guide/ptl.html>`_. + +The Release Process for QA is documented in `QA Release Process +<https://wiki.openstack.org/wiki/QA/releases>`_. + +.. _Feature Proposal Process: https://wiki.openstack.org/wiki/QA#Feature_Proposal_.26_Design_discussions diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bashate-2.0.0/doc/source/contributor/index.rst new/bashate-2.1.0/doc/source/contributor/index.rst --- old/bashate-2.0.0/doc/source/contributor/index.rst 2020-03-04 02:04:53.000000000 +0100 +++ new/bashate-2.1.0/doc/source/contributor/index.rst 2021-09-13 10:22:06.000000000 +0200 @@ -1,4 +1,8 @@ ============ Contributing ============ -.. include:: ../../../CONTRIBUTING.rst + +.. toctree:: + :maxdepth: 2 + + contributing.rst diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bashate-2.0.0/doc/source/index.rst new/bashate-2.1.0/doc/source/index.rst --- old/bashate-2.0.0/doc/source/index.rst 2020-03-04 02:04:53.000000000 +0100 +++ new/bashate-2.1.0/doc/source/index.rst 2021-09-13 10:22:06.000000000 +0200 @@ -2,8 +2,6 @@ Welcome to bashate's documentation! =================================== -Contents: - .. toctree:: :maxdepth: 2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bashate-2.0.0/doc/source/user/index.rst new/bashate-2.1.0/doc/source/user/index.rst --- old/bashate-2.0.0/doc/source/user/index.rst 2020-03-04 02:04:53.000000000 +0100 +++ new/bashate-2.1.0/doc/source/user/index.rst 2021-09-13 10:22:06.000000000 +0200 @@ -2,9 +2,6 @@ Using bashate ============= - -Contents: - .. toctree:: :maxdepth: 2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bashate-2.0.0/openstack-common.conf new/bashate-2.1.0/openstack-common.conf --- old/bashate-2.0.0/openstack-common.conf 2020-03-04 02:04:53.000000000 +0100 +++ new/bashate-2.1.0/openstack-common.conf 1970-01-01 01:00:00.000000000 +0100 @@ -1,6 +0,0 @@ -[DEFAULT] - -# The list of modules to copy from oslo-incubator.git - -# The base module to hold the copy of openstack.common -base=bashate \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bashate-2.0.0/playbooks/bashate-devstack-master/run.yaml new/bashate-2.1.0/playbooks/bashate-devstack-master/run.yaml --- old/bashate-2.0.0/playbooks/bashate-devstack-master/run.yaml 2020-03-04 02:04:53.000000000 +0100 +++ new/bashate-2.1.0/playbooks/bashate-devstack-master/run.yaml 2021-09-13 10:22:06.000000000 +0200 @@ -2,6 +2,8 @@ name: Run bashate against devstack master roles: - bindep + - role: ensure-tox + ensure_global_symlinks: true tasks: - shell: 'tox -e bashate' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bashate-2.0.0/releasenotes/source/conf.py new/bashate-2.1.0/releasenotes/source/conf.py --- old/bashate-2.0.0/releasenotes/source/conf.py 2020-03-04 02:04:53.000000000 +0100 +++ new/bashate-2.1.0/releasenotes/source/conf.py 2021-09-13 10:22:06.000000000 +0200 @@ -55,8 +55,8 @@ master_doc = 'index' # General information about the project. -project = u'Bashate Release Notes' -copyright = u'2017, Bashate Developers' +project = 'Bashate Release Notes' +copyright = '2017, Bashate Developers' # Release notes are version independent # The full version, including alpha/beta/rc tags. @@ -94,7 +94,7 @@ # show_authors = False # The name of the Pygments (syntax highlighting) style to use. -pygments_style = 'sphinx' +pygments_style = 'native' # A list of ignored prefixes for module index sorting. # modindex_common_prefix = [] @@ -103,9 +103,10 @@ # keep_warnings = False # openstackdocstheme options -repository_name = 'openstack-dev/bashate' -bug_project = 'bashate' -bug_tag = '' +openstackdocs_repo_name = 'openstack-dev/bashate' +openstackdocs_bug_project = 'bashate' +openstackdocs_bug_tag = '' +openstackdocs_auto_name = False # -- Options for HTML output ---------------------------------------------- @@ -147,11 +148,6 @@ # directly to the root of the documentation. # html_extra_path = [] -# If not '', a 'Last updated on:' timestamp is inserted at every page bottom, -# using the given strftime format. -# html_last_updated_fmt = '%b %d, %Y' -html_last_updated_fmt = '%Y-%m-%d %H:%M' - # If true, SmartyPants will be used to convert quotes and dashes to # typographically correct entities. # html_use_smartypants = True @@ -211,8 +207,8 @@ # author, documentclass [howto, manual, or own class]). latex_documents = [ ('index', 'BashateReleaseNotes.tex', - u'Bashate Release Notes Documentation', - u'Bashate Developers', 'manual'), + 'Bashate Release Notes Documentation', + 'Bashate Developers', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of @@ -241,8 +237,8 @@ # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). man_pages = [ - ('index', 'bashatereleasenotes', u'Bashate Release Notes Documentation', - [u'Bashate Developers'], 1) + ('index', 'bashatereleasenotes', 'Bashate Release Notes Documentation', + ['Bashate Developers'], 1) ] # If true, show URL addresses after external links. @@ -255,8 +251,8 @@ # (source start file, target name, title, author, # dir menu entry, description, category) texinfo_documents = [ - ('index', 'BashateReleaseNotes', u'Bashate Release Notes Documentation', - u'Bashate Developers', 'BashateReleaseNotes', + ('index', 'BashateReleaseNotes', 'Bashate Release Notes Documentation', + 'Bashate Developers', 'BashateReleaseNotes', 'Style Checker for Bash.', 'Miscellaneous'), ] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bashate-2.0.0/requirements.txt new/bashate-2.1.0/requirements.txt --- old/bashate-2.0.0/requirements.txt 2020-03-04 02:04:53.000000000 +0100 +++ new/bashate-2.1.0/requirements.txt 2021-09-13 10:22:06.000000000 +0200 @@ -3,4 +3,3 @@ # process, which may cause wedges in the gate later. pbr!=2.1.0,>=2.0.0 # Apache-2.0 -Babel!=2.4.0,>=2.3.4 # BSD diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bashate-2.0.0/setup.cfg new/bashate-2.1.0/setup.cfg --- old/bashate-2.0.0/setup.cfg 2020-03-04 02:05:44.000000000 +0100 +++ new/bashate-2.1.0/setup.cfg 2021-09-13 10:23:12.915040300 +0200 @@ -1,12 +1,12 @@ [metadata] name = bashate summary = A pep8 equivalent for bash scripts -description-file = +description_file = README.rst author = OpenStack -author-email = openstack-discuss@lists.openstack.org -home-page = http://docs.openstack.org/developer/bashate/ -python-requires = >=3.5 +author_email = openstack-discuss@lists.openstack.org +home_page = https://docs.openstack.org/bashate/latest/ +python_requires = >=3.5 classifier = Environment :: OpenStack Intended Audience :: Information Technology @@ -14,10 +14,13 @@ License :: OSI Approved :: Apache Software License Operating System :: POSIX :: Linux Programming Language :: Python + Programming Language :: Python :: Implementation :: CPython + Programming Language :: Python :: 3 :: Only Programming Language :: Python :: 3 Programming Language :: Python :: 3.5 Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.7 + Programming Language :: Python :: 3.8 [files] packages = @@ -27,29 +30,6 @@ console_scripts = bashate = bashate.bashate:main -[build_sphinx] -source-dir = doc/source -build-dir = doc/build -all_files = 1 -warning-is-error = 1 - -[upload_sphinx] -upload-dir = doc/build/html - -[compile_catalog] -directory = bashate/locale -domain = bashate - -[update_catalog] -domain = bashate -output_dir = bashate/locale -input_file = bashate/locale/bashate.pot - -[extract_messages] -keywords = _ gettext ngettext l_ lazy_gettext -mapping_file = babel.cfg -output_file = bashate/locale/bashate.pot - [egg_info] tag_build = tag_date = 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bashate-2.0.0/setup.py new/bashate-2.1.0/setup.py --- old/bashate-2.0.0/setup.py 2020-03-04 02:04:53.000000000 +0100 +++ new/bashate-2.1.0/setup.py 2021-09-13 10:22:06.000000000 +0200 @@ -13,17 +13,8 @@ # See the License for the specific language governing permissions and # limitations under the License. -# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT import setuptools -# In python < 2.7.4, a lazy loading of package `pbr` will break -# setuptools if some other modules registered functions in `atexit`. -# solution from: http://bugs.python.org/issue15881#msg170215 -try: - import multiprocessing # noqa -except ImportError: - pass - setuptools.setup( setup_requires=['pbr>=1.8'], pbr=True) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bashate-2.0.0/test-requirements.txt new/bashate-2.1.0/test-requirements.txt --- old/bashate-2.0.0/test-requirements.txt 2020-03-04 02:04:53.000000000 +0100 +++ new/bashate-2.1.0/test-requirements.txt 2021-09-13 10:22:06.000000000 +0200 @@ -2,15 +2,11 @@ # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. -hacking<0.11,>=0.10.0 -mock>=1.2 +hacking>=3.0.1,<3.1.0 # Apache-2.0 coverage>=3.6 discover fixtures>=1.3.1 python-subunit>=0.0.18 -sphinx!=1.6.6,!=1.6.7,!=2.1.0 # BSD -openstackdocstheme>=1.11.0 # Apache-2.0 testtools>=2.2.0 stestr>=1.0.0 # Apache-2.0 -reno!=2.3.1,>=1.8.0 # Apache-2.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bashate-2.0.0/tox.ini new/bashate-2.1.0/tox.ini --- old/bashate-2.0.0/tox.ini 2020-03-04 02:04:53.000000000 +0100 +++ new/bashate-2.1.0/tox.ini 2021-09-13 10:22:06.000000000 +0200 @@ -1,16 +1,15 @@ [tox] -minversion = 3.1.1 -envlist = py36,py37,pep8 +minversion = 3.18.0 +envlist = py36,py38,pep8 skipsdist = True ignore_basepython_conflict = True [testenv] basepython = python3 usedevelop = True -install_command = pip install -U {opts} {packages} setenv = VIRTUAL_ENV={envdir} -whitelist_externals = * +allowlist_externals = * deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt commands = @@ -20,7 +19,16 @@ commands = flake8 [testenv:docs] -commands = python setup.py build_sphinx +deps = -r{toxinidir}/doc/requirements.txt +commands = sphinx-build -a -W -E -b html doc/source doc/build/html + +[testenv:pdf-docs] +deps = {[testenv:docs]deps} +allowlist_externals = + make +commands = + sphinx-build -W -b latex doc/source doc/build/pdf + make -C doc/build/pdf [testenv:venv] commands = {posargs} @@ -38,13 +46,14 @@ coverage report [testenv:releasenotes] +deps = {[testenv:docs]deps} commands = sphinx-build -a -W -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html [flake8] # E123, E125 skipped as they are invalid PEP-8. show-source = True -ignore = E123,E125 +ignore = E123,E125,W504 builtins = _ exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build