[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Where is OpenShift RPM package build number from?



Good question.
Hopefully as good an answer.

When OpenShift Origin creates a release, they take all the packages and
move them onto their own branch.  On that branch, they append another
number at the end.
To see and/or get on the branch, do the following, when in the
origin-server git repo.

[tdawson origin-server (master)]$ git tag | grep
openshift-origin-broker-1.16
openshift-origin-broker-1.16.1-1
openshift-origin-broker-1.16.1.1-1
openshift-origin-broker-1.16.2-1
[tdawson origin-server (master)]$ git checkout
openshift-origin-broker-1.16.1.1-1
[tdawson origin-server ((openshift-origin-broker-1.16.1.1-1))]$ grep
Version: ./broker/openshift-origin-broker.spec
Version:       1.16.1.1

If there is a reason to change that branched version, then that end
number would get incremented.  1.16.1.2  That way they can fix problems
that are just release related, without disturbing the rest of the
openshift origin workflow.

Troy

On 12/22/2014 02:17 AM, Nakayama Kenjiro wrote:
> Hi, list
> 
> This question is from 100% my curious, but I hope someone give me the
> answer.
> 
> OpenShift RPM packages have their version, build(?), and release number
> like this:
> 
>   "openshift-origin-broker-1.16.1.1-1.el6.noarch.rpm"
> 
> But their spec file has version and release number like this:
> 
> $OSE_SRC/broker/openshift-origin-broker.spec
> ~~~~
> Version: 1.16.1
> Release: 1%{?dist}
> ~~~
> https://github.com/openshift/origin-server/blob/master/broker/openshift-origin-broker.spec#L20-L21
> 
> So where is the third ".1" from? I mean "1.16.1.1-1.el6" consists of
> 
>   Version = "1.16.1"
>   ???     = ".1"     <- where is this from?
>   Release = "-1.el6"
> 
> It looks like build number, but where and how does it pu on the RPM package?
> 
> Thank you in advance for your help.
> Kenjiro
> 
> -- 
> Kenjiro NAKAYAMA <nakayamakenjiro gmail com
> <mailto:nakayamakenjiro gmail com>>
> GPG Key fingerprint = ED8F 049D E67A 727D 9A44  8E25 F44B E208 C946 5EB9
> 
> 
> _______________________________________________
> dev mailing list
> dev lists openshift redhat com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/dev
> 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]