[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
[tdawson origin-server (master)]$ git checkout
[tdawson origin-server ((openshift-origin-broker-]$ grep
Version: ./broker/openshift-origin-broker.spec

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


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-"
> 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 "" 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]