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: migrate

migrate (0.13.0-0ubuntu1) focal; urgency=medium * d/gbp.conf: Update gbp configuration file. * d/control: Update Vcs-* links and maintainers. * d/watch: Switch to pypi.debian.net as new release is not available from github. * New upstream release. * d/control: Align (Build-)Depends with upstream. * d/p/*: Rebased. * d/test.sh: Drop use of mysql_install_db as it has been dropped in MySQL 8. Use mysqld to initialize instead. -- Corey Bryant <corey.bryant@canonical.com> Fri, 14 Feb 2020 12:50:22 -0500

Modifications :
  1. Download patch PKG-INFO

    --- 0.13.0-1/PKG-INFO 1970-01-01 00:00:00.000000000 +0000 +++ 0.13.0-0ubuntu1/PKG-INFO 2019-10-22 21:15:46.000000000 +0000 @@ -0,0 +1,71 @@ +Metadata-Version: 1.1 +Name: sqlalchemy-migrate +Version: 0.13.0 +Summary: Database schema migration for SQLAlchemy +Home-page: http://www.openstack.org/ +Author: OpenStack +Author-email: openstack-discuss@lists.openstack.org +License: UNKNOWN +Description: SQLAlchemy Migrate + ================== + + Fork from http://code.google.com/p/sqlalchemy-migrate/ to get it working with + SQLAlchemy 0.8. + + Inspired by Ruby on Rails' migrations, Migrate provides a way to deal with + database schema changes in `SQLAlchemy <http://sqlalchemy.org>`_ projects. + + Migrate extends SQLAlchemy to have database changeset handling. It provides a + database change repository mechanism which can be used from the command line as + well as from inside python code. + + Help + ---- + + Sphinx documentation is available at the project page `readthedocs.org + <https://sqlalchemy-migrate.readthedocs.org/>`_. + + Users and developers can be found at #openstack-dev on Freenode IRC + network and at the public users mailing list `migrate-users + <http://groups.google.com/group/migrate-users>`_. + + New releases and major changes are announced at the public announce mailing + list `openstack-dev + <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev>`_ + and at the Python package index `sqlalchemy-migrate + <http://pypi.python.org/pypi/sqlalchemy-migrate>`_. + + Homepage is located at `stackforge + <http://github.com/stackforge/sqlalchemy-migrate/>`_ + + You can also clone a current `development version + <http://github.com/stackforge/sqlalchemy-migrate>`_ + + Tests and Bugs + -------------- + + To run automated tests: + + * install tox: ``pip install -U tox`` + * run tox: ``tox`` + * to test only a specific Python version: ``tox -e py27`` (Python 2.7) + + Please report any issues with sqlalchemy-migrate to the issue tracker at + `Launchpad issues + <https://bugs.launchpad.net/sqlalchemy-migrate>`_ + + +Platform: UNKNOWN +Classifier: Environment :: OpenStack +Classifier: Intended Audience :: Information Technology +Classifier: Intended Audience :: System Administrators +Classifier: License :: OSI Approved :: Apache Software License +Classifier: Operating System :: POSIX :: Linux +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.3 +Classifier: Programming Language :: Python :: 3.4 +Classifier: Programming Language :: Python :: 3.5 +Classifier: Programming Language :: Python :: 3.6
  2. Download patch debian/patches/disable_issuetracker.patch

    --- 0.13.0-1/debian/patches/disable_issuetracker.patch 1970-01-01 00:00:00.000000000 +0000 +++ 0.13.0-0ubuntu1/debian/patches/disable_issuetracker.patch 2020-02-14 17:50:22.000000000 +0000 @@ -0,0 +1,16 @@ +Description: Don't use issuetracker to avoid hitting the network during build +Author: Michael Terry <michael.terry@canonical.com> +Forwarded: not-needed +--- a/doc/source/conf.py ++++ b/doc/source/conf.py +@@ -97,8 +97,8 @@ + # Options for sphinxcontrib.issuetracker + # -------------------------------------- + +-issuetracker = 'google code' +-issuetracker_project = 'sqlalchemy-migrate' ++#issuetracker = 'google code' ++#issuetracker_project = 'sqlalchemy-migrate' + + + # Options for HTML output
  3. Download patch debian/test.sh

    --- 0.13.0-1/debian/test.sh 2020-04-06 14:12:56.000000000 +0000 +++ 0.13.0-0ubuntu1/debian/test.sh 2020-02-14 17:50:22.000000000 +0000 @@ -19,7 +19,7 @@ fi # --force is needed because buildd's can't resolve their own hostnames to ips echo "===> Preparing MySQL temp folder" -mysql_install_db --no-defaults --datadir=${MYTEMP_DIR} ${MYSQL_INSTALL_DB_OPT} --user=${ME} +/usr/sbin/mysqld --no-defaults --datadir=${MYTEMP_DIR} ${MYSQL_INSTALL_DB_OPT} --user=${ME} --initialize chown -R ${ME} ${MYTEMP_DIR} echo "===> Starting MySQL" /usr/sbin/mysqld --no-defaults --skip-grant-tables --user=${ME} --socket=${MYTEMP_DIR}/mysql.sock --datadir=${MYTEMP_DIR} --skip-networking & @@ -50,7 +50,7 @@ echo "===> Doing the unit tests" rm -rf .testrepository testr init TEMP_REZ=`mktemp -t` -PYTHON=python3 testr run --subunit | tee $TEMP_REZ | subunit2pyunit || true +PATH=$PATH:`pwd`/debian/bin PYTHONPATH=. PYTHON=python3 testr run --subunit | tee $TEMP_REZ | subunit2pyunit || true cat $TEMP_REZ | subunit-filter -s --no-passthrough | subunit-stats || true rm -f $TEMP_REZ testr slowest
  4. Download patch debian/rules

    --- 0.13.0-1/debian/rules 2020-04-06 14:12:56.000000000 +0000 +++ 0.13.0-0ubuntu1/debian/rules 2020-02-14 17:50:22.000000000 +0000 @@ -1,6 +1,6 @@ #!/usr/bin/make -f -UPSTREAM_GIT := https://opendev.org/x/sqlalchemy-migrate.git +UPSTREAM_GIT := https://github.com/openstack/sqlalchemy-migrate.git include /usr/share/openstack-pkg-tools/pkgos.make LAST_CHANGE = $(shell dpkg-parsechangelog -S Date) @@ -20,23 +20,11 @@ override_dh_auto_build: echo "Do nothing..." override_dh_auto_install: - pkgos-dh_auto_install --no-py2 --in-tmp -ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS))) - chmod +x debian/test.sh - - PYTHONPATH=$(CURDIR)/debian/python3-gnocchiclient/usr/lib/python3/dist-packages \ - PATH=$(PATH):$(CURDIR)/debian/tmp/usr/bin \ - $(CURDIR)/debian/test.sh - - # Clean everything - rm -rf debian/bin - rm -rf sqlalchemy_migrate-$(VERSION).egg-info -endif - + pkgos-dh_auto_install --no-py2 override_dh_sphinxdoc: ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS))) - PYTHONPATH=$(CURDIR) python3 -m sphinx -b html -a -E -N -D today="$(BUILD_DATE)" doc/source debian/python-migrate-doc/usr/share/doc/python-migrate-doc/html/ + PYTHONPATH=$(CURDIR) sphinx-build -b html -a -E -N -D today="$(BUILD_DATE)" doc/source debian/python-migrate-doc/usr/share/doc/python-migrate-doc/html/ dh_sphinxdoc -O--buildsystem=python_distutils endif @@ -47,7 +35,29 @@ override_dh_compress: dh_compress -i -X.py -X.rst -X.js -Xobjects.inv override_dh_auto_test: - echo "Do nothing..." +ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS))) + chmod +x debian/test.sh + + # Create a working "migrate" binary, so that shell calls continue to + # work even without python-migrate being installed + mkdir -p debian/bin + cp debian/migrate-for-tests debian/bin/migrate + sed -i "s#REPLACE_THIS_PATH#$(CURDIR)#" debian/bin/migrate + + # Create a minimalist egg-info, so that "import migrate" + # works and gets the correct version + mkdir -p sqlalchemy_migrate-$(VERSION).egg-info + echo "Metadata-Version: 1.1" >sqlalchemy_migrate-$(VERSION).egg-info/PKG-INFO + echo "Name: sqlalchemy-migrate" >>sqlalchemy_migrate-$(VERSION).egg-info/PKG-INFO + echo "Version: $(VERSION)" >>sqlalchemy_migrate-$(VERSION).egg-info/PKG-INFO + + # Launch the actual tests + $(CURDIR)/debian/test.sh + + # Clean everything + rm -rf debian/bin + rm -rf sqlalchemy_migrate-$(VERSION).egg-info +endif override_dh_python3: dh_python3 --shebang=/usr/bin/python3
  5. Download patch sqlalchemy_migrate.egg-info/entry_points.txt

    --- 0.13.0-1/sqlalchemy_migrate.egg-info/entry_points.txt 1970-01-01 00:00:00.000000000 +0000 +++ 0.13.0-0ubuntu1/sqlalchemy_migrate.egg-info/entry_points.txt 2019-10-22 21:15:46.000000000 +0000 @@ -0,0 +1,4 @@ +[console_scripts] +migrate = migrate.versioning.shell:main +migrate-repository = migrate.versioning.migrate_repository:main +
  6. Download patch debian/compat

    --- 0.13.0-1/debian/compat 1970-01-01 00:00:00.000000000 +0000 +++ 0.13.0-0ubuntu1/debian/compat 2020-02-14 17:50:22.000000000 +0000 @@ -0,0 +1 @@ +10
  7. Download patch .gitreview

    --- 0.13.0-1/.gitreview 2019-09-17 01:05:19.000000000 +0000 +++ 0.13.0-0ubuntu1/.gitreview 1970-01-01 00:00:00.000000000 +0000 @@ -1,4 +0,0 @@ -[gerrit] -host=review.opendev.org -port=29418 -project=x/sqlalchemy-migrate.git
  8. Download patch debian/control

    --- 0.13.0-1/debian/control 2020-04-06 14:12:56.000000000 +0000 +++ 0.13.0-0ubuntu1/debian/control 2020-02-14 17:50:22.000000000 +0000 @@ -1,42 +1,43 @@ Source: migrate 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 <team+openstack@tracker.debian.org> Uploaders: Thomas Goirand <zigo@debian.org>, Jan Dittberner <jandd@debian.org>, Build-Depends: - debhelper-compat (= 10), + debhelper (>= 10), dh-python, openstack-pkg-tools, + python3-sphinx (>= 1.1.2), python3-all, - python3-pbr, + python3-pbr (>= 1.8), python3-setuptools, - python3-sphinx, Build-Depends-Indep: default-mysql-client | mysql-client, default-mysql-server | mysql-server, python3-coverage, python3-decorator, python3-feedparser, - python3-fixtures, - python3-mock, + python3-fixtures (>= 0.3.14), + python3-mock (>= 1.2), python3-mysqldb, python3-psycopg2, python3-scripttest, - python3-six, - python3-sqlalchemy, + python3-six (>= 1.7.0), + python3-sqlalchemy (>= 0.9.6), python3-sqlparse, - python3-subunit, - python3-tempita, - python3-testtools, - python3-tz, + python3-subunit (>= 0.0.18), + python3-tempita (>= 0.4), + python3-testtools (>= 0.9.34), + python3-tz (>= 2010h), subunit, testrepository, -Standards-Version: 4.5.0 -Vcs-Git: https://salsa.debian.org/openstack-team/libs/migrate.git -Vcs-Browser: https://salsa.debian.org/openstack-team/libs/migrate -Homepage: https://opendev.org/x/sqlalchemy-migrate.git +Standards-Version: 4.3.0 +Homepage: https://github.com/openstack/sqlalchemy-migrate +Vcs-Git: https://git.launchpad.net/~ubuntu-server-dev/ubuntu/+source/migrate +Vcs-Browser: https://git.launchpad.net/~ubuntu-server-dev/ubuntu/+source/migrate Package: python-migrate-doc Section: doc @@ -66,11 +67,11 @@ Package: python3-migrate Architecture: all Depends: python3-decorator, - python3-pbr, - python3-six, - python3-sqlalchemy, + python3-pbr (>= 1.8), + python3-six (>= 1.7.0), + python3-sqlalchemy (>= 0.9.6), python3-sqlparse, - python3-tempita, + python3-tempita (>= 0.4), ${misc:Depends}, ${python3:Depends}, Suggests:
  9. Download patch sqlalchemy_migrate.egg-info/not-zip-safe

    --- 0.13.0-1/sqlalchemy_migrate.egg-info/not-zip-safe 1970-01-01 00:00:00.000000000 +0000 +++ 0.13.0-0ubuntu1/sqlalchemy_migrate.egg-info/not-zip-safe 2019-10-22 21:15:46.000000000 +0000 @@ -0,0 +1 @@ +
  10. Download patch ChangeLog
  11. Download patch debian/patches/use-local-intersphinx.patch

    --- 0.13.0-1/debian/patches/use-local-intersphinx.patch 2020-04-06 14:12:56.000000000 +0000 +++ 0.13.0-0ubuntu1/debian/patches/use-local-intersphinx.patch 2020-02-14 17:50:22.000000000 +0000 @@ -2,7 +2,7 @@ Subject: use local objects.inv for inter Author: Jan Dittberner <jandd@debian.org> --- a/doc/source/conf.py +++ b/doc/source/conf.py -@@ -32,8 +32,7 @@ +@@ -33,8 +33,7 @@ # link to sqlalchemy docs intersphinx_mapping = {
  12. Download patch .gitignore

    --- 0.13.0-1/.gitignore 2019-09-17 01:05:19.000000000 +0000 +++ 0.13.0-0ubuntu1/.gitignore 1970-01-01 00:00:00.000000000 +0000 @@ -1,24 +0,0 @@ -.eggs/ -AUTHORS -ChangeLog -.tox -.testrepository/ -*.pyc -*data/* -*build/* -*dist/* -*ez_setup.py -*.egg/* -*egg-info/* -*bin/* -*include/* -*lib/* -lib64 -sa06/* -.idea/* -.coverage -test_db.cfg -nosexcover -.ropeproject -.*.swp -docs/_static
  13. Download patch sqlalchemy_migrate.egg-info/top_level.txt

    --- 0.13.0-1/sqlalchemy_migrate.egg-info/top_level.txt 1970-01-01 00:00:00.000000000 +0000 +++ 0.13.0-0ubuntu1/sqlalchemy_migrate.egg-info/top_level.txt 2019-10-22 21:15:46.000000000 +0000 @@ -0,0 +1 @@ +migrate
  14. Download patch sqlalchemy_migrate.egg-info/SOURCES.txt

    --- 0.13.0-1/sqlalchemy_migrate.egg-info/SOURCES.txt 1970-01-01 00:00:00.000000000 +0000 +++ 0.13.0-0ubuntu1/sqlalchemy_migrate.egg-info/SOURCES.txt 2019-10-22 21:15:46.000000000 +0000 @@ -0,0 +1,136 @@ +.testr.conf +.zuul.yaml +AUTHORS +COPYING +ChangeLog +MANIFEST.in +README.rst +TODO +bindep.txt +doc-requirements.txt +requirements.txt +setup.cfg +setup.py +test-requirements.txt +test_db.cfg +test_db_py3.cfg +tox.ini +doc/requirements.txt +doc/source/Makefile +doc/source/api.rst +doc/source/changelog.rst +doc/source/changeset.rst +doc/source/conf.py +doc/source/credits.rst +doc/source/download.rst +doc/source/faq.rst +doc/source/glossary.rst +doc/source/index.rst +doc/source/tools.rst +doc/source/versioning.rst +doc/source/historical/ProjectDesignDecisionsAutomation.trac +doc/source/historical/ProjectDesignDecisionsScriptFormat.trac +doc/source/historical/ProjectDesignDecisionsVersioning.trac +doc/source/historical/ProjectDetailedDesign.trac +doc/source/historical/ProjectGoals.trac +doc/source/historical/ProjectProposal.txt +doc/source/historical/RepositoryFormat.trac +doc/source/historical/RepositoryFormat2.trac +doc/source/theme/almodovar.css +doc/source/theme/layout.css +doc/source/theme/layout.html +migrate/__init__.py +migrate/exceptions.py +migrate/changeset/__init__.py +migrate/changeset/ansisql.py +migrate/changeset/constraint.py +migrate/changeset/schema.py +migrate/changeset/util.py +migrate/changeset/databases/__init__.py +migrate/changeset/databases/firebird.py +migrate/changeset/databases/ibmdb2.py +migrate/changeset/databases/mysql.py +migrate/changeset/databases/oracle.py +migrate/changeset/databases/postgres.py +migrate/changeset/databases/sqlite.py +migrate/changeset/databases/visitor.py +migrate/tests/__init__.py +migrate/tests/changeset/__init__.py +migrate/tests/changeset/test_changeset.py +migrate/tests/changeset/test_constraint.py +migrate/tests/changeset/databases/__init__.py +migrate/tests/changeset/databases/test_ibmdb2.py +migrate/tests/fixture/__init__.py +migrate/tests/fixture/base.py +migrate/tests/fixture/database.py +migrate/tests/fixture/models.py +migrate/tests/fixture/pathed.py +migrate/tests/fixture/shell.py +migrate/tests/fixture/warnings.py +migrate/tests/integrated/__init__.py +migrate/tests/integrated/test_docs.py +migrate/tests/versioning/__init__.py +migrate/tests/versioning/test_api.py +migrate/tests/versioning/test_cfgparse.py +migrate/tests/versioning/test_database.py +migrate/tests/versioning/test_genmodel.py +migrate/tests/versioning/test_keyedinstance.py +migrate/tests/versioning/test_pathed.py +migrate/tests/versioning/test_repository.py +migrate/tests/versioning/test_runchangeset.py +migrate/tests/versioning/test_schema.py +migrate/tests/versioning/test_schemadiff.py +migrate/tests/versioning/test_script.py +migrate/tests/versioning/test_shell.py +migrate/tests/versioning/test_template.py +migrate/tests/versioning/test_util.py +migrate/tests/versioning/test_version.py +migrate/versioning/__init__.py +migrate/versioning/api.py +migrate/versioning/cfgparse.py +migrate/versioning/config.py +migrate/versioning/genmodel.py +migrate/versioning/migrate_repository.py +migrate/versioning/pathed.py +migrate/versioning/repository.py +migrate/versioning/schema.py +migrate/versioning/schemadiff.py +migrate/versioning/shell.py +migrate/versioning/template.py +migrate/versioning/version.py +migrate/versioning/script/__init__.py +migrate/versioning/script/base.py +migrate/versioning/script/py.py +migrate/versioning/script/sql.py +migrate/versioning/templates/__init__.py +migrate/versioning/templates/manage/default.py_tmpl +migrate/versioning/templates/manage/pylons.py_tmpl +migrate/versioning/templates/repository/__init__.py +migrate/versioning/templates/repository/default/README +migrate/versioning/templates/repository/default/__init__.py +migrate/versioning/templates/repository/default/migrate.cfg +migrate/versioning/templates/repository/default/versions/__init__.py +migrate/versioning/templates/repository/pylons/README +migrate/versioning/templates/repository/pylons/__init__.py +migrate/versioning/templates/repository/pylons/migrate.cfg +migrate/versioning/templates/repository/pylons/versions/__init__.py +migrate/versioning/templates/script/__init__.py +migrate/versioning/templates/script/default.py_tmpl +migrate/versioning/templates/script/pylons.py_tmpl +migrate/versioning/templates/sql_script/default.py_tmpl +migrate/versioning/templates/sql_script/pylons.py_tmpl +migrate/versioning/util/__init__.py +migrate/versioning/util/importpath.py +migrate/versioning/util/keyedinstance.py +playbooks/sqlalchemy-migrate-devstack-dsvm/post.yaml +playbooks/sqlalchemy-migrate-devstack-dsvm/run.yaml +sqlalchemy_migrate.egg-info/PKG-INFO +sqlalchemy_migrate.egg-info/SOURCES.txt +sqlalchemy_migrate.egg-info/dependency_links.txt +sqlalchemy_migrate.egg-info/entry_points.txt +sqlalchemy_migrate.egg-info/not-zip-safe +sqlalchemy_migrate.egg-info/pbr.json +sqlalchemy_migrate.egg-info/requires.txt +sqlalchemy_migrate.egg-info/top_level.txt +tools/pretty_tox.sh +tools/test-setup.sh \ No newline at end of file
  15. Download patch debian/watch

    --- 0.13.0-1/debian/watch 2020-04-06 14:12:56.000000000 +0000 +++ 0.13.0-0ubuntu1/debian/watch 2020-02-14 17:50:22.000000000 +0000 @@ -1,3 +1,3 @@ version=3 -opts="uversionmangle=s/\.(b|rc)/~$1/" \ +opts=uversionmangle=s/(rc|a|b|c)/~$1/ \ https://pypi.debian.net/sqlalchemy-migrate/sqlalchemy-migrate-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
  16. Download patch setup.cfg

    --- 0.13.0-1/setup.cfg 2019-09-17 01:05:19.000000000 +0000 +++ 0.13.0-0ubuntu1/setup.cfg 2019-10-22 21:15:46.000000000 +0000 @@ -1,36 +1,41 @@ [metadata] name = sqlalchemy-migrate summary = Database schema migration for SQLAlchemy -description-file = - README.rst +description-file = + README.rst author = OpenStack author-email = openstack-discuss@lists.openstack.org home-page = http://www.openstack.org/ -classifier = - Environment :: OpenStack - Intended Audience :: Information Technology - Intended Audience :: System Administrators - License :: OSI Approved :: Apache Software License - Operating System :: POSIX :: Linux - Programming Language :: Python - Programming Language :: Python :: 2 - Programming Language :: Python :: 2.7 - Programming Language :: Python :: 3 - Programming Language :: Python :: 3.3 - Programming Language :: Python :: 3.4 - Programming Language :: Python :: 3.5 - Programming Language :: Python :: 3.6 +classifier = + Environment :: OpenStack + Intended Audience :: Information Technology + Intended Audience :: System Administrators + License :: OSI Approved :: Apache Software License + Operating System :: POSIX :: Linux + Programming Language :: Python + Programming Language :: Python :: 2 + Programming Language :: Python :: 2.7 + Programming Language :: Python :: 3 + Programming Language :: Python :: 3.3 + Programming Language :: Python :: 3.4 + Programming Language :: Python :: 3.5 + Programming Language :: Python :: 3.6 [files] -packages = - migrate +packages = + migrate [entry_points] -console_scripts = - migrate = migrate.versioning.shell:main - migrate-repository = migrate.versioning.migrate_repository:main +console_scripts = + migrate = migrate.versioning.shell:main + migrate-repository = migrate.versioning.migrate_repository:main [build_sphinx] all_files = 1 build-dir = doc/build source-dir = doc/source + +[egg_info] +tag_build = +tag_date = 0 +
  17. Download patch debian/patches/series

    --- 0.13.0-1/debian/patches/series 2020-04-06 14:12:56.000000000 +0000 +++ 0.13.0-0ubuntu1/debian/patches/series 2020-02-14 17:50:22.000000000 +0000 @@ -1,3 +1,4 @@ use-local-intersphinx.patch keep_empty_modules.patch +disable_issuetracker.patch remove-tempest-lib-build-depends-from-upstream.patch
  18. Download patch sqlalchemy_migrate.egg-info/requires.txt

    --- 0.13.0-1/sqlalchemy_migrate.egg-info/requires.txt 1970-01-01 00:00:00.000000000 +0000 +++ 0.13.0-0ubuntu1/sqlalchemy_migrate.egg-info/requires.txt 2019-10-22 21:15:46.000000000 +0000 @@ -0,0 +1,6 @@ +pbr>=1.8 +SQLAlchemy>=0.9.6 +decorator +six>=1.7.0 +sqlparse +Tempita>=0.4
  19. Download patch AUTHORS

    --- 0.13.0-1/AUTHORS 1970-01-01 00:00:00.000000000 +0000 +++ 0.13.0-0ubuntu1/AUTHORS 2019-10-22 21:15:46.000000000 +0000 @@ -0,0 +1,65 @@ +Alex Favaro <alexfav619@gmail.com> +Andreas Jaeger <aj@suse.com> +Anusree <anusree.a04@gmail.com> +Bob Farrell <robertanthonyfarrell@gmail.com> +Brant Knudson <bknudson@us.ibm.com> +Chih-Hsuan Yen <yen@chyen.cc> +Chris Withers <chris@simplistix.co.uk> +Corey Bryant <corey.bryant@canonical.com> +Cyril Roelandt <cyril.roelandt@enovance.com> +Dan Prince <dprince@redhat.com> +David Ripton <dripton@redhat.com> +Domen Kožar <domen@dev.si> +Dustin J. Mitchell <dustin@mozilla.com> +Eric Harney <eharney@redhat.com> +Gabriel <g2p.code+sqla@gmail.com> +Haikel Guemar <hguemar@fedoraproject.org> +Ihar Hrachyshka <ihrachys@redhat.com> +Jan Dittberner <jan.dittberner@gmail.com> +Jan Dittberner <jan.dittberner@googlemail.com> +Jan Dittberner <jan@dittberner.info> +Jason Michalski <armooo@armooo.net> +Jeremy Stanley <fungi@yuggoth.org> +Jonathan Herlin <Jonte@jherlin.se> +Josip Delic <delijati@googlemail.com> +Longgeek <longgeek@thstack.com> +Matt Riedemann <mriedem.os@gmail.com> +Matt Riedemann <mriedem@us.ibm.com> +Mike Bayer <mike_mp@zzzcomputing.com> +Monty Taylor <mordred@inaugust.com> +Nicola Soranzo <nicola.soranzo@earlham.ac.uk> +Pete Keen <pete@bugsplat.info> +Peter Conerly <pconerly@gmail.com> +Pádraig Brady <P@draigBrady.com> +Pádraig Brady <pbrady@redhat.com> +Qin Zhao <chaochin@gmail.com> +Rahul Priyadarshi <rahul.priyadarshi@in.ibm.com> +Rick Copeland <rick446@usa.net> +Roman Podoliaka <rpodolyaka@mirantis.com> +Roman Podolyaka <rpodolyaka@mirantis.com> +Sascha Peilicke <saschpe@gmx.de> +Sascha Peilicke <speilicke@suse.com> +Sean Dague <sean.dague@samsung.com> +Sean Dague <sean@dague.net> +Sean Mooney <work@seanmooney.info> +Sheng Bo Hou <sbhou@cn.ibm.com> +Thomas Goirand <thomas@goirand.fr> +Thomas Goirand <zigo@debian.org> +Thuy Christenson <thuy@us.ibm.com> +Tony Breeds <tony@bakeyournoodle.com> +Victor Stinner <vstinner@redhat.com> +Yuval Langer <yuval.langer@gmail.com> +al.yazdi@gmail.com <unknown> +asuffield@gmail.com <unknown> +ches.martin <unknown> +christian.simms <unknown> +chrisw <unknown> +dineshbhor <dinesh.bhor@nttdata.com> +emil.kroymann <unknown> +hudson@fubarite.fubar.si <unknown> +iElectric <unknown> +jan.dittberner <unknown> +markbmc@gmail.com <unknown> +percious17 <unknown> +root@fubarite.fubar.si <unknown> +wyuenho@gmail.com <unknown>
  20. Download patch sqlalchemy_migrate.egg-info/PKG-INFO

    --- 0.13.0-1/sqlalchemy_migrate.egg-info/PKG-INFO 1970-01-01 00:00:00.000000000 +0000 +++ 0.13.0-0ubuntu1/sqlalchemy_migrate.egg-info/PKG-INFO 2019-10-22 21:15:46.000000000 +0000 @@ -0,0 +1,71 @@ +Metadata-Version: 1.1 +Name: sqlalchemy-migrate +Version: 0.13.0 +Summary: Database schema migration for SQLAlchemy +Home-page: http://www.openstack.org/ +Author: OpenStack +Author-email: openstack-discuss@lists.openstack.org +License: UNKNOWN +Description: SQLAlchemy Migrate + ================== + + Fork from http://code.google.com/p/sqlalchemy-migrate/ to get it working with + SQLAlchemy 0.8. + + Inspired by Ruby on Rails' migrations, Migrate provides a way to deal with + database schema changes in `SQLAlchemy <http://sqlalchemy.org>`_ projects. + + Migrate extends SQLAlchemy to have database changeset handling. It provides a + database change repository mechanism which can be used from the command line as + well as from inside python code. + + Help + ---- + + Sphinx documentation is available at the project page `readthedocs.org + <https://sqlalchemy-migrate.readthedocs.org/>`_. + + Users and developers can be found at #openstack-dev on Freenode IRC + network and at the public users mailing list `migrate-users + <http://groups.google.com/group/migrate-users>`_. + + New releases and major changes are announced at the public announce mailing + list `openstack-dev + <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev>`_ + and at the Python package index `sqlalchemy-migrate + <http://pypi.python.org/pypi/sqlalchemy-migrate>`_. + + Homepage is located at `stackforge + <http://github.com/stackforge/sqlalchemy-migrate/>`_ + + You can also clone a current `development version + <http://github.com/stackforge/sqlalchemy-migrate>`_ + + Tests and Bugs + -------------- + + To run automated tests: + + * install tox: ``pip install -U tox`` + * run tox: ``tox`` + * to test only a specific Python version: ``tox -e py27`` (Python 2.7) + + Please report any issues with sqlalchemy-migrate to the issue tracker at + `Launchpad issues + <https://bugs.launchpad.net/sqlalchemy-migrate>`_ + + +Platform: UNKNOWN +Classifier: Environment :: OpenStack +Classifier: Intended Audience :: Information Technology +Classifier: Intended Audience :: System Administrators +Classifier: License :: OSI Approved :: Apache Software License +Classifier: Operating System :: POSIX :: Linux +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.3 +Classifier: Programming Language :: Python :: 3.4 +Classifier: Programming Language :: Python :: 3.5 +Classifier: Programming Language :: Python :: 3.6
  21. Download patch sqlalchemy_migrate.egg-info/pbr.json

    --- 0.13.0-1/sqlalchemy_migrate.egg-info/pbr.json 1970-01-01 00:00:00.000000000 +0000 +++ 0.13.0-0ubuntu1/sqlalchemy_migrate.egg-info/pbr.json 2019-10-22 21:15:46.000000000 +0000 @@ -0,0 +1 @@ +{"git_version": "5d1f322", "is_release": true} \ No newline at end of file
  22. Download patch sqlalchemy_migrate.egg-info/dependency_links.txt

    --- 0.13.0-1/sqlalchemy_migrate.egg-info/dependency_links.txt 1970-01-01 00:00:00.000000000 +0000 +++ 0.13.0-0ubuntu1/sqlalchemy_migrate.egg-info/dependency_links.txt 2019-10-22 21:15:46.000000000 +0000 @@ -0,0 +1 @@ +
  23. Download patch debian/gbp.conf

    --- 0.13.0-1/debian/gbp.conf 1970-01-01 00:00:00.000000000 +0000 +++ 0.13.0-0ubuntu1/debian/gbp.conf 2020-02-14 17:50:22.000000000 +0000 @@ -0,0 +1,7 @@ +[DEFAULT] +debian-branch = master +upstream-tag = %(version)s +pristine-tar = True + +[buildpackage] +export-dir = ../build-area
  24. Download patch debian/migrate

    --- 0.13.0-1/debian/migrate 1970-01-01 00:00:00.000000000 +0000 +++ 0.13.0-0ubuntu1/debian/migrate 2020-02-14 17:50:22.000000000 +0000 @@ -0,0 +1,6 @@ +#!/usr/bin/python +import sys + +from migrate.versioning.shell import main + +sys.exit(main())
  25. Download patch debian/copyright
  26. Download patch debian/patches/remove-tempest-lib-build-depends-from-upstream.patch

    --- 0.13.0-1/debian/patches/remove-tempest-lib-build-depends-from-upstream.patch 2020-04-06 14:12:56.000000000 +0000 +++ 0.13.0-0ubuntu1/debian/patches/remove-tempest-lib-build-depends-from-upstream.patch 2020-02-14 17:50:22.000000000 +0000 @@ -3,11 +3,9 @@ Author: Thomas Goirand <zigo@debian.org> Forwarded: no Last-Update: 2018-04-27 -Index: migrate/test-requirements.txt -=================================================================== ---- migrate.orig/test-requirements.txt -+++ migrate/test-requirements.txt -@@ -17,7 +17,6 @@ sphinx>=1.1.2,<1.2 +--- a/test-requirements.txt ++++ b/test-requirements.txt +@@ -17,7 +17,6 @@ sphinxcontrib_issuetracker testrepository>=0.0.17 testtools>=0.9.34,<0.9.36
  27. Download patch debian/python3-migrate.install

    --- 0.13.0-1/debian/python3-migrate.install 2020-04-06 14:12:56.000000000 +0000 +++ 0.13.0-0ubuntu1/debian/python3-migrate.install 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -/usr

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

Source: python-cliff

python-cliff (3.3.0-0ubuntu1) groovy; urgency=medium * New upstream release for OpenStack Victoria. * d/control: Align (Build-)Depends with upstream. -- Chris MacNaughton <chris.macnaughton@canonical.com> Fri, 24 Jul 2020 09:33:15 +0000 python-cliff (3.1.0-0ubuntu1) focal; urgency=medium * New upstream release for OpenStack Ussuri. -- Corey Bryant <corey.bryant@canonical.com> Thu, 09 Apr 2020 10:26:36 -0400 python-cliff (2.18.0-0ubuntu1) focal; urgency=medium * New upstream release for OpenStack Ussuri. -- Sahid Orentino Ferdjaoui <sahid.ferdjaoui@canonical.com> Tue, 28 Jan 2020 16:42:57 +0100 python-cliff (2.16.0-0ubuntu1) focal; urgency=medium * Merge from Debian unstable. Remaining changes: - 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). * New upstream release for OpenStack Ussuri. * d/control: Align (Build-)Depends with upstream. -- Corey Bryant <corey.bryant@canonical.com> Thu, 12 Dec 2019 15:19:31 -0500 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

Modifications :
  1. Download patch cliff/tests/test_formatters_yaml.py

    --- 3.1.0-2/cliff/tests/test_formatters_yaml.py 2020-03-26 20:38:14.000000000 +0000 +++ 3.3.0-0ubuntu1/cliff/tests/test_formatters_yaml.py 2020-06-14 10:40:55.000000000 +0000 @@ -15,12 +15,12 @@ import six import yaml +from unittest import mock + from cliff.formatters import yaml_format from cliff.tests import base from cliff.tests import test_columns -import mock - class TestYAMLFormatter(base.TestBase):
  2. Download patch cliff.egg-info/SOURCES.txt

    --- 3.1.0-2/cliff.egg-info/SOURCES.txt 1970-01-01 00:00:00.000000000 +0000 +++ 3.3.0-0ubuntu1/cliff.egg-info/SOURCES.txt 2020-06-14 10:41:24.000000000 +0000 @@ -0,0 +1,96 @@ +.stestr.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__argparse.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 +releasenotes/notes/command-group-8c00f260340a130c.yaml +releasenotes/notes/drop-python27-support-b16c9e5a9e2000ef.yaml \ No newline at end of file
  3. Download patch cliff/tests/test_help.py

    --- 3.1.0-2/cliff/tests/test_help.py 2020-03-26 20:38:14.000000000 +0000 +++ 3.3.0-0ubuntu1/cliff/tests/test_help.py 2020-06-14 10:40:55.000000000 +0000 @@ -17,7 +17,7 @@ except ImportError: import os import sys -import mock +from unittest import mock from cliff import app as application from cliff import commandmanager
  4. Download patch cliff/tests/test_formatters_shell.py

    --- 3.1.0-2/cliff/tests/test_formatters_shell.py 2020-03-26 20:38:14.000000000 +0000 +++ 3.3.0-0ubuntu1/cliff/tests/test_formatters_shell.py 2020-06-14 10:40:55.000000000 +0000 @@ -15,12 +15,12 @@ import argparse import six +from unittest import mock + from cliff.formatters import shell from cliff.tests import base from cliff.tests import test_columns -import mock - class TestShellFormatter(base.TestBase):
  5. Download patch PKG-INFO

    --- 3.1.0-2/PKG-INFO 1970-01-01 00:00:00.000000000 +0000 +++ 3.3.0-0ubuntu1/PKG-INFO 2020-06-14 10:41:24.000000000 +0000 @@ -0,0 +1,46 @@ +Metadata-Version: 1.2 +Name: cliff +Version: 3.3.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 + * Contributors: https://github.com/openstack/cliff/graphs/contributors + + +Platform: UNKNOWN +Classifier: Development Status :: 5 - Production/Stable +Classifier: License :: OSI Approved :: Apache Software License +Classifier: Programming Language :: Python +Classifier: Programming Language :: Python :: 3 +Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 +Classifier: Programming Language :: Python :: 3 :: Only +Classifier: Programming Language :: Python :: Implementation :: CPython +Classifier: Intended Audience :: Developers +Classifier: Environment :: Console +Requires-Python: >=3.6
  6. Download patch cliff/tests/test_app.py

    --- 3.1.0-2/cliff/tests/test_app.py 2020-03-26 20:38:14.000000000 +0000 +++ 3.3.0-0ubuntu1/cliff/tests/test_app.py 2020-06-14 10:40:55.000000000 +0000 @@ -21,8 +21,8 @@ except ImportError: from io import StringIO import sys -import mock import six +from unittest import mock from cliff import app as application from cliff import command as c_cmd
  7. Download patch debian/rules

    --- 3.1.0-2/debian/rules 2020-04-06 15:55:17.000000000 +0000 +++ 3.3.0-0ubuntu1/debian/rules 2020-07-24 09:33:15.000000000 +0000 @@ -23,7 +23,7 @@ endif override_dh_sphinxdoc: ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS))) - PYTHONPATH=$(CURDIR) python3 -m sphinx -b html -a -c doc/source doc/source \ + 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 @@ -31,7 +31,6 @@ endif override_dh_installexamples: dh_installexamples find $(CURDIR)/debian/python-cliff-doc -iname '*.pyc' -delete - find $(CURDIR)/debian/python-cliff-doc -iname '__pycache__' -delete override_dh_python3: dh_python3 -ppython3-cliff
  8. Download patch cliff/tests/test_complete.py

    --- 3.1.0-2/cliff/tests/test_complete.py 2020-03-26 20:38:14.000000000 +0000 +++ 3.3.0-0ubuntu1/cliff/tests/test_complete.py 2020-06-14 10:40:55.000000000 +0000 @@ -13,7 +13,7 @@ """Bash completion tests """ -import mock +from unittest import mock from cliff import app as application from cliff import commandmanager
  9. Download patch cliff/tests/test_command_hooks.py

    --- 3.1.0-2/cliff/tests/test_command_hooks.py 2020-03-26 20:38:14.000000000 +0000 +++ 3.3.0-0ubuntu1/cliff/tests/test_command_hooks.py 2020-06-14 10:40:55.000000000 +0000 @@ -18,8 +18,8 @@ from cliff import lister from cliff import show from cliff.tests import base -import mock from stevedore import extension +from unittest import mock def make_app(**kwargs):
  10. Download patch cliff/tests/test_formatters_table.py

    --- 3.1.0-2/cliff/tests/test_formatters_table.py 2020-03-26 20:38:14.000000000 +0000 +++ 3.3.0-0ubuntu1/cliff/tests/test_formatters_table.py 2020-06-14 10:40:55.000000000 +0000 @@ -16,8 +16,8 @@ import argparse import os import textwrap -import mock from six import StringIO +from unittest import mock from cliff.formatters import table from cliff.tests import base
  11. Download patch debian/compat

    --- 3.1.0-2/debian/compat 1970-01-01 00:00:00.000000000 +0000 +++ 3.3.0-0ubuntu1/debian/compat 2020-07-24 09:33:15.000000000 +0000 @@ -0,0 +1 @@ +10
  12. Download patch .gitreview

    --- 3.1.0-2/.gitreview 2020-03-26 20:38:14.000000000 +0000 +++ 3.3.0-0ubuntu1/.gitreview 1970-01-01 00:00:00.000000000 +0000 @@ -1,4 +0,0 @@ -[gerrit] -host=review.opendev.org -port=29418 -project=openstack/cliff.git
  13. Download patch cliff/_argparse.py

    --- 3.1.0-2/cliff/_argparse.py 2020-03-26 20:38:14.000000000 +0000 +++ 3.3.0-0ubuntu1/cliff/_argparse.py 2020-06-14 10:40:55.000000000 +0000 @@ -12,8 +12,6 @@ """Overrides of standard argparse behavior.""" -from __future__ import absolute_import - import argparse import sys import warnings
  14. Download patch cliff/tests/test_lister.py

    --- 3.1.0-2/cliff/tests/test_lister.py 2020-03-26 20:38:14.000000000 +0000 +++ 3.3.0-0ubuntu1/cliff/tests/test_lister.py 2020-06-14 10:40:55.000000000 +0000 @@ -14,11 +14,11 @@ import weakref +from unittest import mock + from cliff import lister from cliff.tests import base -import mock - class FauxFormatter(object):
  15. Download patch debian/control

    --- 3.1.0-2/debian/control 2020-04-06 15:55:17.000000000 +0000 +++ 3.3.0-0ubuntu1/debian/control 2020-07-24 09:33:15.000000000 +0000 @@ -1,43 +1,44 @@ 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 <team+openstack@tracker.debian.org> Uploaders: Jan Dittberner <jandd@debian.org>, Thomas Goirand <zigo@debian.org>, Build-Depends: - debhelper-compat (= 10), + debhelper (>= 10), dh-python, openstack-pkg-tools, python3-all, - python3-pbr, + python3-pbr (>= 2.0.0), python3-setuptools, - python3-sphinx, + python3-sphinx (>= 2.0.0), Build-Depends-Indep: - python3-cmd2, - python3-coverage <!nocheck>, + python3-cmd2 (>= 0.8.0), + python3-coverage (>= 4.0), python3-docutils, - python3-mock <!nocheck>, - python3-openstackdocstheme <!nodoc>, - python3-prettytable <!nocheck>, - python3-pyparsing, - python3-six, - python3-stestr <!nocheck>, - python3-stevedore (>= 1.30.1) <!nocheck>, - python3-stevedore (>= 1.30.1) <!nodoc>, - python3-testscenarios <!nocheck>, - python3-testtools <!nocheck>, - python3-yaml, -Standards-Version: 4.4.1 -Vcs-Browser: https://salsa.debian.org/openstack-team/python/python-cliff -Vcs-Git: https://salsa.debian.org/openstack-team/python/python-cliff.git + python3-mock (>= 2.0.0), + python3-openstackdocstheme (>= 2.2.1), + python3-prettytable (>= 0.7.2), + python3-pyparsing (>= 2.1.0), + python3-six (>= 1.10.0), + python3-stestr, + 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-yaml (>= 3.12), +Standards-Version: 4.3.0 +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-doc Architecture: all Section: doc -Build-Profiles: <!nodoc> Depends: libjs-sphinxdoc, ${misc:Depends}, @@ -55,13 +56,14 @@ Description: command line interface form Package: python3-cliff Architecture: all Depends: - python3-cmd2, + python3-cmd2 (>= 0.8.0), python3-docutils, - python3-pbr, - python3-prettytable, - python3-pyparsing, - python3-six, - python3-stevedore (>= 1.30.1), + 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-yaml (>= 3.12), ${misc:Depends}, ${python3:Depends}, Recommends:
  16. Download patch cliff/tests/test_commandmanager.py

    --- 3.1.0-2/cliff/tests/test_commandmanager.py 2020-03-26 20:38:14.000000000 +0000 +++ 3.3.0-0ubuntu1/cliff/tests/test_commandmanager.py 2020-06-14 10:40:55.000000000 +0000 @@ -10,8 +10,8 @@ # License for the specific language governing permissions and limitations # under the License. -import mock import testscenarios +from unittest import mock from cliff import command from cliff import commandmanager @@ -253,3 +253,92 @@ class TestGetByPartialName(base.TestBase ['server list'], commandmanager._get_commands_by_partial_name( ['serve', 'l'], self.commands)) + + +class FakeCommand(object): + + @classmethod + def load(cls): + return cls + + def __init__(self): + return + + +FAKE_CMD_ONE = FakeCommand +FAKE_CMD_TWO = FakeCommand +FAKE_CMD_ALPHA = FakeCommand +FAKE_CMD_BETA = FakeCommand + + +class FakeCommandManager(commandmanager.CommandManager): + commands = {} + + def load_commands(self, namespace): + if namespace == 'test': + self.commands['one'] = FAKE_CMD_ONE + self.commands['two'] = FAKE_CMD_TWO + self.group_list.append(namespace) + elif namespace == 'greek': + self.commands['alpha'] = FAKE_CMD_ALPHA + self.commands['beta'] = FAKE_CMD_BETA + self.group_list.append(namespace) + + +class TestCommandManagerGroups(base.TestBase): + + def test_add_command_group(self): + mgr = FakeCommandManager('test') + + # Make sure add_command() still functions + mock_cmd_one = mock.Mock() + mgr.add_command('mock', mock_cmd_one) + cmd_mock, name, args = mgr.find_command(['mock']) + self.assertEqual(mock_cmd_one, cmd_mock) + + # Find a command added in initialization + cmd_one, name, args = mgr.find_command(['one']) + self.assertEqual(FAKE_CMD_ONE, cmd_one) + + # Load another command group + mgr.add_command_group('greek') + + # Find a new command + cmd_alpha, name, args = mgr.find_command(['alpha']) + self.assertEqual(FAKE_CMD_ALPHA, cmd_alpha) + + # Ensure that the original commands were not overwritten + cmd_two, name, args = mgr.find_command(['two']) + self.assertEqual(FAKE_CMD_TWO, cmd_two) + + def test_get_command_groups(self): + mgr = FakeCommandManager('test') + + # Make sure add_command() still functions + mock_cmd_one = mock.Mock() + mgr.add_command('mock', mock_cmd_one) + cmd_mock, name, args = mgr.find_command(['mock']) + self.assertEqual(mock_cmd_one, cmd_mock) + + # Load another command group + mgr.add_command_group('greek') + + gl = mgr.get_command_groups() + self.assertEqual(['test', 'greek'], gl) + + def test_get_command_names(self): + mock_cmd_one = mock.Mock() + mock_cmd_one.name = 'one' + mock_cmd_two = mock.Mock() + mock_cmd_two.name = 'cmd two' + mock_pkg_resources = mock.Mock( + return_value=[mock_cmd_one, mock_cmd_two], + ) + with mock.patch( + 'pkg_resources.iter_entry_points', + mock_pkg_resources, + ) as iter_entry_points: + mgr = commandmanager.CommandManager('test') + iter_entry_points.assert_called_once_with('test') + cmds = mgr.get_command_names('test') + self.assertEqual(['one', 'cmd two'], cmds)
  17. Download patch cliff/tests/test_formatters_json.py

    --- 3.1.0-2/cliff/tests/test_formatters_json.py 2020-03-26 20:38:14.000000000 +0000 +++ 3.3.0-0ubuntu1/cliff/tests/test_formatters_json.py 2020-06-14 10:40:55.000000000 +0000 @@ -18,8 +18,8 @@ from cliff.formatters import json_format from cliff.tests import base from cliff.tests import test_columns -import mock import six +from unittest import mock class TestJSONFormatter(base.TestBase):
  18. Download patch cliff.egg-info/requires.txt

    --- 3.1.0-2/cliff.egg-info/requires.txt 1970-01-01 00:00:00.000000000 +0000 +++ 3.3.0-0ubuntu1/cliff.egg-info/requires.txt 2020-06-14 10:41:24.000000000 +0000 @@ -0,0 +1,7 @@ +pbr!=2.1.0,>=2.0.0 +cmd2!=0.8.3,>=0.8.0 +PrettyTable<0.8,>=0.7.2 +pyparsing>=2.1.0 +six>=1.10.0 +stevedore>=1.20.0 +PyYAML>=3.12
  19. Download patch .testr.conf

    --- 3.1.0-2/.testr.conf 2020-03-26 20:38:14.000000000 +0000 +++ 3.3.0-0ubuntu1/.testr.conf 1970-01-01 00:00:00.000000000 +0000 @@ -1,7 +0,0 @@ -[DEFAULT] -test_command=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \ - OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \ - OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \ - ${PYTHON:-python} -m subunit.run discover -t ./ ./cliff $LISTOPT $IDOPTION -test_id_option=--load-list $IDFILE -test_list_option=--list
  20. Download patch lower-constraints.txt

    --- 3.1.0-2/lower-constraints.txt 2020-03-26 20:38:14.000000000 +0000 +++ 3.3.0-0ubuntu1/lower-constraints.txt 2020-06-14 10:40:55.000000000 +0000 @@ -12,7 +12,6 @@ imagesize==0.7.1 Jinja2==2.10 linecache2==1.0.0 MarkupSafe==1.0 -mock==2.0.0 pbr==2.0.0 prettytable==0.7.2 Pygments==2.2.0 @@ -26,10 +25,10 @@ requests==2.14.2 six==1.10.0 smmap==0.9.0 snowballstemmer==1.2.1 -Sphinx==1.6.2 +Sphinx==2.0.0 sphinxcontrib-websupport==1.0.1 +stestr==1.0.0 stevedore==1.20.0 -testrepository==0.0.18 testscenarios==0.4 testtools==2.2.0 traceback2==1.4.0
  21. Download patch ChangeLog
  22. Download patch tox.ini

    --- 3.1.0-2/tox.ini 2020-03-26 20:38:14.000000000 +0000 +++ 3.3.0-0ubuntu1/tox.ini 2020-06-14 10:40:55.000000000 +0000 @@ -12,8 +12,8 @@ setenv = OS_TEST_TIMEOUT=60 distribute = False commands = - python setup.py test --coverage --coverage-package-name=cliff --slowest --testr-args='{posargs}' - coverage report --show-missing + stestr run {posargs} + stestr slowest deps = -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/upper-constraints.txt} -r{toxinidir}/test-requirements.txt @@ -53,3 +53,13 @@ deps = -c{toxinidir}/lower-constraints.txt -r{toxinidir}/test-requirements.txt -r{toxinidir}/requirements.txt + +[testenv:cover] +setenv = + {[testenv]setenv} + PYTHON=coverage run --source cliff --parallel-mode +commands = + stestr run {posargs} + coverage combine + coverage html -d cover + coverage xml -o cover/coverage.xml
  23. Download patch test-requirements.txt

    --- 3.1.0-2/test-requirements.txt 2020-03-26 20:38:14.000000000 +0000 +++ 3.3.0-0ubuntu1/test-requirements.txt 2020-06-14 10:40:55.000000000 +0000 @@ -3,16 +3,15 @@ # process, which may cause wedges in the gate later. python-subunit>=1.0.0 # Apache-2.0/BSD -testrepository>=0.0.18 # Apache-2.0/BSD +stestr>=1.0.0 # Apache-2.0 testtools>=2.2.0 # MIT -mock>=2.0.0 # BSD testscenarios>=0.4 # Apache-2.0/BSD coverage!=4.4,>=4.0 # Apache-2.0 # sphinx is required in test-requirements in addition to doc/requirements # because there is a sphinx extension that has tests -sphinx!=1.6.6,!=1.6.7,!=2.1.0,>=1.6.2 # BSD +sphinx>=2.0.0,!=2.1.0 # BSD # Bandit security code scanner bandit>=1.1.0 # Apache-2.0
  24. Download patch cliff.egg-info/dependency_links.txt

    --- 3.1.0-2/cliff.egg-info/dependency_links.txt 1970-01-01 00:00:00.000000000 +0000 +++ 3.3.0-0ubuntu1/cliff.egg-info/dependency_links.txt 2020-06-14 10:41:24.000000000 +0000 @@ -0,0 +1 @@ +
  25. Download patch doc/requirements.txt

    --- 3.1.0-2/doc/requirements.txt 2020-03-26 20:38:14.000000000 +0000 +++ 3.3.0-0ubuntu1/doc/requirements.txt 2020-06-14 10:40:55.000000000 +0000 @@ -1,5 +1,5 @@ # 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!=1.6.6,!=1.6.7,!=2.1.0,>=1.6.2 # BSD -openstackdocstheme>=1.18.1 # Apache-2.0 +sphinx>=2.0.0,!=2.1.0 # BSD +openstackdocstheme>=2.2.1 # Apache-2.0
  26. Download patch doc/source/conf.py

    --- 3.1.0-2/doc/source/conf.py 2020-03-26 20:38:14.000000000 +0000 +++ 3.3.0-0ubuntu1/doc/source/conf.py 2020-06-14 10:40:55.000000000 +0000 @@ -51,9 +51,10 @@ if has_openstackdocstheme: extensions.append('openstackdocstheme') # openstackdocstheme options -repository_name = 'openstack/cliff' -bug_project = 'python-cliff' -bug_tag = '' +openstackdocs_repo_name = 'openstack/cliff' +openstackdocs_auto_name = False +openstackdocs_bug_project = 'python-cliff' +openstackdocs_bug_tag = '' # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] @@ -101,7 +102,7 @@ exclude_patterns = [] # 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 = []
  27. Download patch .gitignore

    --- 3.1.0-2/.gitignore 2020-03-26 20:38:14.000000000 +0000 +++ 3.3.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.*
  28. Download patch cliff.egg-info/entry_points.txt

    --- 3.1.0-2/cliff.egg-info/entry_points.txt 1970-01-01 00:00:00.000000000 +0000 +++ 3.3.0-0ubuntu1/cliff.egg-info/entry_points.txt 2020-06-14 10:41:24.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 +
  29. Download patch cliff/interactive.py

    --- 3.1.0-2/cliff/interactive.py 2020-03-26 20:38:14.000000000 +0000 +++ 3.3.0-0ubuntu1/cliff/interactive.py 2020-06-14 10:40:55.000000000 +0000 @@ -158,6 +158,16 @@ class InteractiveApp(cmd2.Cmd): ] def precmd(self, statement): + """Hook method executed just before the command is executed by + :meth:`~cmd2.Cmd.onecmd` and after adding it to history. + + :param statement: subclass of str which also contains the parsed input + :return: a potentially modified version of the input Statement object + """ + # NOTE(mordred): The above docstring is copied in from cmd2 because + # current cmd2 has a docstring that sphinx finds if we don't override + # it, and it breaks sphinx. + # Pre-process the parsed command in case it looks like one of # our subcommands, since cmd2 does not handle multi-part # command names by default. @@ -175,9 +185,18 @@ class InteractiveApp(cmd2.Cmd): statement.parsed.args = ' '.join(sub_argv) else: # cmd2 >= 0.9.1 uses shlex and gives us a Statement. - statement.command = cmd_name - statement.argv = [cmd_name] + sub_argv - statement.args = ' '.join(statement.argv) + statement = cmd2.Statement( + ' '.join(sub_argv), + raw=statement.raw, + command=cmd_name, + arg_list=sub_argv, + multiline_command=statement.multiline_command, + terminator=statement.terminator, + suffix=statement.suffix, + pipe_to=statement.pipe_to, + output=statement.output, + output_to=statement.output_to, + ) return statement def cmdloop(self):
  30. Download patch releasenotes/notes/command-group-8c00f260340a130c.yaml

    --- 3.1.0-2/releasenotes/notes/command-group-8c00f260340a130c.yaml 1970-01-01 00:00:00.000000000 +0000 +++ 3.3.0-0ubuntu1/releasenotes/notes/command-group-8c00f260340a130c.yaml 2020-06-14 10:40:55.000000000 +0000 @@ -0,0 +1,5 @@ +--- +features: + - | + Added support for command groups. This was originally added + in osc_lib downstream.
  31. Download patch cliff.egg-info/not-zip-safe

    --- 3.1.0-2/cliff.egg-info/not-zip-safe 1970-01-01 00:00:00.000000000 +0000 +++ 3.3.0-0ubuntu1/cliff.egg-info/not-zip-safe 2020-06-14 10:41:24.000000000 +0000 @@ -0,0 +1 @@ +
  32. Download patch debian/watch

    --- 3.1.0-2/debian/watch 2020-04-06 15:55:17.000000000 +0000 +++ 3.3.0-0ubuntu1/debian/watch 2020-07-24 09:33:15.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)))
  33. Download patch cliff/commandmanager.py

    --- 3.1.0-2/cliff/commandmanager.py 2020-03-26 20:38:14.000000000 +0000 +++ 3.3.0-0ubuntu1/cliff/commandmanager.py 2020-06-14 10:40:55.000000000 +0000 @@ -61,6 +61,7 @@ class CommandManager(object): self._legacy = {} self.namespace = namespace self.convert_underscores = convert_underscores + self.group_list = [] self._load_commands() def _load_commands(self): @@ -70,6 +71,7 @@ class CommandManager(object): def load_commands(self, namespace): """Load all the commands from an entrypoint""" + self.group_list.append(namespace) for ep in pkg_resources.iter_entry_points(namespace): LOG.debug('found command %r', ep.name) cmd_name = (ep.name.replace('_', ' ') @@ -143,3 +145,26 @@ class CommandManager(object): if arg.startswith('-'): return i return len(argv) + + def add_command_group(self, group=None): + """Adds another group of command entrypoints""" + if group: + self.load_commands(group) + + def get_command_groups(self): + """Returns a list of the loaded command groups""" + return self.group_list + + def get_command_names(self, group=None): + """Returns a list of commands loaded for the specified group""" + group_list = [] + if group is not None: + for ep in pkg_resources.iter_entry_points(group): + cmd_name = ( + ep.name.replace('_', ' ') + if self.convert_underscores + else ep.name + ) + group_list.append(cmd_name) + return group_list + return list(self.commands.keys())
  34. Download patch setup.cfg

    --- 3.1.0-2/setup.cfg 2020-03-26 20:38:14.000000000 +0000 +++ 3.3.0-0ubuntu1/setup.cfg 2020-06-14 10:41:24.000000000 +0000 @@ -5,55 +5,53 @@ author = OpenStack author-email = openstack-discuss@lists.openstack.org summary = Command Line Interface Formulation Framework home-page = https://docs.openstack.org/cliff/latest/ -python-requires = >=3.5 -classifier = - Development Status :: 5 - Production/Stable - License :: OSI Approved :: Apache Software License - Programming Language :: Python - Programming Language :: Python :: 3 - Programming Language :: Python :: 3.5 - Programming Language :: Python :: 3.6 - Programming Language :: Python :: 3.7 - Programming Language :: Python :: 3 :: Only - Programming Language :: Python :: Implementation :: CPython - Intended Audience :: Developers - Environment :: Console +python-requires = >=3.6 +classifier = + Development Status :: 5 - Production/Stable + License :: OSI Approved :: Apache Software License + Programming Language :: Python + Programming Language :: Python :: 3 + Programming Language :: Python :: 3.6 + Programming Language :: Python :: 3.7 + Programming Language :: Python :: 3 :: Only + Programming Language :: Python :: Implementation :: CPython + 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 + +[egg_info] +tag_build = +tag_date = 0
  35. Download patch requirements.txt

    --- 3.1.0-2/requirements.txt 2020-03-26 20:38:14.000000000 +0000 +++ 3.3.0-0ubuntu1/requirements.txt 2020-06-14 10:40:55.000000000 +0000 @@ -2,7 +2,7 @@ # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. pbr!=2.1.0,>=2.0.0 # Apache-2.0 -cmd2>=0.8.0,!=0.8.3,<0.9.0 # MIT +cmd2>=0.8.0,!=0.8.3 # MIT PrettyTable<0.8,>=0.7.2 # BSD pyparsing>=2.1.0 # MIT six>=1.10.0 # MIT
  36. Download patch cliff/tests/test_utils.py

    --- 3.1.0-2/cliff/tests/test_utils.py 2020-03-26 20:38:14.000000000 +0000 +++ 3.3.0-0ubuntu1/cliff/tests/test_utils.py 2020-06-14 10:40:55.000000000 +0000 @@ -13,11 +13,9 @@ # under the License. import os -import struct import sys -import unittest -import mock +from unittest import mock from cliff import utils from cliff.tests import base @@ -32,8 +30,6 @@ class TestTerminalWidth(base.TestBase): if width is not None: self.assertIsInstance(width, int) - @unittest.skipIf(not hasattr(os, 'get_terminal_size'), - 'only needed for python 3.3 onwards') @mock.patch('cliff.utils.os') def test_get_terminal_size(self, mock_os): ts = os.terminal_size((10, 5)) @@ -43,35 +39,3 @@ class TestTerminalWidth(base.TestBase): mock_os.get_terminal_size.side_effect = OSError() width = utils.terminal_width(sys.stdout) self.assertIs(None, width) - - @unittest.skipIf(hasattr(os, 'get_terminal_size'), - 'only needed for python 3.2 and before') - @mock.patch('fcntl.ioctl') - def test_ioctl(self, mock_ioctl): - mock_ioctl.return_value = struct.pack('hhhh', 57, 101, 0, 0) - width = utils.terminal_width(sys.stdout) - self.assertEqual(101, width) - mock_ioctl.side_effect = IOError() - width = utils.terminal_width(sys.stdout) - self.assertIs(None, width) - - @unittest.skipIf(hasattr(os, 'get_terminal_size'), - 'only needed for python 3.2 and before') - @mock.patch('cliff.utils.ctypes') - @mock.patch('sys.platform', 'win32') - def test_windows(self, mock_ctypes): - mock_ctypes.create_string_buffer.return_value.raw = struct.pack( - 'hhhhHhhhhhh', 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) - mock_ctypes.windll.kernel32.GetStdHandle.return_value = -11 - mock_ctypes.windll.kernel32.GetConsoleScreenBufferInfo.return_value = 1 - - width = utils.terminal_width(sys.stdout) - self.assertEqual(101, width) - - mock_ctypes.windll.kernel32.GetConsoleScreenBufferInfo.return_value = 0 - - width = utils.terminal_width(sys.stdout) - self.assertIs(None, width) - - width = utils.terminal_width('foo') - self.assertIs(None, width)
  37. Download patch cliff.egg-info/top_level.txt

    --- 3.1.0-2/cliff.egg-info/top_level.txt 1970-01-01 00:00:00.000000000 +0000 +++ 3.3.0-0ubuntu1/cliff.egg-info/top_level.txt 2020-06-14 10:41:24.000000000 +0000 @@ -0,0 +1 @@ +cliff
  38. Download patch cliff.egg-info/PKG-INFO

    --- 3.1.0-2/cliff.egg-info/PKG-INFO 1970-01-01 00:00:00.000000000 +0000 +++ 3.3.0-0ubuntu1/cliff.egg-info/PKG-INFO 2020-06-14 10:41:24.000000000 +0000 @@ -0,0 +1,46 @@ +Metadata-Version: 1.2 +Name: cliff +Version: 3.3.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 + * Contributors: https://github.com/openstack/cliff/graphs/contributors + + +Platform: UNKNOWN +Classifier: Development Status :: 5 - Production/Stable +Classifier: License :: OSI Approved :: Apache Software License +Classifier: Programming Language :: Python +Classifier: Programming Language :: Python :: 3 +Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 +Classifier: Programming Language :: Python :: 3 :: Only +Classifier: Programming Language :: Python :: Implementation :: CPython +Classifier: Intended Audience :: Developers +Classifier: Environment :: Console +Requires-Python: >=3.6
  39. Download patch cliff.egg-info/pbr.json

    --- 3.1.0-2/cliff.egg-info/pbr.json 1970-01-01 00:00:00.000000000 +0000 +++ 3.3.0-0ubuntu1/cliff.egg-info/pbr.json 2020-06-14 10:41:24.000000000 +0000 @@ -0,0 +1 @@ +{"git_version": "8099c98", "is_release": true} \ No newline at end of file
  40. Download patch AUTHORS

    --- 3.1.0-2/AUTHORS 1970-01-01 00:00:00.000000000 +0000 +++ 3.3.0-0ubuntu1/AUTHORS 2020-06-14 10:41:23.000000000 +0000 @@ -0,0 +1,107 @@ +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> +Andrey Volkov <avolkov@mirantis.com> +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> +Eric Fried <openstack@fried.cc> +Eyal Posener <eyal@stratoscale.com> +Felix Yan <felixonmars@archlinux.org> +Feodor Tersin <ftersin@cloudscaling.com> +Flavio Percoco <flaper87@gmail.com> +Ghanshyam Mann <gmann@ghanshyammann.com> +Hervé Beraud <hberaud@redhat.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 Goddard <mark@stackhpc.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> +OpenStack Release Bot <infra-root@openstack.org> +Pierre-André MOREY <kick@mifamofi.net> +Qiu Yu <qiuyu@ebaysf.com> +Rajath Agasthya <rajathagasthya@gmail.com> +Ricardo Kirkner <ricardo@kirkner.com.ar> +Rodolfo Alonso Hernandez <ralonsoh@redhat.com> +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> +kangyufei <kangyf@inspur.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> +wu.chunyang <wchy1001@gmail.com> +xuanyandong <xuanyandong@inspur.com> +yanpuqing <yanpq@awcloud.com>
  41. Download patch .zuul.yaml

    --- 3.1.0-2/.zuul.yaml 2020-03-26 20:38:14.000000000 +0000 +++ 3.3.0-0ubuntu1/.zuul.yaml 2020-06-14 10:40:55.000000000 +0000 @@ -24,8 +24,7 @@ - check-requirements - lib-forward-testing-python3 - openstack-lower-constraints-jobs - - openstack-python35-jobs - - openstack-python3-ussuri-jobs + - openstack-python3-victoria-jobs - publish-openstack-docs-pti check: jobs:
  42. Download patch cliff/tests/test_formatters_csv.py

    --- 3.1.0-2/cliff/tests/test_formatters_csv.py 2020-03-26 20:38:14.000000000 +0000 +++ 3.3.0-0ubuntu1/cliff/tests/test_formatters_csv.py 2020-06-14 10:40:55.000000000 +0000 @@ -16,8 +16,8 @@ import argparse import unittest -import mock import six +from unittest import mock from cliff.formatters import commaseparated from cliff.tests import test_columns
  43. Download patch debian/gbp.conf

    --- 3.1.0-2/debian/gbp.conf 1970-01-01 00:00:00.000000000 +0000 +++ 3.3.0-0ubuntu1/debian/gbp.conf 2020-07-24 09:33:15.000000000 +0000 @@ -0,0 +1,7 @@ +[DEFAULT] +debian-branch = master +upstream-tag = %(version)s +pristine-tar = True + +[buildpackage] +export-dir = ../build-area
  44. Download patch cliff/tests/test_show.py

    --- 3.1.0-2/cliff/tests/test_show.py 2020-03-26 20:38:14.000000000 +0000 +++ 3.3.0-0ubuntu1/cliff/tests/test_show.py 2020-06-14 10:40:55.000000000 +0000 @@ -14,11 +14,11 @@ import weakref +from unittest import mock + from cliff import show from cliff.tests import base -import mock - class FauxFormatter(object):
  1. migrate
  2. python-cliff