From 670f60825200356bc32a318f0755ed7a2301b66a Mon Sep 17 00:00:00 2001 From: Vincent Llorens Date: Mon, 10 Oct 2016 10:47:33 +0200 Subject: [PATCH] use pbr fully for easier package building Even though we always had pbr has a dependency, we didn't use it to its full extent to ease the building the process. - use the automatically generated AUTHORS and ChangeLog files when we do a `python setup.py bdist_wheel`. - use pbr postversioning to get the synergy-service package version (see: http://docs.openstack.org/developer/pbr/#version) Sem-Ver: feature Change-Id: I215a08cd488bcff239c0b37622257a848fbb627a --- AUTHORS | 4 ++++ ChangeLog | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ setup.cfg | 6 ++---- setup.py | 2 +- 4 files changed, 64 insertions(+), 5 deletions(-) create mode 100644 AUTHORS create mode 100644 ChangeLog diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 0000000..447392b --- /dev/null +++ b/AUTHORS @@ -0,0 +1,4 @@ +Andreas Jaeger +Lisa Zangrando +Vincent Llorens +ervin diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000..743acc9 --- /dev/null +++ b/ChangeLog @@ -0,0 +1,57 @@ +CHANGES +======= + +* use pbr fully and use postversioning +* RPM: don't output errors on uninstallation +* Fix conf for AMQP virtual host +* Added unit tests +* Fixed destroy() method +* Fixed serializer +* Fixed logging for managers +* fix eventlet and dateutil required versions +* Fix requirement version pinning + +1.1.0 +----- + +* Release v1.1.0 +* setup.cfg mod +* setup.cfg updated +* Use dependency pinning +* Streamline packaging with docker +* Commit for fixes described in https://review.openstack.org/#/c/362762/ +* Synergy enhancements +* Cleanup tox.ini: Remove obsolete constraints + +1.0.1 +----- + +* Bump version to 1.0.1 +* Fix broken link to doc in README + +1.0.0 +----- + +* bump to version 1.0.0 +* first functional test added +* :added pause() and resume() methods to the Manager class +* add unit tests on the Manager class +* logging fixed and synergy shell updated +* update oslo libs required versions +* add synergy CLI to bin/ +* fixed command.Execute() and changed the logging level of service.executeCommand() +* small code cleanup w/o affecting functionalities +* fix logging +* fix CentOS packaging documentation +* update synergy configuration file +* add synergy CLI +* manager fixed + +0.2 +--- + +* bump version & changelog for release v0.2 +* freeze the OpenStack version for CentOS +* fix code that prevented the package from running +* import project from launchpad git repo +* Added .gitreview diff --git a/setup.cfg b/setup.cfg index bfba8e5..bcc907d 100755 --- a/setup.cfg +++ b/setup.cfg @@ -1,9 +1,7 @@ [metadata] name = synergy-service -version = 1.1.0 -summary = Synergy is as an extensible general purpose management OpenStack service. -description-file = - README.rst +summary = Synergy is as an extensible general purpose management OpenStack service. +description-file = README.rst author = Lisa Zangrando author-email = lisa.zangrando@pd.infn.it home-page = https://launchpad.net/synergy-service diff --git a/setup.py b/setup.py index 98b93eb..fd6b2bd 100644 --- a/setup.py +++ b/setup.py @@ -23,5 +23,5 @@ except ImportError: pass setuptools.setup( - setup_requires=['pbr'], + setup_requires=['pbr>=1.8', 'setuptools>=17.1'], pbr=True)