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
This commit is contained in:
Vincent Llorens 2016-10-10 10:47:33 +02:00
parent 7fc4a13865
commit 670f608252
4 changed files with 64 additions and 5 deletions

4
AUTHORS Normal file
View File

@ -0,0 +1,4 @@
Andreas Jaeger <aj@suse.com>
Lisa Zangrando <lisa.zangrando@pd.infn.it>
Vincent Llorens <vincent.llorens@cc.in2p3.fr>
ervin <ervin.konomi@pd.infn.it>

57
ChangeLog Normal file
View File

@ -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

View File

@ -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

View File

@ -23,5 +23,5 @@ except ImportError:
pass
setuptools.setup(
setup_requires=['pbr'],
setup_requires=['pbr>=1.8', 'setuptools>=17.1'],
pbr=True)