Debian

Available patches from Ubuntu

To see Ubuntu differences wrt. to Debian, write down a grep-dctrl query identifying the packages you're interested in:
grep-dctrl -n -sPackage Sources.Debian
(e.g. -FPackage linux-ntfs or linux-ntfs)

Modified packages are listed below:

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: python-cliff

python-cliff (2.15.0-0ubuntu1) eoan; urgency=medium * New upstream release for OpenStack Train. -- Corey Bryant <corey.bryant@canonical.com> Tue, 30 Jul 2019 15:28:14 -0400 python-cliff (2.14.1-0ubuntu1) disco; urgency=medium * New upstream release for OpenStack Stein. -- Corey Bryant <corey.bryant@canonical.com> Mon, 11 Mar 2019 14:10:50 -0400 python-cliff (2.14.0-0ubuntu1) disco; urgency=medium * New upstream release. * d/control: Align (Build-)Depends with upstream. -- Corey Bryant <corey.bryant@canonical.com> Wed, 06 Feb 2019 12:05:32 -0500 python-cliff (2.13.0-0ubuntu1) cosmic; urgency=medium * New upstream release for OpenStack Rocky. * d/control: Align (Build-)Depends with upstream. * d/p/align-parsed-call-with-cmd2-versions-0.7.3.patch: Dropped. Fixed in new upstream release. -- Corey Bryant <corey.bryant@canonical.com> Thu, 02 Aug 2018 13:30:56 -0400 python-cliff (2.11.0-1ubuntu1) cosmic; urgency=low * Merge from Debian unstable. Remaining changes: - d/control, d/compat: Remain at debhelper>=10. - d/control: Enable autopkgtest-pkg-python tests. - d/gbp.conf: Retain for pristine-tar. - d/watch: Get tarball from pypi.debian.net. - d/control: Drop (Build-)Depends on python3-unicodecsv as its only needed for Python 2 (LP: #1736717). - d/p/align-parsed-call-with-cmd2-versions-0.7.3.patch: Cherry-picked from https://review.openstack.org/#/c/548626/ to fix AttributeError exception with use of cmd2 parsed() method (LP: #1751822). -- Corey Bryant <corey.bryant@canonical.com> Tue, 15 May 2018 09:48:37 -0400

Modifications :
  1. Download patch cliff.egg-info/SOURCES.txt

    --- 2.14.1-2/cliff.egg-info/SOURCES.txt 1970-01-01 00:00:00.000000000 +0000 +++ 2.15.0-0ubuntu1/cliff.egg-info/SOURCES.txt 2019-06-13 19:34:45.000000000 +0000 @@ -0,0 +1,94 @@ +.stestr.conf +.testr.conf +.zuul.yaml +AUTHORS +CONTRIBUTING.rst +ChangeLog +LICENSE +README.rst +bandit.yaml +lower-constraints.txt +requirements.txt +setup.cfg +setup.py +test-requirements.txt +tox.ini +cliff/__init__.py +cliff/_argparse.py +cliff/app.py +cliff/columns.py +cliff/command.py +cliff/commandmanager.py +cliff/complete.py +cliff/display.py +cliff/help.py +cliff/hooks.py +cliff/interactive.py +cliff/lister.py +cliff/show.py +cliff/sphinxext.py +cliff/utils.py +cliff.egg-info/PKG-INFO +cliff.egg-info/SOURCES.txt +cliff.egg-info/dependency_links.txt +cliff.egg-info/entry_points.txt +cliff.egg-info/not-zip-safe +cliff.egg-info/pbr.json +cliff.egg-info/requires.txt +cliff.egg-info/top_level.txt +cliff/formatters/__init__.py +cliff/formatters/base.py +cliff/formatters/commaseparated.py +cliff/formatters/json_format.py +cliff/formatters/shell.py +cliff/formatters/table.py +cliff/formatters/value.py +cliff/formatters/yaml_format.py +cliff/tests/__init__.py +cliff/tests/base.py +cliff/tests/test_app.py +cliff/tests/test_columns.py +cliff/tests/test_command.py +cliff/tests/test_command_hooks.py +cliff/tests/test_commandmanager.py +cliff/tests/test_complete.py +cliff/tests/test_formatters_csv.py +cliff/tests/test_formatters_json.py +cliff/tests/test_formatters_shell.py +cliff/tests/test_formatters_table.py +cliff/tests/test_formatters_value.py +cliff/tests/test_formatters_yaml.py +cliff/tests/test_help.py +cliff/tests/test_interactive.py +cliff/tests/test_lister.py +cliff/tests/test_show.py +cliff/tests/test_sphinxext.py +cliff/tests/test_utils.py +cliff/tests/utils.py +demoapp/README.rst +demoapp/setup.py +demoapp/cliffdemo/__init__.py +demoapp/cliffdemo/__main__.py +demoapp/cliffdemo/encoding.py +demoapp/cliffdemo/hook.py +demoapp/cliffdemo/list.py +demoapp/cliffdemo/main.py +demoapp/cliffdemo/show.py +demoapp/cliffdemo/simple.py +doc/requirements.txt +doc/source/conf.py +doc/source/index.rst +doc/source/contributors/index.rst +doc/source/install/index.rst +doc/source/reference/index.rst +doc/source/user/complete.rst +doc/source/user/demoapp.rst +doc/source/user/history.rst +doc/source/user/index.rst +doc/source/user/interactive_mode.rst +doc/source/user/introduction.rst +doc/source/user/list_commands.rst +doc/source/user/show_commands.rst +doc/source/user/sphinxext.rst +integration-tests/neutronclient-tip.sh +integration-tests/openstackclient-tip.sh \ No newline at end of file
  2. Download patch PKG-INFO

    --- 2.14.1-2/PKG-INFO 1970-01-01 00:00:00.000000000 +0000 +++ 2.15.0-0ubuntu1/PKG-INFO 2019-06-13 19:34:45.000000000 +0000 @@ -0,0 +1,43 @@ +Metadata-Version: 1.1 +Name: cliff +Version: 2.15.0 +Summary: Command Line Interface Formulation Framework +Home-page: https://docs.openstack.org/cliff/latest/ +Author: OpenStack +Author-email: openstack-discuss@lists.openstack.org +License: UNKNOWN +Description: ======================== + Team and repository tags + ======================== + + .. image:: https://governance.openstack.org/tc/badges/cliff.svg + :target: https://governance.openstack.org/tc/reference/tags/index.html + + .. Change things from this point on + + ======================================================= + cliff -- Command Line Interface Formulation Framework + ======================================================= + + cliff is a framework for building command line programs. It uses + `setuptools entry points`_ to provide subcommands, output formatters, and + other extensions. + + .. _setuptools entry points: http://setuptools.readthedocs.io/en/latest/pkg_resources.html#convenience-api + + * Free software: Apache license + * Documentation: https://docs.openstack.org/cliff/latest/ + * Source: https://opendev.org/openstack/cliff + * Bugs: https://bugs.launchpad.net/python-cliff + + +Platform: UNKNOWN +Classifier: Development Status :: 5 - Production/Stable +Classifier: License :: OSI Approved :: Apache Software License +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
  3. Download patch README.rst

    --- 2.14.1-2/README.rst 2018-12-20 19:51:11.000000000 +0000 +++ 2.15.0-0ubuntu1/README.rst 2019-06-13 19:32:28.000000000 +0000 @@ -19,5 +19,5 @@ other extensions. * Free software: Apache license * Documentation: https://docs.openstack.org/cliff/latest/ -* Source: https://git.openstack.org/cgit/openstack/cliff +* Source: https://opendev.org/openstack/cliff * Bugs: https://bugs.launchpad.net/python-cliff
  4. Download patch debian/rules

    --- 2.14.1-2/debian/rules 2019-07-17 03:08:04.000000000 +0000 +++ 2.15.0-0ubuntu1/debian/rules 2019-07-30 19:28:14.000000000 +0000 @@ -5,33 +5,30 @@ include /usr/share/openstack-pkg-tools/p %: - dh $@ --with python3,sphinxdoc --buildsystem=python_distutils - -override_dh_auto_clean: - rm -rf cliff.egg-info build - -override_dh_auto_build: - echo "Do nothing..." + dh $@ --with python2,python3,sphinxdoc --buildsystem=python_distutils override_dh_auto_install: - for i in $(PYTHON3S) ; do \ - python$$i setup.py install -f --install-layout=deb --root=$(CURDIR)/debian/tmp ; \ - done -ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS))) - PYTHONPATH=$(CURDIR)/debian/tmp/usr/lib/python3/dist-packages pkgos-dh_auto_test --no-py2 -endif + pkgos-dh_auto_install + +override_dh_clean: + dh_clean + rm -rf cliff.egg-info build override_dh_sphinxdoc: -ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS))) +ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS))) PYTHONPATH=$(CURDIR) sphinx-build -b html -a -c doc/source doc/source \ $(CURDIR)/debian/python-cliff-doc/usr/share/doc/python-cliff-doc/html dh_sphinxdoc -ppython-cliff-doc endif + override_dh_installexamples: dh_installexamples find $(CURDIR)/debian/python-cliff-doc -iname '*.pyc' -delete +override_dh_python2: + dh_python2 -ppython-cliff + override_dh_python3: dh_python3 -ppython3-cliff @@ -39,4 +36,6 @@ override_dh_compress: dh_compress -i -X.rst -X.js -X.html -X.txt -X.py override_dh_auto_test: - echo "Do nothing..." +ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS))) + pkgos-dh_auto_test +endif
  5. Download patch doc/source/install/index.rst

    --- 2.14.1-2/doc/source/install/index.rst 2018-12-20 19:51:11.000000000 +0000 +++ 2.15.0-0ubuntu1/doc/source/install/index.rst 2019-06-13 19:32:28.000000000 +0000 @@ -33,7 +33,7 @@ or:: Source Code =========== -The source is hosted on github: https://git.openstack.org/cgit/openstack/cliff +The source is hosted on OpenDev: https://opendev.org/openstack/cliff Reporting Bugs ==============
  6. Download patch MANIFEST.in

    --- 2.14.1-2/MANIFEST.in 2018-12-20 19:51:11.000000000 +0000 +++ 2.15.0-0ubuntu1/MANIFEST.in 1970-01-01 00:00:00.000000000 +0000 @@ -1,6 +0,0 @@ -include setup.py -recursive-include docs *.rst *.py *.html *.css *.js *.png *.txt -recursive-include demoapp *.py -recursive-include tests *.py -include tox.ini -
  7. Download patch .gitreview

    --- 2.14.1-2/.gitreview 2018-12-20 19:51:11.000000000 +0000 +++ 2.15.0-0ubuntu1/.gitreview 1970-01-01 00:00:00.000000000 +0000 @@ -1,4 +0,0 @@ -[gerrit] -host=review.openstack.org -port=29418 -project=openstack/cliff.git
  8. Download patch cliff/_argparse.py

    --- 2.14.1-2/cliff/_argparse.py 2018-12-20 19:51:11.000000000 +0000 +++ 2.15.0-0ubuntu1/cliff/_argparse.py 2019-06-13 19:32:28.000000000 +0000 @@ -14,11 +14,14 @@ from __future__ import absolute_import from argparse import * # noqa +import argparse import sys +import warnings -if sys.version_info < (3, 5): - class ArgumentParser(ArgumentParser): # noqa +class ArgumentParser(argparse.ArgumentParser): + + if sys.version_info < (3, 5): def __init__(self, *args, **kwargs): self.allow_abbrev = kwargs.pop("allow_abbrev", True) super(ArgumentParser, self).__init__(*args, **kwargs) @@ -28,3 +31,76 @@ if sys.version_info < (3, 5): return super(ArgumentParser, self)._get_option_tuples( option_string) return () + + # NOTE(dhellmann): We have to override the methods for creating + # groups to return our objects that know how to deal with the + # special conflict handler. + + def add_argument_group(self, *args, **kwargs): + group = _ArgumentGroup(self, *args, **kwargs) + self._action_groups.append(group) + return group + + def add_mutually_exclusive_group(self, **kwargs): + group = _MutuallyExclusiveGroup(self, **kwargs) + self._mutually_exclusive_groups.append(group) + return group + + def _handle_conflict_ignore(self, action, conflicting_actions): + _handle_conflict_ignore( + self, + self._option_string_actions, + action, + conflicting_actions, + ) + + +def _handle_conflict_ignore(container, option_string_actions, + new_action, conflicting_actions): + + # Remember the option strings the new action starts with so we can + # restore them as part of error reporting if we need to. + original_option_strings = new_action.option_strings + + # Remove all of the conflicting option strings from the new action + # and report an error if none are left at the end. + for option_string, action in conflicting_actions: + + # remove the conflicting option from the new action + new_action.option_strings.remove(option_string) + warnings.warn( + ('Ignoring option string {} for new action ' + 'because it conflicts with an existing option.').format( + option_string)) + + # if the option now has no option string, remove it from the + # container holding it + if not new_action.option_strings: + new_action.option_strings = original_option_strings + raise argparse.ArgumentError( + new_action, + ('Cannot resolve conflicting option string, ' + 'all names conflict.'), + ) + + +class _ArgumentGroup(argparse._ArgumentGroup): + + def _handle_conflict_ignore(self, action, conflicting_actions): + _handle_conflict_ignore( + self, + self._option_string_actions, + action, + conflicting_actions, + ) + + +class _MutuallyExclusiveGroup(argparse._MutuallyExclusiveGroup): + + def _handle_conflict_ignore(self, action, conflicting_actions): + _handle_conflict_ignore( + self, + self._option_string_actions, + action, + conflicting_actions, + )
  9. Download patch debian/control

    --- 2.14.1-2/debian/control 2019-07-17 03:08:04.000000000 +0000 +++ 2.15.0-0ubuntu1/debian/control 2019-07-30 19:28:14.000000000 +0000 @@ -1,7 +1,8 @@ Source: python-cliff Section: python Priority: optional -Maintainer: Debian OpenStack <team+openstack@tracker.debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Debian OpenStack <openstack-devel@lists.alioth.debian.org> Uploaders: Jan Dittberner <jandd@debian.org>, Thomas Goirand <zigo@debian.org>, @@ -9,30 +10,81 @@ Build-Depends: debhelper (>= 10), dh-python, openstack-pkg-tools, + python-all, + python-pbr (>= 2.0.0), + python-setuptools, python3-all, - python3-pbr, + python3-pbr (>= 2.0.0), python3-setuptools, - python3-sphinx, + python3-sphinx (>= 1.6.2), Build-Depends-Indep: + python-bandit (>= 1.1.0), + python-cmd2, + python-coverage (>= 4.0), + python-docutils, + python-mock (>= 2.0.0), + python-prettytable (>= 0.7.2), + python-pyparsing (>= 2.1.0), + python-six (>= 1.10.0), + python-stestr, + python-stevedore (>= 1:1.20.0), + python-subunit (>= 1.0.0), + python-testrepository (>= 0.0.18), + python-testscenarios (>= 0.4), + python-testtools (>= 2.2.0), + python-unicodecsv (>= 0.8.0), + python-yaml (>= 3.12), + python3-bandit (>= 1.1.0), python3-cmd2, - python3-coverage, + python3-coverage (>= 4.0), python3-docutils, - python3-mock, - python3-openstackdocstheme, - python3-prettytable, - python3-pyparsing, - python3-six, + python3-mock (>= 2.0.0), + python3-openstackdocstheme (>= 1.18.1), + python3-prettytable (>= 0.7.2), + python3-pyparsing (>= 2.1.0), + python3-six (>= 1.10.0), python3-stestr, - python3-stevedore (>= 1.30.1), - python3-testscenarios, - python3-testtools, - python3-yaml, -Standards-Version: 4.3.0 -Vcs-Browser: https://salsa.debian.org/openstack-team/python/python-cliff -Vcs-Git: https://salsa.debian.org/openstack-team/python/python-cliff.git + python3-stevedore (>= 1:1.20.0), + python3-subunit (>= 1.0.0), + python3-testrepository (>= 0.0.18), + python3-testscenarios (>= 0.4), + python3-testtools (>= 2.2.0), + python3-unicodecsv (>= 0.8.0), + python3-yaml (>= 3.12), +Standards-Version: 4.1.3 +Vcs-Browser: https://git.launchpad.net/~ubuntu-server-dev/ubuntu/+source/python-cliff +Vcs-Git: git://git.launchpad.net/~ubuntu-server-dev/ubuntu/+source/python-cliff Homepage: https://github.com/dreamhost/cliff Testsuite: autopkgtest-pkg-python +Package: python-cliff +Architecture: all +Depends: + python-cmd2, + python-docutils, + python-pbr (>= 2.0.0), + python-prettytable (>= 0.7.2), + python-pyparsing (>= 2.1.0), + python-six (>= 1.10.0), + python-stevedore (>= 1:1.20.0), + python-unicodecsv (>= 0.8.0), + python-yaml (>= 3.12), + ${misc:Depends}, + ${python:Depends}, +Recommends: + ${python:Recommends}, +Suggests: + python-cliff-doc, +Description: command line interface formulation framework - Python 2.x + Cliff is a framework for building command line programs. It uses plugins to + define sub-commands, output formatters, and other extensions. + . + The cliff framework is meant to be used to create multi-level commands such as + Subversion and git, where the main program handles some basic argument parsing + and then invokes a sub-command to do the work. + . + This package provides the Python 2.x module. + Package: python-cliff-doc Architecture: all Section: doc @@ -55,12 +107,13 @@ Architecture: all Depends: python3-cmd2, python3-docutils, - python3-pbr, - python3-prettytable, - python3-pyparsing, - python3-six, - python3-stevedore (>= 1.30.1), - python3-unicodecsv, + python3-pbr (>= 2.0.0), + python3-prettytable (>= 0.7.2), + python3-pyparsing (>= 2.1.0), + python3-six (>= 1.10.0), + python3-stevedore (>= 1:1.20.0), + python3-unicodecsv (>= 0.8.0), + python3-yaml (>= 3.12), ${misc:Depends}, ${python3:Depends}, Recommends:
  10. Download patch cliff.egg-info/requires.txt

    --- 2.14.1-2/cliff.egg-info/requires.txt 1970-01-01 00:00:00.000000000 +0000 +++ 2.15.0-0ubuntu1/cliff.egg-info/requires.txt 2019-06-13 19:34:45.000000000 +0000 @@ -0,0 +1,13 @@ +pbr!=2.1.0,>=2.0.0 +PrettyTable<0.8,>=0.7.2 +pyparsing>=2.1.0 +six>=1.10.0 +stevedore>=1.20.0 +PyYAML>=3.12 + +[:(python_version<'3.0')] +cmd2!=0.8.3,<0.9.0 +unicodecsv>=0.8.0 + +[:(python_version>='3.0')] +cmd2!=0.8.3
  11. Download patch ChangeLog
  12. Download patch tox.ini

    --- 2.14.1-2/tox.ini 2018-12-20 19:51:11.000000000 +0000 +++ 2.15.0-0ubuntu1/tox.ini 2019-06-13 19:32:28.000000000 +0000 @@ -1,6 +1,6 @@ [tox] minversion = 2.0 -envlist = py35,py27,pep8 +envlist = py36,py27,pep8 [testenv] setenv = @@ -16,7 +16,7 @@ commands = python setup.py test --coverage --coverage-package-name=cliff --slowest --testr-args='{posargs}' coverage report --show-missing deps = - -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} + -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/upper-constraints.txt} -r{toxinidir}/test-requirements.txt -r{toxinidir}/requirements.txt
  13. Download patch cliff.egg-info/dependency_links.txt

    --- 2.14.1-2/cliff.egg-info/dependency_links.txt 1970-01-01 00:00:00.000000000 +0000 +++ 2.15.0-0ubuntu1/cliff.egg-info/dependency_links.txt 2019-06-13 19:34:45.000000000 +0000 @@ -0,0 +1 @@ +
  14. Download patch .gitignore

    --- 2.14.1-2/.gitignore 2018-12-20 19:51:11.000000000 +0000 +++ 2.15.0-0ubuntu1/.gitignore 1970-01-01 00:00:00.000000000 +0000 @@ -1,43 +0,0 @@ -*.py[co] - -# Packages -*.egg* -dist -build -eggs -parts -bin -var -sdist -develop-eggs -.installed.cfg -.venv - -# Installer logs -pip-log.txt - -# Unit test / coverage reports -.coverage -.tox - -#Translations -*.mo - -#Mr Developer -.mr.developer.cfg - -#sample output -*.log -*.log.* - -# pbr output -AUTHORS -ChangeLog - -# Editors -*~ -.*.swp -/.stestr/ -/.testrepository/ -/cover/ -.coverage.*
  15. Download patch debian/python3-cliff.install

    --- 2.14.1-2/debian/python3-cliff.install 2019-07-17 03:08:04.000000000 +0000 +++ 2.15.0-0ubuntu1/debian/python3-cliff.install 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -/usr
  16. Download patch cliff.egg-info/entry_points.txt

    --- 2.14.1-2/cliff.egg-info/entry_points.txt 1970-01-01 00:00:00.000000000 +0000 +++ 2.15.0-0ubuntu1/cliff.egg-info/entry_points.txt 2019-06-13 19:34:45.000000000 +0000 @@ -0,0 +1,32 @@ +[cliff.demo] +error = cliffdemo.simple:Error +file = cliffdemo.show:File +files = cliffdemo.list:Files +hooked = cliffdemo.hook:Hooked +list files = cliffdemo.list:Files +show file = cliffdemo.show:File +simple = cliffdemo.simple:Simple +two_part = cliffdemo.simple:Simple +unicode = cliffdemo.encoding:Encoding + +[cliff.demo.hooked] +sample-hook = cliffdemo.hook:Hook + +[cliff.formatter.completion] +bash = cliff.complete:CompleteBash +none = cliff.complete:CompleteNoCode + +[cliff.formatter.list] +csv = cliff.formatters.commaseparated:CSVLister +json = cliff.formatters.json_format:JSONFormatter +table = cliff.formatters.table:TableFormatter +value = cliff.formatters.value:ValueFormatter +yaml = cliff.formatters.yaml_format:YAMLFormatter + +[cliff.formatter.show] +json = cliff.formatters.json_format:JSONFormatter +shell = cliff.formatters.shell:ShellFormatter +table = cliff.formatters.table:TableFormatter +value = cliff.formatters.value:ValueFormatter +yaml = cliff.formatters.yaml_format:YAMLFormatter +
  17. Download patch cliff.egg-info/not-zip-safe

    --- 2.14.1-2/cliff.egg-info/not-zip-safe 1970-01-01 00:00:00.000000000 +0000 +++ 2.15.0-0ubuntu1/cliff.egg-info/not-zip-safe 2019-06-13 19:34:45.000000000 +0000 @@ -0,0 +1 @@ +
  18. Download patch debian/watch

    --- 2.14.1-2/debian/watch 2019-07-17 03:08:04.000000000 +0000 +++ 2.15.0-0ubuntu1/debian/watch 2019-07-30 19:28:14.000000000 +0000 @@ -1,3 +1,3 @@ version=3 -opts="uversionmangle=s/\.(b|rc)/~$1/" \ -https://github.com/openstack/cliff/tags .*/(\d[\d\.]+)\.tar\.gz +opts=uversionmangle=s/(rc|a|b|c)/~$1/ \ +http://pypi.debian.net/cliff/cliff-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
  19. Download patch setup.cfg

    --- 2.14.1-2/setup.cfg 2018-12-20 19:51:11.000000000 +0000 +++ 2.15.0-0ubuntu1/setup.cfg 2019-06-13 19:34:45.000000000 +0000 @@ -2,57 +2,52 @@ name = cliff description-file = README.rst author = OpenStack -author-email = openstack-dev@lists.openstack.org +author-email = openstack-discuss@lists.openstack.org summary = Command Line Interface Formulation Framework home-page = https://docs.openstack.org/cliff/latest/ -classifier = - Development Status :: 5 - Production/Stable - License :: OSI Approved :: Apache Software License - Programming Language :: Python - Programming Language :: Python :: 2 - Programming Language :: Python :: 2.7 - Programming Language :: Python :: 3 - Programming Language :: Python :: 3.5 - Intended Audience :: Developers - Environment :: Console +classifier = + Development Status :: 5 - Production/Stable + License :: OSI Approved :: Apache Software License + Programming Language :: Python + Programming Language :: Python :: 2 + Programming Language :: Python :: 2.7 + Programming Language :: Python :: 3 + Programming Language :: Python :: 3.6 + Intended Audience :: Developers + Environment :: Console [files] -packages = - cliff +packages = + cliff [entry_points] -cliff.formatter.list = - table = cliff.formatters.table:TableFormatter - csv = cliff.formatters.commaseparated:CSVLister - value = cliff.formatters.value:ValueFormatter - yaml = cliff.formatters.yaml_format:YAMLFormatter - json = cliff.formatters.json_format:JSONFormatter - -cliff.formatter.show = - table = cliff.formatters.table:TableFormatter - shell = cliff.formatters.shell:ShellFormatter - value = cliff.formatters.value:ValueFormatter - yaml = cliff.formatters.yaml_format:YAMLFormatter - json = cliff.formatters.json_format:JSONFormatter - -cliff.formatter.completion = - bash = cliff.complete:CompleteBash - none = cliff.complete:CompleteNoCode - -# NOTE(dhellmann): Duplicated from demoapp/setup.py for the -# documentation build. -cliff.demo = - simple = cliffdemo.simple:Simple - two_part = cliffdemo.simple:Simple - error = cliffdemo.simple:Error - list files = cliffdemo.list:Files - files = cliffdemo.list:Files - file = cliffdemo.show:File - show file = cliffdemo.show:File - unicode = cliffdemo.encoding:Encoding - hooked = cliffdemo.hook:Hooked -cliff.demo.hooked = - sample-hook = cliffdemo.hook:Hook +cliff.formatter.list = + table = cliff.formatters.table:TableFormatter + csv = cliff.formatters.commaseparated:CSVLister + value = cliff.formatters.value:ValueFormatter + yaml = cliff.formatters.yaml_format:YAMLFormatter + json = cliff.formatters.json_format:JSONFormatter +cliff.formatter.show = + table = cliff.formatters.table:TableFormatter + shell = cliff.formatters.shell:ShellFormatter + value = cliff.formatters.value:ValueFormatter + yaml = cliff.formatters.yaml_format:YAMLFormatter + json = cliff.formatters.json_format:JSONFormatter +cliff.formatter.completion = + bash = cliff.complete:CompleteBash + none = cliff.complete:CompleteNoCode +cliff.demo = + simple = cliffdemo.simple:Simple + two_part = cliffdemo.simple:Simple + error = cliffdemo.simple:Error + list files = cliffdemo.list:Files + files = cliffdemo.list:Files + file = cliffdemo.show:File + show file = cliffdemo.show:File + unicode = cliffdemo.encoding:Encoding + hooked = cliffdemo.hook:Hooked +cliff.demo.hooked = + sample-hook = cliffdemo.hook:Hook [bdist_wheel] universal = 1 @@ -62,3 +57,8 @@ all-files = 1 warning-is-error = 1 build-dir = doc/build source-dir = doc/source + +[egg_info] +tag_build = +tag_date = 0 +
  20. Download patch cliff.egg-info/top_level.txt

    --- 2.14.1-2/cliff.egg-info/top_level.txt 1970-01-01 00:00:00.000000000 +0000 +++ 2.15.0-0ubuntu1/cliff.egg-info/top_level.txt 2019-06-13 19:34:45.000000000 +0000 @@ -0,0 +1 @@ +cliff
  21. Download patch cliff.egg-info/PKG-INFO

    --- 2.14.1-2/cliff.egg-info/PKG-INFO 1970-01-01 00:00:00.000000000 +0000 +++ 2.15.0-0ubuntu1/cliff.egg-info/PKG-INFO 2019-06-13 19:34:45.000000000 +0000 @@ -0,0 +1,43 @@ +Metadata-Version: 1.1 +Name: cliff +Version: 2.15.0 +Summary: Command Line Interface Formulation Framework +Home-page: https://docs.openstack.org/cliff/latest/ +Author: OpenStack +Author-email: openstack-discuss@lists.openstack.org +License: UNKNOWN +Description: ======================== + Team and repository tags + ======================== + + .. image:: https://governance.openstack.org/tc/badges/cliff.svg + :target: https://governance.openstack.org/tc/reference/tags/index.html + + .. Change things from this point on + + ======================================================= + cliff -- Command Line Interface Formulation Framework + ======================================================= + + cliff is a framework for building command line programs. It uses + `setuptools entry points`_ to provide subcommands, output formatters, and + other extensions. + + .. _setuptools entry points: http://setuptools.readthedocs.io/en/latest/pkg_resources.html#convenience-api + + * Free software: Apache license + * Documentation: https://docs.openstack.org/cliff/latest/ + * Source: https://opendev.org/openstack/cliff + * Bugs: https://bugs.launchpad.net/python-cliff + + +Platform: UNKNOWN +Classifier: Development Status :: 5 - Production/Stable +Classifier: License :: OSI Approved :: Apache Software License +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
  22. Download patch cliff/command.py

    --- 2.14.1-2/cliff/command.py 2018-12-20 19:51:11.000000000 +0000 +++ 2.15.0-0ubuntu1/cliff/command.py 2019-06-13 19:32:28.000000000 +0000 @@ -156,6 +156,7 @@ class Command(object): epilog=self.get_epilog(), prog=prog_name, formatter_class=_SmartHelpFormatter, + conflict_handler='ignore', ) for hook in self._hooks: hook.obj.get_parser(parser)
  23. Download patch doc/Makefile

    --- 2.14.1-2/doc/Makefile 2018-12-20 19:51:11.000000000 +0000 +++ 2.15.0-0ubuntu1/doc/Makefile 1970-01-01 00:00:00.000000000 +0000 @@ -1,153 +0,0 @@ -# Makefile for Sphinx documentation -# - -# You can set these variables from the command line. -SPHINXOPTS = -SPHINXBUILD = sphinx-build -PAPER = -BUILDDIR = build - -# Internal variables. -PAPEROPT_a4 = -D latex_paper_size=a4 -PAPEROPT_letter = -D latex_paper_size=letter -ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source -# the i18n builder cannot share the environment and doctrees with the others -I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source - -.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext - -help: - @echo "Please use \`make <target>' where <target> is one of" - @echo " html to make standalone HTML files" - @echo " dirhtml to make HTML files named index.html in directories" - @echo " singlehtml to make a single large HTML file" - @echo " pickle to make pickle files" - @echo " json to make JSON files" - @echo " htmlhelp to make HTML files and a HTML help project" - @echo " qthelp to make HTML files and a qthelp project" - @echo " devhelp to make HTML files and a Devhelp project" - @echo " epub to make an epub" - @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter" - @echo " latexpdf to make LaTeX files and run them through pdflatex" - @echo " text to make text files" - @echo " man to make manual pages" - @echo " texinfo to make Texinfo files" - @echo " info to make Texinfo files and run them through makeinfo" - @echo " gettext to make PO message catalogs" - @echo " changes to make an overview of all changed/added/deprecated items" - @echo " linkcheck to check all external links for integrity" - @echo " doctest to run all doctests embedded in the documentation (if enabled)" - -clean: - -rm -rf $(BUILDDIR)/* - -html: - $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html - @echo - @echo "Build finished. The HTML pages are in $(BUILDDIR)/html." - -dirhtml: - $(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml - @echo - @echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml." - -singlehtml: - $(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml - @echo - @echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml." - -pickle: - $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle - @echo - @echo "Build finished; now you can process the pickle files." - -json: - $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json - @echo - @echo "Build finished; now you can process the JSON files." - -htmlhelp: - $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp - @echo - @echo "Build finished; now you can run HTML Help Workshop with the" \ - ".hhp project file in $(BUILDDIR)/htmlhelp." - -qthelp: - $(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp - @echo - @echo "Build finished; now you can run "qcollectiongenerator" with the" \ - ".qhcp project file in $(BUILDDIR)/qthelp, like this:" - @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/cliff.qhcp" - @echo "To view the help file:" - @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/cliff.qhc" - -devhelp: - $(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp - @echo - @echo "Build finished." - @echo "To view the help file:" - @echo "# mkdir -p $$HOME/.local/share/devhelp/cliff" - @echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/cliff" - @echo "# devhelp" - -epub: - $(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub - @echo - @echo "Build finished. The epub file is in $(BUILDDIR)/epub." - -latex: - $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex - @echo - @echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex." - @echo "Run \`make' in that directory to run these through (pdf)latex" \ - "(use \`make latexpdf' here to do that automatically)." - -latexpdf: - $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex - @echo "Running LaTeX files through pdflatex..." - $(MAKE) -C $(BUILDDIR)/latex all-pdf - @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex." - -text: - $(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text - @echo - @echo "Build finished. The text files are in $(BUILDDIR)/text." - -man: - $(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man - @echo - @echo "Build finished. The manual pages are in $(BUILDDIR)/man." - -texinfo: - $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo - @echo - @echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo." - @echo "Run \`make' in that directory to run these through makeinfo" \ - "(use \`make info' here to do that automatically)." - -info: - $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo - @echo "Running Texinfo files through makeinfo..." - make -C $(BUILDDIR)/texinfo info - @echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo." - -gettext: - $(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale - @echo - @echo "Build finished. The message catalogs are in $(BUILDDIR)/locale." - -changes: - $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes - @echo - @echo "The overview file is in $(BUILDDIR)/changes." - -linkcheck: - $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck - @echo - @echo "Link check complete; look for any errors in the above output " \ - "or in $(BUILDDIR)/linkcheck/output.txt." - -doctest: - $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest - @echo "Testing of doctests in the sources finished, look at the " \ - "results in $(BUILDDIR)/doctest/output.txt."
  24. Download patch Makefile

    --- 2.14.1-2/Makefile 2018-12-20 19:51:11.000000000 +0000 +++ 2.15.0-0ubuntu1/Makefile 1970-01-01 00:00:00.000000000 +0000 @@ -1,21 +0,0 @@ -help: - @echo "release - package and upload a release" - @echo "sdist - package" - @echo "docs - generate HTML documentation" - @echo "clean - remove build artifacts" - -release: docs - rm -rf dist build - python setup.py sdist upload - -sdist: docs - python setup.py sdist - ls -l dist - -clean: - rm -rf dist build *.egg-info - (cd doc && make clean) - -.PHONY: docs -docs: - (cd doc && make clean html)
  25. Download patch cliff.egg-info/pbr.json

    --- 2.14.1-2/cliff.egg-info/pbr.json 1970-01-01 00:00:00.000000000 +0000 +++ 2.15.0-0ubuntu1/cliff.egg-info/pbr.json 2019-06-13 19:34:45.000000000 +0000 @@ -0,0 +1 @@ +{"git_version": "b39b327", "is_release": true} \ No newline at end of file
  26. Download patch AUTHORS

    --- 2.14.1-2/AUTHORS 1970-01-01 00:00:00.000000000 +0000 +++ 2.15.0-0ubuntu1/AUTHORS 2019-06-13 19:34:45.000000000 +0000 @@ -0,0 +1,96 @@ +Akihiro Motoki <amotoki@gmail.com> +Alessandro Pilotti <apilotti@cloudbasesolutions.com> +Andrea Frittoli <andrea.frittoli@hp.com> +Andreas Jaeger <aj@suse.com> +Andreas Jaeger <aj@suse.de> +Andrew Spiers <andrew@andrewspiers.net> +Atsushi SAKAI <sakaia@jp.fujitsu.com> +Brano Zarnovican <zarnovican@gmail.com> +Cao Xuan Hoang <hoangcx@vn.fujitsu.com> +Cedric Brandily <zzelle@gmail.com> +ChangBo Guo(gcb) <eric.guo@easystack.cn> +Christian Berendt <berendt@b1-systems.de> +Christophe CHAUVET <christophe.chauvet@gmail.com> +Clint Byrum <clint@fewbar.com> +Corey Bryant <corey.bryant@canonical.com> +Dan Kirkwood <dangogh@gmail.com> +Dean Troyer <dtroyer@gmail.com> +Derek Higgins <derekh@redhat.com> +Dirk Mueller <dirk@dmllr.de> +Dirk Mueller <dirk@dmllr> +Doug Hellmann <doug.hellmann@dreamhost.com> +Doug Hellmann <doug.hellmann@gmail.com> +Doug Hellmann <doug@doughellmann.com> +Duncan McGreggor <duncan@dreamhost.com> +Eyal Posener <eyal@stratoscale.com> +Feodor Tersin <ftersin@cloudscaling.com> +Flavio Percoco <flaper87@gmail.com> +Ghanshyam Mann <gmann@ghanshyammann.com> +Hongbin Lu <hongbin.lu@huawei.com> +Ilya Shakhat <ishakhat@mirantis.com> +James Downs <egon@egon.cc> +James E. Blair <jeblair@redhat.com> +Jamie Lennox <jamielennox@redhat.com> +Jaspreet Singh Rawel <jaspreetsinghrawel@gmail.com> +Jeremy Stanley <fungi@yuggoth.org> +Joe Server <jserver@broadway.com> +John Dennis <jdennis@redhat.com> +Jonathan LaCour <jonathan@cleverdevil.org> +Juan Antonio Osorio Robles <jaosorior@redhat.com> +Julien Danjou <julien@danjou.info> +KATO Tomoyuki <kato.tomoyuki@jp.fujitsu.com> +Ken'ichi Ohmichi <ken-oomichi@wx.jp.nec.com> +Kien Nguyen <kiennt@vn.fujitsu.com> +Maciej Kwiek <mkwiek@mirantis.com> +Mark McClain <mark.mcclain@dreamhost.com> +Masayuki Igawa <masayuki.igawa@gmail.com> +Masayuki Igawa <masayuki@igawa.io> +Matt Joyce <matt.joyce@cloudscaling.com> +Matthew Edmonds <edmondsw@us.ibm.com> +Matthew Thode <mthode@mthode.org> +Michael Davies <michael@the-davies.net> +Monty Taylor <mordred@inaugust.com> +Neil Borle <neil.borle@emc.com> +Nguyen Hung Phuong <phuongnh@vn.fujitsu.com> +Nicola Soranzo <nicola.soranzo@earlham.ac.uk> +Pierre-André MOREY <kick@mifamofi.net> +Qiu Yu <qiuyu@ebaysf.com> +Rajath Agasthya <rajathagasthya@gmail.com> +Ricardo Kirkner <ricardo@kirkner.com.ar> +Rui Chen <chenrui.momo@gmail.com> +Ruslan Aliev <raliev@mirantis.com> +Ryan Petrello <lists@ryanpetrello.com> +Ryan Selden <ryanx.seldon@intel.com> +Sascha Peilicke <saschpe@gmx.de> +Sean Perry <sean.perry@hp.com> +Sorin Sbarnea <ssbarnea@redhat.com> +Stephen Finucane <sfinucan@redhat.com> +Steve Baker <sbaker@redhat.com> +Steve Martinelli <s.martinelli@gmail.com> +Terry Howe <terrylhowe@gmail.com> +TerryHowe <terrylhowe@gmail.com> +Thomas Bechtold <tbechtold@suse.com> +Thomas Herve <therve@redhat.com> +Tomaz Muraus <tomaz@tomaz.me> +Tony Breeds <tony@bakeyournoodle.com> +Tony Xu <hhktony@gmail.com> +Vincent Legoll <vincent.legoll@idgrilles.fr> +Vitalii Kulanov <vitaliy@kulanov.org.ua> +Yalei Wang <yalei.wang@intel.com> +Yossi Ovadia <yossi.ovadia@nokia.com> +Yushiro FURUKAWA <y.furukawa_2@jp.fujitsu.com> +ZhongShengping <chdzsp@163.com> +caoyue <yue.cao@easystack.cn> +dineshbhor <dinesh.bhor@nttdata.com> +gcmalloc <gcmalloc@gmail.com> +gengchc2 <geng.changcai2@zte.com.cn> +heavenshell <heavenshell.jp@gmail.com> +howardlee <lihongweibj@inspur.com> +kafka <guowang@unitedstack.com> +lingyongxu <lyxu@fiberhome.com> +liyingjun <yingjun.li@kylin-cloud.com> +markmcclain <mark@four-m.org> +melissaml <ma.lei@99cloud.net> +qingszhao <zhao.daqing@99cloud.net> +qneill <quentin.neill@gmail.com> +shizhihui <zhihui.shi@easystack.cn>
  27. Download patch .zuul.yaml

    --- 2.14.1-2/.zuul.yaml 2018-12-20 19:51:11.000000000 +0000 +++ 2.15.0-0ubuntu1/.zuul.yaml 2019-06-13 19:32:28.000000000 +0000 @@ -17,7 +17,7 @@ vars: # Set work dir to neutronclient so that if it's triggered by one of the # other repos the tests will run in the same place - zuul_work_dir: src/git.openstack.org/openstack/python-neutronclient + zuul_work_dir: src/opendev.org/openstack/python-neutronclient - project: templates: @@ -26,8 +26,8 @@ - lib-forward-testing-python3 - openstack-lower-constraints-jobs - openstack-python-jobs - - openstack-python35-jobs - openstack-python36-jobs + - openstack-python37-jobs - publish-openstack-docs-pti check: jobs:
  28. Download patch debian/gbp.conf

    --- 2.14.1-2/debian/gbp.conf 1970-01-01 00:00:00.000000000 +0000 +++ 2.15.0-0ubuntu1/debian/gbp.conf 2019-07-30 19:28:14.000000000 +0000 @@ -0,0 +1,7 @@ +[DEFAULT] +debian-branch = master +upstream-tag = %(version)s +pristine-tar = True + +[buildpackage] +export-dir = ../build-area
  29. Download patch cliff/formatters/json_format.py

    --- 2.14.1-2/cliff/formatters/json_format.py 2018-12-20 19:51:11.000000000 +0000 +++ 2.15.0-0ubuntu1/cliff/formatters/json_format.py 2019-06-13 19:32:28.000000000 +0000 @@ -52,3 +52,4 @@ class JSONFormatter(base.ListFormatter, } indent = None if parsed_args.noindent else 2 json.dump(one, stdout, indent=indent) + stdout.write('\n')
  30. Download patch cliff/tests/test_command.py

    --- 2.14.1-2/cliff/tests/test_command.py 2018-12-20 19:51:11.000000000 +0000 +++ 2.15.0-0ubuntu1/cliff/tests/test_command.py 2019-06-13 19:32:28.000000000 +0000 @@ -45,7 +45,9 @@ class TestCommand(command.Command): ) parser.add_argument( '-z', - help='used in TestArgumentParser', + dest='zippy', + default='zippy-default', + help='defined in TestCommand and used in TestArgumentParser', ) return parser @@ -141,10 +143,32 @@ class TestArgumentParser(base.TestBase): cmd = TestCommand(None, None) parser = cmd.get_parser('NAME') # We should have an exception registering an option with a - # name that already exists because we do not want commands to - # override global options. + # name that already exists because we configure the argument + # parser to ignore conflicts but this option has no other name + # to be used. self.assertRaises( argparse.ArgumentError, parser.add_argument, '-z', ) + + def test_option_name_collision_with_alias(self): + cmd = TestCommand(None, None) + parser = cmd.get_parser('NAME') + # We not should have an exception registering an option with a + # name that already exists because we configure the argument + # parser to ignore conflicts and this option can be added as + # --zero even if the -z is ignored. + parser.add_argument('-z', '--zero') + + def test_resolve_option_with_name_collision(self): + cmd = TestCommand(None, None) + parser = cmd.get_parser('NAME') + parser.add_argument( + '-z', '--zero', + dest='zero', + default='zero-default', + ) + args = parser.parse_args(['-z', 'foo', 'a', 'b']) + self.assertEqual(args.zippy, 'foo') + self.assertEqual(args.zero, 'zero-default')
  1. python-cliff