Hello community,

here is the log from the commit of package python-openstackdocstheme for 
openSUSE:Factory checked in at 2019-11-04 17:04:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-openstackdocstheme (Old)
 and      /work/SRC/openSUSE:Factory/.python-openstackdocstheme.new.2990 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-openstackdocstheme"

Mon Nov  4 17:04:59 2019 rev:9 rq:736643 version:1.31.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-openstackdocstheme/python-openstackdocstheme.changes
      2019-04-12 09:13:39.457649425 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-openstackdocstheme.new.2990/python-openstackdocstheme.changes
    2019-11-04 17:05:00.764171794 +0100
@@ -1,0 +2,32 @@
+Wed Oct  9 12:54:28 UTC 2019 - [email protected]
+
+- added 0001-Catch-any-exception-when-trying-to-call-git.patch
+- update to version 1.31.1
+  - js: Remove dead or unused JS
+  - Fix version dropdown
+  - Make 'docstheme-build-pdf' executable
+  - Add missing fonts for pdf build in Sphinx 2.0
+  - Update for OpenDev change
+  - Remove a heap of dead CSS rules
+  - css: Use https links (StarlingX)
+  - css: Don't use bold text in titles (StarlingX)
+  - css: General cleanup
+  - Add missing 'role="main"' attribute
+  - Update api-ref location
+  - Allow to override build date with SOURCE_DATE_EPOCH
+  - OpenDev Migration Patch
+  - Prevent InvocationError on non-existent files
+  - Add 'docstheme-build-pdf' script
+  - Add reno for recent CSS cleanups
+  - Add table styling
+  - css: Use ellipsis for long titles in sidebar (StarlingX)
+  - Update API sidebar
+  - css: Add symlinks for openstack logos
+  - Note External Link Helper is not compatible with project only master brach
+  - Removed 'combined.css' for 'starlingxdocs' theme
+  - css: Move bootstrap modifications to 'combined.css' (StarlingX)
+  - setup.cfg: Remove remanents of 'build_sphinx' usage
+  - js: Fix some comments
+  - Reference OpenStack logo in openstackdocstheme
+
+-------------------------------------------------------------------

Old:
----
  openstackdocstheme-1.29.2.tar.gz

New:
----
  0001-Catch-any-exception-when-trying-to-call-git.patch
  openstackdocstheme-1.31.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-openstackdocstheme.spec ++++++
--- /var/tmp/diff_new_pack.HdIh0Y/_old  2019-11-04 17:05:01.424172499 +0100
+++ /var/tmp/diff_new_pack.HdIh0Y/_new  2019-11-04 17:05:01.444172520 +0100
@@ -17,13 +17,15 @@
 
 
 Name:           python-openstackdocstheme
-Version:        1.29.2
+Version:        1.31.1
 Release:        0
 Summary:        OpenStack Docs Theme
 License:        Apache-2.0
 Group:          Development/Languages/Python
 URL:            https://launchpad.net/%{sname}
-Source0:        
https://files.pythonhosted.org/packages/source/o/openstackdocstheme/openstackdocstheme-1.29.2.tar.gz
+Source0:        
https://files.pythonhosted.org/packages/source/o/openstackdocstheme/openstackdocstheme-1.31.1.tar.gz
+# https://review.opendev.org/677868
+Patch0:         0001-Catch-any-exception-when-trying-to-call-git.patch
 BuildRequires:  openstack-macros
 BuildRequires:  python2-Sphinx
 BuildRequires:  python2-dulwich >= 0.15.0
@@ -51,7 +53,7 @@
 to docs.openstack.org. Intended for use by OpenStack projects.
 
 %prep
-%autosetup -p1 -n openstackdocstheme-1.29.2
+%autosetup -p1 -n openstackdocstheme-1.31.1
 
 # we dont need hacking
 sed -i '/^hacking.*/d' test-requirements.txt
@@ -62,14 +64,15 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/docstheme-build-pdf
 %python_clone -a %{buildroot}%{_bindir}/docstheme-build-translated.sh
 %python_clone -a %{buildroot}%{_bindir}/docstheme-lang-display-name.py
 
 %post
-%{python_install_alternative docstheme-build-translated.sh 
docstheme-lang-display-name.py}
+%{python_install_alternative docstheme-build-pdf docstheme-build-translated.sh 
docstheme-lang-display-name.py}
 
 %postun
-%python_uninstall_alternative docstheme-build-translated.sh
+%python_uninstall_alternative docstheme-build-pdf
 
 %check
 %{python_expand rm -rf .testrepository
@@ -79,6 +82,7 @@
 %files %{python_files}
 %license LICENSE
 %doc README.rst
+%python_alternative %{_bindir}/docstheme-build-pdf
 %python_alternative %{_bindir}/docstheme-build-translated.sh
 %python_alternative %{_bindir}/docstheme-lang-display-name.py
 %exclude %{_sysconfdir}/alternatives/*.pyc

++++++ 0001-Catch-any-exception-when-trying-to-call-git.patch ++++++
>From 605f89e5e0f760cb0312fe9bc57db17bc041a753 Mon Sep 17 00:00:00 2001
From: Thomas Bechtold <[email protected]>
Date: Thu, 22 Aug 2019 06:55:15 +0200
Subject: [PATCH] Catch any exception when trying to call "git"

Some projects (like Neutron) do import eventlet in docs/source/conf.py
. eventlet patches the subprocess module and due to that, the
submodule.CalledProcessError exception is not catched. So building the
documentation from an sdist tarball with having git installed (this
combination is common in package build envs like RDO) fails with:

subprocess.CalledProcessError: Command '['git', 'log', '-n1', \
  '--format=%ad', [...snipped...]

Change-Id: Ibff93605996855f01ba2bbe793285674b5c71d2e
---
 openstackdocstheme/page_context.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/openstackdocstheme/page_context.py 
b/openstackdocstheme/page_context.py
index 945bbff..7509296 100644
--- a/openstackdocstheme/page_context.py
+++ b/openstackdocstheme/page_context.py
@@ -35,7 +35,11 @@ def _get_last_updated_file(src_file):
                 '--', src_file,
             ]
         ).decode('utf-8').strip()
-    except (subprocess.CalledProcessError, OSError) as err:
+    # NOTE: we catch any exception here (instead of
+    # subprocess.CalledProcessError and OSError) because some projects (eg.
+    # neutron) do import eventlet in docs/source/conf.py which will patch
+    # the subprocess module and with that, the exception is not catched
+    except Exception as err:
         LOG.info(
             '[openstackdocstheme] Could not get modification time of %s: %s',
             src_file, err)
-- 
2.22.0

++++++ _service ++++++
--- /var/tmp/diff_new_pack.HdIh0Y/_old  2019-11-04 17:05:01.480172559 +0100
+++ /var/tmp/diff_new_pack.HdIh0Y/_new  2019-11-04 17:05:01.480172559 +0100
@@ -1,6 +1,6 @@
 <services>
   <service mode="disabled" name="renderspec">
-    <param 
name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/stein/openstack/openstackdocstheme/openstackdocstheme.spec.j2</param>
+    <param 
name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/train/openstack/openstackdocstheme/openstackdocstheme.spec.j2</param>
     <param name="output-name">python-openstackdocstheme.spec</param>
     <param 
name="requirements">https://raw.githubusercontent.com/openstack/openstackdocstheme/master/requirements.txt</param>
     <param name="changelog-email">[email protected]</param>

++++++ openstackdocstheme-1.29.2.tar.gz -> openstackdocstheme-1.31.1.tar.gz 
++++++
++++ 9716 lines of diff (skipped)


Reply via email to