Hello community, here is the log from the commit of package python-osprofiler for openSUSE:Factory checked in at 2016-09-30 15:29:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-osprofiler (Old) and /work/SRC/openSUSE:Factory/.python-osprofiler.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-osprofiler" Changes: -------- --- /work/SRC/openSUSE:Factory/python-osprofiler/python-osprofiler.changes 2016-05-23 16:40:39.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-osprofiler.new/python-osprofiler.changes 2016-09-30 15:29:53.000000000 +0200 @@ -1,0 +2,26 @@ +Tue Aug 30 15:22:08 UTC 2016 - tbechtold@suse.com + +- update to version 1.4.0 + * Remove discover from test-requirements + * Don't set html_last_updated_fmt without git + * Add exception type to stop trace info + * OSprofiler initialization method + * Fix title of index page + * Add Ceilometer driver + * Expose osprofiler middleware as entrypoint + * Add MongoDB driver + * Improve unit test coverage + * Add connection string usage to osprofiler-cli + * Add tests for mongodb driver + * doc: Log warning when can't get informaiton from git + * Fix typos on spec directory + * Fix typo: 'Olso' to 'Oslo' + * Add backward compatible drivers structure + * Add overall profiler stats by operation + +------------------------------------------------------------------- +Mon Aug 1 18:56:59 UTC 2016 - tbechtold@suse.com + +- Add _service and switch to upstream spec file + +------------------------------------------------------------------- Old: ---- osprofiler-1.3.0.tar.gz New: ---- _service osprofiler-1.4.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-osprofiler.spec ++++++ --- /var/tmp/diff_new_pack.3xU5sa/_old 2016-09-30 15:29:55.000000000 +0200 +++ /var/tmp/diff_new_pack.3xU5sa/_new 2016-09-30 15:29:55.000000000 +0200 @@ -16,72 +16,76 @@ # +%global sname osprofiler Name: python-osprofiler -Version: 1.3.0 +Version: 1.4.0 Release: 0 Summary: OpenStack Profiler Library License: Apache-2.0 Group: Development/Languages/Python -Url: https://git.openstack.org/cgit/openstack/osprofiler -# The link used earlier: https://pypi.python.org/packages/source/o/osprofiler/ is now broken. -# Pypi now provides the lengthy download link as below. -Source: https://pypi.python.org/packages/7a/73/209ff20d871c8d5d25f2d6af0f82808bc5246c6033bf16ea3db03c19f4ef/osprofiler-%{version}.tar.gz -BuildRequires: python-WebOb +Url: https://launchpad.net/osprofiler +Source0: https://pypi.io/packages/source/o/%{sname}/%{sname}-%{version}.tar.gz +BuildRequires: openstack-macros +BuildRequires: python-WebOb >= 1.2.3 +BuildRequires: python-ceilometerclient >= 2.5.0 BuildRequires: python-devel -BuildRequires: python-mock -BuildRequires: python-nose -BuildRequires: python-oslo.config >= 3.2.0 -BuildRequires: python-oslo.utils >= 3.4.0 -BuildRequires: python-oslosphinx -BuildRequires: python-pbr -BuildRequires: python-python-subunit -BuildRequires: python-six -BuildRequires: python-sphinx -BuildRequires: python-testrepository -BuildRequires: python-testtools +BuildRequires: python-mock >= 2.0 +BuildRequires: python-oslo.config >= 3.14.0 +BuildRequires: python-oslo.utils >= 3.16.0 +BuildRequires: python-pymongo >= 3.0.2 +BuildRequires: python-python-subunit >= 0.0.18 +BuildRequires: python-six >= 1.9.0 +BuildRequires: python-testrepository >= 0.0.18 +BuildRequires: python-testtools >= 1.4.0 Requires: python-WebOb >= 1.2.3 -Requires: python-oslo.config >= 3.2.0 -Requires: python-oslo.utils >= 3.4.0 +Requires: python-oslo.config >= 3.14.0 +Requires: python-oslo.utils >= 3.16.0 Requires: python-six >= 1.9.0 -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else BuildArch: noarch -%endif %description -OSProfiler is an OpenStack cross-project profiling library. +OSProfiler provides a tiny but powerful library that is used by +most (soon to be all) OpenStack projects and their python clients. It +provides functionality to be able to generate 1 trace per request, that goes +through all involved services. This trace can then be extracted and used +to build a tree of calls which can be quite handy for a variety of +reasons (for example in isolating cross-project performance issues). -Background ----------- +%package doc +Summary: Documentation for OSProfiler +Group: Development/Languages/Python +BuildRequires: python-Sphinx +BuildRequires: python-oslosphinx >= 2.5.0 -OpenStack consists of multiple projects. Each project, in turn, is composed of -multiple services. To process some request, e.g. to boot a virtual machine, -OpenStack uses multiple services from different projects. In the case something -works too slowly, it's extremely complicated to understand what exactly goes -wrong and to locate the bottleneck. -To resolve this issue, we introduce a tiny but powerful library, osprofiler, -that is going to be used by all OpenStack projects and their -python clients. To be able to generate 1 trace per request, that goes through -all involved services, and builds a tree of calls. +%description doc +Documentation for OSProfiler. %prep -%setup -q -n osprofiler-%{version} +%setup -q -n %{sname}-%{version} %build -python setup.py build +%{py2_build} %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%{py2_install} + +# generate html docs +%{__python2} setup.py build_sphinx +# remove the sphinx-build leftovers +rm -rf doc/build/html/.{doctrees,buildinfo} %check -python setup.py testr --slowest +%{__python2} setup.py testr %files -%defattr(-,root,root,-) -%doc LICENSE ChangeLog README.rst AUTHORS +%license LICENSE +%doc README.rst ChangeLog +%{python2_sitelib}/osprofiler +%{python2_sitelib}/*.egg-info %{_bindir}/osprofiler -%{python_sitelib}/* + +%files doc +%license LICENSE +%doc doc/build/html %changelog ++++++ _service ++++++ <services> <service mode="disabled" name="renderspec"> <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/master/openstack/o...</param> <param name="output-name">python-osprofiler.spec</param> <param name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/master/global-requ...</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> </services> ++++++ osprofiler-1.3.0.tar.gz -> osprofiler-1.4.0.tar.gz ++++++ ++++ 2982 lines of diff (skipped)