Change in ovirt-engine-sdk[master]: Automatically generate 'version.py'

Code Review gerrit at ovirt.org
Tue Feb 7 15:17:34 UTC 2017


>From Ondra Machacek <omachace at redhat.com>:

Ondra Machacek has submitted this change and it was merged.

Change subject: Automatically generate 'version.py'
......................................................................


Automatically generate 'version.py'

Currently the 'version.py' file is updated manually with each release of
the project, and it needs to be in sync with the version specified in
the POM files. To avoid that this patch changes the SDK so that the
'version.py' file is atumatically generated, taking the version number
from the root POM file.

Change-Id: Ib9d5dce6b48c2e6c1a3dcc43fa17204c88096632
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M .gitignore
M generator/src/main/java/org/ovirt/sdk/python/PythonBuffer.java
M generator/src/main/java/org/ovirt/sdk/python/PythonNames.java
M generator/src/main/java/org/ovirt/sdk/python/Tool.java
A generator/src/main/java/org/ovirt/sdk/python/VersionGenerator.java
D sdk/lib/ovirtsdk4/version.py
M sdk/pom.xml
M sdk/setup.py
8 files changed, 150 insertions(+), 37 deletions(-)

Approvals:
  Ondra Machacek: Looks good to me, approved
  Juan Hernandez: Verified
  Jenkins CI: Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/71779
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib9d5dce6b48c2e6c1a3dcc43fa17204c88096632
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine-sdk
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Ondra Machacek <omachace at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>


More information about the Engine-commits mailing list