Change in ovirt-reports[master]: packaging: open source like versioning scheme

ydary at redhat.com ydary at redhat.com
Thu Mar 14 13:11:15 UTC 2013


Yaniv Dary has submitted this change and it was merged.

Change subject: packaging: open source like versioning scheme
......................................................................


packaging: open source like versioning scheme

Add version.mak with version information.

Major and minor components are taken from pom.xml.
Fix is taken from version.mak.

Milestone is a string representation of the milestone
example for ordering:
 - master
 - alpha
 - master
 - beta
 - master
 - beta2
 - master
 - rc
 - master
 - rc2
 - master
 - <none>

RPM_RELEASE is a rpm specific release string that should be manually
modified after milestone change.

Example of sequence:

 # master
 FIX_RELEASE=0
 MILESTONE=master
 RPM_RELEASE=0.0.$(MILESTONE).$(shell date -u +%Y%m%d%H%M%S)

 # beta
 FIX_RELEASE=0
 MILESTONE=beta
 RPM_RELEASE=0.1

 # post beta
 FIX_RELEASE=0
 MILESTONE=master
 RPM_RELEASE=0.2.$(MILESTONE).$(shell date -u +%Y%m%d%H%M%S)

 # release
 FIX_RELEASE=0
 MILESTONE=
 RPM_RELEASE=1

 # post release
 FIX_RELEASE=1
 MILESTONE=master
 RPM_RELEASE=0.0.$(MILESTONE).$(shell date -u +%Y%m%d%H%M%S)

Change-Id: Ia6b234ddd317728a77f7e912db270fa8e4f42cf8
Signed-off-by: Alon Bar-Lev <alon.barlev at gmail.com>
---
M Makefile
M packaging/ovirt-engine-reports.spec.in
A version.mak
3 files changed, 62 insertions(+), 18 deletions(-)

Approvals:
  Yaniv Dary: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/12741
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia6b234ddd317728a77f7e912db270fa8e4f42cf8
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-reports
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Yaniv Dary <ydary at redhat.com>



More information about the Engine-commits mailing list