Hello community, here is the log from the commit of package python-oslo.i18n for openSUSE:Factory checked in at 2017-02-21 13:42:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-oslo.i18n (Old) and /work/SRC/openSUSE:Factory/.python-oslo.i18n.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-oslo.i18n" Changes: -------- --- /work/SRC/openSUSE:Factory/python-oslo.i18n/python-oslo.i18n.changes 2016-09-30 15:29:21.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-oslo.i18n.new/python-oslo.i18n.changes 2017-02-21 13:42:07.369922980 +0100 @@ -1,0 +2,14 @@ +Mon Feb 13 09:28:29 UTC 2017 - [email protected] + +- update to version 3.12.0: + - Add Constraints support + - Typo fix in oslo.i18n + - Add reno for release notes management + - Show team and repo badges on README + - Changed the home-page link + - Replace six.iteritems() with .items() + - Add missing dependency testscenarios + - Updated from global requirements + - Add docs on how to display translated strings in your app + +------------------------------------------------------------------- Old: ---- oslo.i18n-3.9.0.tar.gz New: ---- oslo.i18n-3.12.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-oslo.i18n.spec ++++++ --- /var/tmp/diff_new_pack.lSZ3PZ/_old 2017-02-21 13:42:07.745869944 +0100 +++ /var/tmp/diff_new_pack.lSZ3PZ/_new 2017-02-21 13:42:07.745869944 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-oslo.i18n # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %global sname oslo.i18n Name: python-oslo.i18n -Version: 3.9.0 +Version: 3.12.0 Release: 0 Summary: OpenStack i18n library License: Apache-2.0 @@ -29,7 +29,8 @@ BuildRequires: python-Babel >= 2.3.4 BuildRequires: python-mock >= 2.0 BuildRequires: python-oslotest >= 1.10.0 -BuildRequires: python-pbr >= 1.6 +BuildRequires: python-pbr >= 1.8 +BuildRequires: python-testscenarios >= 0.4 Requires: python-Babel >= 2.3.4 Requires: python-six >= 1.9.0 BuildArch: noarch @@ -43,13 +44,14 @@ Summary: Documentation for OpenStack i18n library Group: Development/Languages/Python BuildRequires: python-Sphinx -BuildRequires: python-oslosphinx >= 2.5.0 +BuildRequires: python-oslosphinx >= 4.7.0 %description doc Documentation for the oslo.i18n library. %prep -%setup -q -n %{sname}-%{version} +%autosetup -n %{sname}-%{version} +%py_req_cleanup %build %{py2_build} @@ -66,7 +68,7 @@ %{__python2} setup.py test %files -%doc AUTHORS ChangeLog CONTRIBUTING.rst README.rst +%doc ChangeLog CONTRIBUTING.rst README.rst %license LICENSE %{python2_sitelib}/oslo_i18n %{python2_sitelib}/*.egg-info ++++++ _service ++++++ --- /var/tmp/diff_new_pack.lSZ3PZ/_old 2017-02-21 13:42:07.785864301 +0100 +++ /var/tmp/diff_new_pack.lSZ3PZ/_new 2017-02-21 13:42:07.789863737 +0100 @@ -1,13 +1,12 @@ <services> <service mode="disabled" name="renderspec"> - <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/master/openstack/oslo.i18n/oslo.i18n.spec.j2</param> + <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/ocata/openstack/oslo.i18n/oslo.i18n.spec.j2</param> <param name="output-name">python-oslo.i18n.spec</param> - <param name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/master/global-requirements.txt</param> + <param name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/ocata/global-requirements.txt</param> + <param name="changelog-email">[email protected]</param> + <param name="changelog-provider">gh,openstack,oslo.i18n</param> </service> <service mode="disabled" name="download_files"> - <param name="changesgenerate">enable</param> - </service> - <service name="refresh_patches" mode="disabled"> - <param name="changesgenerate">enable</param> </service> + <service name="format_spec_file" mode="disabled"/> </services> ++++++ oslo.i18n-3.9.0.tar.gz -> oslo.i18n-3.12.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-3.9.0/AUTHORS new/oslo.i18n-3.12.0/AUTHORS --- old/oslo.i18n-3.9.0/AUTHORS 2016-08-18 20:01:31.000000000 +0200 +++ new/oslo.i18n-3.12.0/AUTHORS 2017-01-18 15:11:19.000000000 +0100 @@ -1,3 +1,4 @@ +Akihiro Motoki <[email protected]> Akihiro Motoki <[email protected]> Alessio Ababilov <[email protected]> Anderson Mesquita <[email protected]> @@ -18,6 +19,7 @@ Dina Belova <[email protected]> Doug Hellmann <[email protected]> Doug Hellmann <[email protected]> +Flavio Percoco <[email protected]> James Carey <[email protected]> Jason Kölker <[email protected]> Jay Pipes <[email protected]> @@ -30,6 +32,7 @@ Juan Antonio Osorio <[email protected]> Julien Danjou <[email protected]> Luis A. Garcia <[email protected]> +Luong Anh Tuan <[email protected]> Mark McLoughlin <[email protected]> Mathew Odden <[email protected]> Matt Odden <[email protected]> @@ -44,10 +47,13 @@ Sean McGinnis <[email protected]> Sergey Kraynev <[email protected]> Steve Martinelli <[email protected]> +Tony Breeds <[email protected]> Victor Sergeyev <[email protected]> Victor Stinner <[email protected]> ZhiQiang Fan <[email protected]> Zhiteng Huang <[email protected]> Zhongyue Luo <[email protected]> +howardlee <[email protected]> +melissaml <[email protected]> venkatamahesh <[email protected]> yanheven <[email protected]> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-3.9.0/ChangeLog new/oslo.i18n-3.12.0/ChangeLog --- old/oslo.i18n-3.9.0/ChangeLog 2016-08-18 20:01:31.000000000 +0200 +++ new/oslo.i18n-3.12.0/ChangeLog 2017-01-18 15:11:19.000000000 +0100 @@ -1,6 +1,30 @@ CHANGES ======= +3.12.0 +------ + +* Add Constraints support +* Show team and repo badges on README +* Replace six.iteritems() with .items() + +3.11.0 +------ + +* Updated from global requirements +* Updated from global requirements +* Updated from global requirements +* Add reno for release notes management +* Add missing dependency testscenarios +* Typo fix in oslo.i18n +* Changed the home-page link +* Add docs on how to display translated strings in your app + +3.10.0 +------ + +* Updated from global requirements + 3.9.0 ----- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-3.9.0/PKG-INFO new/oslo.i18n-3.12.0/PKG-INFO --- old/oslo.i18n-3.9.0/PKG-INFO 2016-08-18 20:01:32.000000000 +0200 +++ new/oslo.i18n-3.12.0/PKG-INFO 2017-01-18 15:11:19.000000000 +0100 @@ -1,12 +1,21 @@ Metadata-Version: 1.1 Name: oslo.i18n -Version: 3.9.0 +Version: 3.12.0 Summary: Oslo i18n library -Home-page: http://wiki.openstack.org/wiki/Oslo#oslo.i18n +Home-page: http://docs.openstack.org/developer/oslo.i18n Author: OpenStack Author-email: [email protected] License: UNKNOWN -Description: ================================================== +Description: ======================== + Team and repository tags + ======================== + + .. image:: http://governance.openstack.org/badges/oslo.i18n.svg + :target: http://governance.openstack.org/reference/tags/index.html + + .. Change things from this point on + + ================================================== oslo.i18n -- Oslo Internationalization Utilities ================================================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-3.9.0/README.rst new/oslo.i18n-3.12.0/README.rst --- old/oslo.i18n-3.9.0/README.rst 2016-08-18 19:58:12.000000000 +0200 +++ new/oslo.i18n-3.12.0/README.rst 2017-01-18 15:09:53.000000000 +0100 @@ -1,3 +1,12 @@ +======================== +Team and repository tags +======================== + +.. image:: http://governance.openstack.org/badges/oslo.i18n.svg + :target: http://governance.openstack.org/reference/tags/index.html + +.. Change things from this point on + ================================================== oslo.i18n -- Oslo Internationalization Utilities ================================================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-3.9.0/doc/source/guidelines.rst new/oslo.i18n-3.12.0/doc/source/guidelines.rst --- old/oslo.i18n-3.9.0/doc/source/guidelines.rst 2016-08-18 19:58:12.000000000 +0200 +++ new/oslo.i18n-3.12.0/doc/source/guidelines.rst 2017-01-18 15:09:53.000000000 +0100 @@ -149,13 +149,13 @@ # WRONG LOG.exception(_('There was an error.')) - raise LocalExceptionClass(_('An error occured.')) + raise LocalExceptionClass(_('An error occurred.')) Instead, use this style:: # RIGHT LOG.exception(_LE('There was an error.')) - raise LocalExceptionClass(_('An error occured.')) + raise LocalExceptionClass(_('An error occurred.')) Adding Variables to Translated Messages diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-3.9.0/doc/source/usage.rst new/oslo.i18n-3.12.0/doc/source/usage.rst --- old/oslo.i18n-3.9.0/doc/source/usage.rst 2016-08-18 19:58:12.000000000 +0200 +++ new/oslo.i18n-3.12.0/doc/source/usage.rst 2017-01-18 15:09:53.000000000 +0100 @@ -216,3 +216,44 @@ .. seealso:: * :doc:`guidelines` + +Displaying translated messages +============================== + +Several preparations are required to display translated messages in your +running application. + +Preferred language + You need to specify your preferred language through an environment variable. + The preferred language can be specified by ``LANGUAGE``, ``LC_ALL``, + ``LC_MESSAGES``, or ``LANGUAGE`` (A former one has a priority). + + ``oslo_i18n.translate()`` can be used to translate a string to override the + preferred language. + + .. note:: + + You need to use ``enable_lazy()`` to override the preferred language + by using ``oslo_i18n.translate()``. + +Locale directory + Python ``gettext`` looks for binary ``mo`` files for the given domain + using the path ``<localedir>/<language>/LC_MESSAGES/<domain>.mo``. + The default locale directory varies on distributions, + and it is ``/usr/share/locale`` in most cases. + + If you store message catalogs in a different location, + you need to specify the location via an environment variable + named ``<DOMAIN>_LOCALEDIR`` where ``<DOMAIN>`` is an upper-case + domain name with replacing ``_`` and ``.`` with ``-``. + For example, ``NEUTRON_LOCALEDIR`` for a domain ``neutron`` and + ``OSLO_I18N_LOCALEDIR`` for a domain ``oslo_i18n``. + + .. note:: + + When you specify locale directories via ``<DOMAIN>_LOCALEDIR`` + environment variables, you need to specify an environment variable per + domain. More concretely, if your application using a domain ``myapp` + uses oslo.policy, you need to specify both ``MYAPP_LOCALEDIR`` and + ``OSLO_POLICY_LOCALEDIR`` to ensure that translation messages from + both your application and oslo.policy are displayed. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-3.9.0/oslo.i18n.egg-info/PKG-INFO new/oslo.i18n-3.12.0/oslo.i18n.egg-info/PKG-INFO --- old/oslo.i18n-3.9.0/oslo.i18n.egg-info/PKG-INFO 2016-08-18 20:01:31.000000000 +0200 +++ new/oslo.i18n-3.12.0/oslo.i18n.egg-info/PKG-INFO 2017-01-18 15:11:19.000000000 +0100 @@ -1,12 +1,21 @@ Metadata-Version: 1.1 Name: oslo.i18n -Version: 3.9.0 +Version: 3.12.0 Summary: Oslo i18n library -Home-page: http://wiki.openstack.org/wiki/Oslo#oslo.i18n +Home-page: http://docs.openstack.org/developer/oslo.i18n Author: OpenStack Author-email: [email protected] License: UNKNOWN -Description: ================================================== +Description: ======================== + Team and repository tags + ======================== + + .. image:: http://governance.openstack.org/badges/oslo.i18n.svg + :target: http://governance.openstack.org/reference/tags/index.html + + .. Change things from this point on + + ================================================== oslo.i18n -- Oslo Internationalization Utilities ================================================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-3.9.0/oslo.i18n.egg-info/SOURCES.txt new/oslo.i18n-3.12.0/oslo.i18n.egg-info/SOURCES.txt --- old/oslo.i18n-3.9.0/oslo.i18n.egg-info/SOURCES.txt 2016-08-18 20:01:32.000000000 +0200 +++ new/oslo.i18n-3.12.0/oslo.i18n.egg-info/SOURCES.txt 2017-01-18 15:11:19.000000000 +0100 @@ -60,4 +60,11 @@ oslo_i18n/tests/test_message.py oslo_i18n/tests/test_public_api.py oslo_i18n/tests/test_translate.py -oslo_i18n/tests/utils.py \ No newline at end of file +oslo_i18n/tests/utils.py +releasenotes/notes/add-reno-996dd44974d53238.yaml +releasenotes/source/conf.py +releasenotes/source/index.rst +releasenotes/source/unreleased.rst +releasenotes/source/_static/.placeholder +releasenotes/source/_templates/.placeholder +tools/tox_install.sh \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-3.9.0/oslo.i18n.egg-info/pbr.json new/oslo.i18n-3.12.0/oslo.i18n.egg-info/pbr.json --- old/oslo.i18n-3.9.0/oslo.i18n.egg-info/pbr.json 2016-08-18 20:01:31.000000000 +0200 +++ new/oslo.i18n-3.12.0/oslo.i18n.egg-info/pbr.json 2017-01-18 15:11:19.000000000 +0100 @@ -1 +1 @@ -{"git_version": "1f8d018", "is_release": true} \ No newline at end of file +{"is_release": true, "git_version": "de6b4a3"} \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-3.9.0/oslo.i18n.egg-info/requires.txt new/oslo.i18n-3.12.0/oslo.i18n.egg-info/requires.txt --- old/oslo.i18n-3.9.0/oslo.i18n.egg-info/requires.txt 2016-08-18 20:01:31.000000000 +0200 +++ new/oslo.i18n-3.12.0/oslo.i18n.egg-info/requires.txt 2017-01-18 15:11:19.000000000 +0100 @@ -1,3 +1,3 @@ -pbr>=1.6 +pbr>=1.8 Babel>=2.3.4 six>=1.9.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-3.9.0/oslo_i18n/_gettextutils.py new/oslo.i18n-3.12.0/oslo_i18n/_gettextutils.py --- old/oslo.i18n-3.9.0/oslo_i18n/_gettextutils.py 2016-08-18 19:58:12.000000000 +0200 +++ new/oslo.i18n-3.12.0/oslo_i18n/_gettextutils.py 2017-01-18 15:09:53.000000000 +0100 @@ -22,7 +22,6 @@ import os from babel import localedata -import six from oslo_i18n import _factory from oslo_i18n import _locale @@ -82,7 +81,7 @@ 'zh_Hant': 'zh_TW', 'fil': 'tl_PH'} - language_list.extend(alias for locale, alias in six.iteritems(aliases) + language_list.extend(alias for locale, alias in aliases.items() if (locale in language_list and alias not in language_list)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-3.9.0/oslo_i18n/_translate.py new/oslo.i18n-3.12.0/oslo_i18n/_translate.py --- old/oslo.i18n-3.9.0/oslo_i18n/_translate.py 2016-08-18 19:58:12.000000000 +0200 +++ new/oslo.i18n-3.12.0/oslo_i18n/_translate.py 2017-01-18 15:09:53.000000000 +0100 @@ -68,6 +68,6 @@ return tuple(translate(v, desired_locale) for v in args) if isinstance(args, dict): translated_dict = dict((key, translate(value, desired_locale)) - for key, value in six.iteritems(args)) + for key, value in args.items()) return translated_dict return translate(args, desired_locale) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-3.9.0/releasenotes/notes/add-reno-996dd44974d53238.yaml new/oslo.i18n-3.12.0/releasenotes/notes/add-reno-996dd44974d53238.yaml --- old/oslo.i18n-3.9.0/releasenotes/notes/add-reno-996dd44974d53238.yaml 1970-01-01 01:00:00.000000000 +0100 +++ new/oslo.i18n-3.12.0/releasenotes/notes/add-reno-996dd44974d53238.yaml 2017-01-18 15:09:53.000000000 +0100 @@ -0,0 +1,3 @@ +--- +other: + - Introduce reno for deployer release notes. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-3.9.0/releasenotes/source/conf.py new/oslo.i18n-3.12.0/releasenotes/source/conf.py --- old/oslo.i18n-3.9.0/releasenotes/source/conf.py 1970-01-01 01:00:00.000000000 +0100 +++ new/oslo.i18n-3.12.0/releasenotes/source/conf.py 2017-01-18 15:09:53.000000000 +0100 @@ -0,0 +1,276 @@ +# -*- coding: utf-8 -*- +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# This file is execfile()d with the current directory set to its +# containing dir. +# +# Note that not all possible configuration values are present in this +# autogenerated file. +# +# All configuration values have a default; values that are commented out +# serve to show the default. + +# If extensions (or modules to document with autodoc) are in another directory, +# add these directories to sys.path here. If the directory is relative to the +# documentation root, use os.path.abspath to make it absolute, like shown here. +# sys.path.insert(0, os.path.abspath('.')) + +# -- General configuration ------------------------------------------------ + +# If your documentation needs a minimal Sphinx version, state it here. +# needs_sphinx = '1.0' + +# Add any Sphinx extension module names here, as strings. They can be +# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom +# ones. +extensions = [ + 'oslosphinx', + 'reno.sphinxext', +] + +# Add any paths that contain templates here, relative to this directory. +templates_path = ['_templates'] + +# The suffix of source filenames. +source_suffix = '.rst' + +# The encoding of source files. +# source_encoding = 'utf-8-sig' + +# The master toctree document. +master_doc = 'index' + +# General information about the project. +project = u'oslo.i18n Release Notes' +copyright = u'2016, oslo.i18n Developers' + +# The version info for the project you're documenting, acts as replacement for +# |version| and |release|, also used in various other places throughout the +# built documents. +# +# The short X.Y version. +# The full version, including alpha/beta/rc tags. +import pkg_resources +release = pkg_resources.get_distribution('oslo.i18n').version +# The short X.Y version. +version = release + +# The language for content autogenerated by Sphinx. Refer to documentation +# for a list of supported languages. +# language = None + +# There are two options for replacing |today|: either, you set today to some +# non-false value, then it is used: +# today = '' +# Else, today_fmt is used as the format for a strftime call. +# today_fmt = '%B %d, %Y' + +# List of patterns, relative to source directory, that match files and +# directories to ignore when looking for source files. +exclude_patterns = [] + +# The reST default role (used for this markup: `text`) to use for all +# documents. +# default_role = None + +# If true, '()' will be appended to :func: etc. cross-reference text. +# add_function_parentheses = True + +# If true, the current module name will be prepended to all description +# unit titles (such as .. function::). +# add_module_names = True + +# If true, sectionauthor and moduleauthor directives will be shown in the +# output. They are ignored by default. +# show_authors = False + +# The name of the Pygments (syntax highlighting) style to use. +pygments_style = 'sphinx' + +# A list of ignored prefixes for module index sorting. +# modindex_common_prefix = [] + +# If true, keep warnings as "system message" paragraphs in the built documents. +# keep_warnings = False + + +# -- Options for HTML output ---------------------------------------------- + +# The theme to use for HTML and HTML Help pages. See the documentation for +# a list of builtin themes. +html_theme = 'default' + +# Theme options are theme-specific and customize the look and feel of a theme +# further. For a list of options available for each theme, see the +# documentation. +# html_theme_options = {} + +# Add any paths that contain custom themes here, relative to this directory. +# html_theme_path = [] + +# The name for this set of Sphinx documents. If None, it defaults to +# "<project> v<release> documentation". +# html_title = None + +# A shorter title for the navigation bar. Default is the same as html_title. +# html_short_title = None + +# The name of an image file (relative to this directory) to place at the top +# of the sidebar. +# html_logo = None + +# The name of an image file (within the static path) to use as favicon of the +# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 +# pixels large. +# html_favicon = None + +# Add any paths that contain custom static files (such as style sheets) here, +# relative to this directory. They are copied after the builtin static files, +# so a file named "default.css" will overwrite the builtin "default.css". +html_static_path = ['_static'] + +# Add any extra paths that contain custom files (such as robots.txt or +# .htaccess) here, relative to this directory. These files are copied +# directly to the root of the documentation. +# html_extra_path = [] + +# If not '', a 'Last updated on:' timestamp is inserted at every page bottom, +# using the given strftime format. +# html_last_updated_fmt = '%b %d, %Y' + +# If true, SmartyPants will be used to convert quotes and dashes to +# typographically correct entities. +# html_use_smartypants = True + +# Custom sidebar templates, maps document names to template names. +# html_sidebars = {} + +# Additional templates that should be rendered to pages, maps page names to +# template names. +# html_additional_pages = {} + +# If false, no module index is generated. +# html_domain_indices = True + +# If false, no index is generated. +# html_use_index = True + +# If true, the index is split into individual pages for each letter. +# html_split_index = False + +# If true, links to the reST sources are added to the pages. +# html_show_sourcelink = True + +# If true, "Created using Sphinx" is shown in the HTML footer. Default is True. +# html_show_sphinx = True + +# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True. +# html_show_copyright = True + +# If true, an OpenSearch description file will be output, and all pages will +# contain a <link> tag referring to it. The value of this option must be the +# base URL from which the finished HTML is served. +# html_use_opensearch = '' + +# This is the file name suffix for HTML files (e.g. ".xhtml"). +# html_file_suffix = None + +# Output file base name for HTML help builder. +htmlhelp_basename = 'oslo.i18nReleaseNotesDoc' + + +# -- Options for LaTeX output --------------------------------------------- + +latex_elements = { + # The paper size ('letterpaper' or 'a4paper'). + # 'papersize': 'letterpaper', + + # The font size ('10pt', '11pt' or '12pt'). + # 'pointsize': '10pt', + + # Additional stuff for the LaTeX preamble. + # 'preamble': '', +} + +# Grouping the document tree into LaTeX files. List of tuples +# (source start file, target name, title, +# author, documentclass [howto, manual, or own class]). +latex_documents = [ + ('index', 'oslo.i18nReleaseNotes.tex', + u'oslo.i18n Release Notes Documentation', + u'oslo.i18n Developers', 'manual'), +] + +# The name of an image file (relative to this directory) to place at the top of +# the title page. +# latex_logo = None + +# For "manual" documents, if this is true, then toplevel headings are parts, +# not chapters. +# latex_use_parts = False + +# If true, show page references after internal links. +# latex_show_pagerefs = False + +# If true, show URL addresses after external links. +# latex_show_urls = False + +# Documents to append as an appendix to all manuals. +# latex_appendices = [] + +# If false, no module index is generated. +# latex_domain_indices = True + + +# -- Options for manual page output --------------------------------------- + +# One entry per manual page. List of tuples +# (source start file, name, description, authors, manual section). +man_pages = [ + ('index', 'oslo.i18nReleaseNotes', + u'oslo.i18n Release Notes Documentation', + [u'oslo.i18n Developers'], 1) +] + +# If true, show URL addresses after external links. +# man_show_urls = False + + +# -- Options for Texinfo output ------------------------------------------- + +# Grouping the document tree into Texinfo files. List of tuples +# (source start file, target name, title, author, +# dir menu entry, description, category) +texinfo_documents = [ + ('index', 'oslo.i18nReleaseNotes', + u'oslo.i18n Release Notes Documentation', + u'oslo.i18n Developers', 'oslo.i18nReleaseNotes', + 'One line description of project.', + 'Miscellaneous'), +] + +# Documents to append as an appendix to all manuals. +# texinfo_appendices = [] + +# If false, no module index is generated. +# texinfo_domain_indices = True + +# How to display URL addresses: 'footnote', 'no', or 'inline'. +# texinfo_show_urls = 'footnote' + +# If true, do not generate a @detailmenu in the "Top" node's menu. +# texinfo_no_detailmenu = False + +# -- Options for Internationalization output ------------------------------ +locale_dirs = ['locale/'] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-3.9.0/releasenotes/source/index.rst new/oslo.i18n-3.12.0/releasenotes/source/index.rst --- old/oslo.i18n-3.9.0/releasenotes/source/index.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/oslo.i18n-3.12.0/releasenotes/source/index.rst 2017-01-18 15:09:53.000000000 +0100 @@ -0,0 +1,8 @@ +========================= + oslo.i18n Release Notes +========================= + + .. toctree:: + :maxdepth: 1 + + unreleased diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-3.9.0/releasenotes/source/unreleased.rst new/oslo.i18n-3.12.0/releasenotes/source/unreleased.rst --- old/oslo.i18n-3.9.0/releasenotes/source/unreleased.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/oslo.i18n-3.12.0/releasenotes/source/unreleased.rst 2017-01-18 15:09:53.000000000 +0100 @@ -0,0 +1,5 @@ +========================== + Unreleased Release Notes +========================== + +.. release-notes:: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-3.9.0/requirements.txt new/oslo.i18n-3.12.0/requirements.txt --- old/oslo.i18n-3.9.0/requirements.txt 2016-08-18 19:58:12.000000000 +0200 +++ new/oslo.i18n-3.12.0/requirements.txt 2017-01-18 15:09:53.000000000 +0100 @@ -2,6 +2,6 @@ # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. -pbr>=1.6 # Apache-2.0 +pbr>=1.8 # Apache-2.0 Babel>=2.3.4 # BSD six>=1.9.0 # MIT diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-3.9.0/setup.cfg new/oslo.i18n-3.12.0/setup.cfg --- old/oslo.i18n-3.9.0/setup.cfg 2016-08-18 20:01:32.000000000 +0200 +++ new/oslo.i18n-3.12.0/setup.cfg 2017-01-18 15:11:19.000000000 +0100 @@ -5,7 +5,7 @@ README.rst author = OpenStack author-email = [email protected] -home-page = http://wiki.openstack.org/wiki/Oslo#oslo.i18n +home-page = http://docs.openstack.org/developer/oslo.i18n classifier = Environment :: OpenStack Intended Audience :: Information Technology @@ -53,5 +53,4 @@ [egg_info] tag_build = tag_date = 0 -tag_svn_revision = 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-3.9.0/test-requirements.txt new/oslo.i18n-3.12.0/test-requirements.txt --- old/oslo.i18n-3.9.0/test-requirements.txt 2016-08-18 19:58:12.000000000 +0200 +++ new/oslo.i18n-3.12.0/test-requirements.txt 2017-01-18 15:09:53.000000000 +0100 @@ -4,12 +4,15 @@ hacking<0.11,>=0.10.0 -sphinx!=1.3b1,<1.3,>=1.2.1 # BSD -oslosphinx!=3.4.0,>=2.5.0 # Apache-2.0 +sphinx!=1.3b1,<1.4,>=1.2.1 # BSD +oslosphinx>=4.7.0 # Apache-2.0 mock>=2.0 # BSD oslotest>=1.10.0 # Apache-2.0 -coverage>=3.6 # Apache-2.0 +coverage>=4.0 # Apache-2.0 +testscenarios>=0.4 # Apache-2.0/BSD # for pre-release tests -oslo.config>=3.14.0 # Apache-2.0 +oslo.config!=3.18.0,>=3.14.0 # Apache-2.0 + +reno>=1.8.0 # Apache-2.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-3.9.0/tools/tox_install.sh new/oslo.i18n-3.12.0/tools/tox_install.sh --- old/oslo.i18n-3.9.0/tools/tox_install.sh 1970-01-01 01:00:00.000000000 +0100 +++ new/oslo.i18n-3.12.0/tools/tox_install.sh 2017-01-18 15:09:53.000000000 +0100 @@ -0,0 +1,30 @@ +#!/usr/bin/env bash + +# Client constraint file contains this client version pin that is in conflict +# with installing the client from source. We should remove the version pin in +# the constraints file before applying it for from-source installation. + +CONSTRAINTS_FILE="$1" +shift 1 + +set -e + +# NOTE(tonyb): Place this in the tox enviroment's log dir so it will get +# published to logs.openstack.org for easy debugging. +localfile="$VIRTUAL_ENV/log/upper-constraints.txt" + +if [[ "$CONSTRAINTS_FILE" != http* ]]; then + CONSTRAINTS_FILE="file://$CONSTRAINTS_FILE" +fi +# NOTE(tonyb): need to add curl to bindep.txt if the project supports bindep +curl "$CONSTRAINTS_FILE" --insecure --progress-bar --output "$localfile" + +pip install -c"$localfile" openstack-requirements + +# This is the main purpose of the script: Allow local installation of +# the current repo. It is listed in constraints file and thus any +# install will be constrained and we need to unconstrain it. +edit-constraints "$localfile" -- "$CLIENT_NAME" + +pip install -c"$localfile" -U "$@" +exit $? diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-3.9.0/tox.ini new/oslo.i18n-3.12.0/tox.ini --- old/oslo.i18n-3.9.0/tox.ini 2016-08-18 19:58:12.000000000 +0200 +++ new/oslo.i18n-3.12.0/tox.ini 2017-01-18 15:09:53.000000000 +0100 @@ -1,8 +1,13 @@ [tox] -minversion = 1.6 +minversion = 2.0 envlist = py34,py27,pep8 [testenv] +setenv = + VIRTUAL_ENV={envdir} + BRANCH_NAME=master + CLIENT_NAME=oslo.i18n +install_command = {toxinidir}/tools/tox_install.sh {env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages} deps = -r{toxinidir}/test-requirements.txt commands = python setup.py testr --slowest --testr-args='{posargs}' @@ -36,3 +41,6 @@ # of the requirements.txt files deps = pip_missing_reqs commands = pip-missing-reqs -d --ignore-module=oslo_i18n* --ignore-file=oslo_i18n/tests/* --ignore-file=tests/ oslo_i18n + +[testenv:releasenotes] +commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
