You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Ivan Kozlov <ik...@hortonworks.com> on 2014/03/06 20:02:55 UTC
Review Request 18856: Limiting Ambari version to 3 digits
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/18856/
-----------------------------------------------------------
Review request for Ambari, Andrew Onischuk and Dmitro Lisnichenko.
Bugs: AMBARI-4979
https://issues.apache.org/jira/browse/AMBARI-4979
Repository: ambari
Description
-------
The patch parses
{project.version} value. It takes first 3 numbers as rpm version. If exists 4-th number it is used as rpm release. If 4-th number is not provided (ex. default version is 1.3.0-SNAPSHOT) than release is set to "SNAPSHOT".
RPMs will have now the following names:
(version)-(release).rpm
for example:
ambari-server-1.5.0-54.noarch.rpm
ambari-server-1.3.0-SNAPSHOT.noarch.rpm
{project.version}
value must confirm to the template:
number.number.number.number* OR number.number.number-SNAPSHOT*
samples of version/release info:
rpm -qi -p ambari-server-1.3.0-SNAPSHOT.noarch.rpm
Name : ambari-server Relocations: (not relocatable)
Version : 1.3.0 Vendor: (none)
Release : SNAPSHOT
rpm -qi -p ambari-agent-1.5.0-53.x86_64.rpm
Name : ambari-agent Relocations: (not relocatable)
Version : 1.5.0 Vendor: (none)
Release : 53
Diffs
-----
ambari-server/pom.xml 24c78ff
pom.xml 6b155bc
Diff: https://reviews.apache.org/r/18856/diff/
Testing
-------
building project with and without specifying version
Thanks,
Ivan Kozlov