commit ad72323f96805d5d748e8c71df81224607a13ec7573ecee421db7cf3ef927f97 Author: Dominique Leuenberger Date: Wed May 4 06:19:29 2016 +0000 Accepting request 387870 from Cloud:OpenStack:Factory OBS-URL: https://build.opensuse.org/request/show/387870 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-osprofiler?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/osprofiler-1.2.0.tar.gz b/osprofiler-1.2.0.tar.gz new file mode 100644 index 0000000..5f85eee --- /dev/null +++ b/osprofiler-1.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:62447e1ed954587036e1fa62b9f7d5f9d23b585f6fd0bf7a4c3b7926880f7f0d +size 53375 diff --git a/python-osprofiler.changes b/python-osprofiler.changes new file mode 100644 index 0000000..fcf1656 --- /dev/null +++ b/python-osprofiler.changes @@ -0,0 +1,60 @@ +------------------------------------------------------------------- +Sun Feb 28 13:12:06 UTC 2016 - dmueller@suse.com + +- update to 1.2.0: + * Remove flake8 ignore list in tox.ini + * run py34 tests before py27 to work around testr bug + * stop making a copy of options discovered by config generator + * Make class detection more accurate + * Disable staticmethods tracing + * Add fix for static and class methods in @trace_cls + * Expose X-Trace-* constants + * Add raw Ceilometer events support to DevStack plugin + * Use raw data storage for events to collect more info + * Use oslo.utils reflection and avoid refinding decorated name + * Move osprofiler tests into osprofiler + * Consolidate osprofiler options + * Remove argparse from requirements + * Add py34 to tox env list + * Make profiler timestamp json.dumps friendly + * Replace deprecated library function os.popen() with subprocess + * Add DevStack plugin + * Remove Py33 support + * Make it possible to specify file path as a source for trace + * Remove support for py26 + * Improve HTML reports performance + * Fix TracedMeta class + * Fix a couple of typos in doc strings + * Fix Ceilometer parser to use events + * remove python 2.6 trove classifier + * Add TracedMeta class + * Update requirements + * Deprecated tox -downloadcache option removed + * Fix enable/disable compatibility + * Add hacking rules & fix hacking issues + +------------------------------------------------------------------- +Tue Nov 17 14:33:11 UTC 2015 - bwiedemann@suse.com + +- update to 0.3.1 + * Make api-paste.ini config optional + * Fix minor typos in the multi-backend specification + * Spec: Integration Testing + * Spec: Better DevStack Integration + * Spec: Multi Backend support + * Spec: Optional options in api-paste.ini + * Add specs base structure + * Update .gitreview for new namespace + * Fix date parsing when there's not milliseconds in the date + * Various cleanups + * Remove version from setup.cfg + * Stop using intersphinx + * Rename doc environment to docs + * Imporve generated trace html + * Adding a hits to notice operator when trace not found + +------------------------------------------------------------------- +Wed Aug 20 06:52:43 UTC 2014 - tbechtold@suse.com + +- Initial version + diff --git a/python-osprofiler.spec b/python-osprofiler.spec new file mode 100644 index 0000000..327dcf8 --- /dev/null +++ b/python-osprofiler.spec @@ -0,0 +1,85 @@ +# +# spec file for package python-osprofiler +# +# Copyright (c) 2016 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 +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +Name: python-osprofiler +Version: 1.2.0 +Release: 0 +Summary: OpenStack Profiler Library +License: Apache-2.0 +Group: Development/Languages/Python +Url: https://github.com/stackforge/osprofiler +Source: https://pypi.python.org/packages/source/o/osprofiler/osprofiler-%{version}.tar.gz +BuildRequires: python-WebOb +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 +Requires: python-WebOb >= 1.2.3 +Requires: python-oslo.config >= 3.2.0 +Requires: python-oslo.utils >= 3.4.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. + +Background +---------- + +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. + +%prep +%setup -q -n osprofiler-%{version} + +%build +python setup.py build + +%install +python setup.py install --prefix=%{_prefix} --root=%{buildroot} + +%check +nosetests + +%files +%defattr(-,root,root,-) +%doc LICENSE ChangeLog README.rst AUTHORS +%{_bindir}/osprofiler +%{python_sitelib}/* + +%changelog