You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@detiber
Thank you for your reply. But in the following output the package should be version 0.3.1 and not hardcoded 0.2.2 release 4 . So this tito workflow is very nice indeed but it does not cover the version numbering at the moment or did i used tito in a wrong way?
I think the intention is for Origin to be deployed solely as containers. The rpm spec file is there to provide distro maintainers a starting point. I'm not totally sure we'll stick with this tito process much longer anyway so this may go away.
I guess technically since we need a git tag to create the releases in github we could technically do it with tito. I'll defer to clayton if he's OK with that. It's sort of a burden for upstream since tito might not even be availalbe on the system the upstream developer is using to the create the Origin release.
It's related to the larger discussion of "do we even want to continue using tito". @sdodson, I'm guessing the tito plugin is pretty stable now. Would you want to create a PR against this repo to push the latest updates?
tito will update the ldflags so the resultant binary will properly identify its version. However, unfortunately it will not update the version and release in the specfile so the rpm version will be incorrect. This is in the custom builder and tagger already.
I was getting close to having tito tag things in the format that the scripts in hack/ expect 'vX.Y.Z' I think if we do that we could use tito to tag things assuming we're amenable to including tito in the origin tagging process. Alternately we should probably update the existing tagging process to update the spec file.
#1309 should allow one to use tito to tag the repo without breaking the normal hack/build-go.sh build process. We should discuss how / if we want to use this in the normal release process.
Activity
detiber commentedon Mar 13, 2015
@hingstarne The spec file is managed by tito (http://rm-rf.ca/tito). You can generate the rpm from a checkout using tito build --test --rpm
hingstarne commentedon Mar 13, 2015
@detiber
Thank you for your reply. But in the following output the package should be version 0.3.1 and not hardcoded 0.2.2 release 4 . So this tito workflow is very nice indeed but it does not cover the version numbering at the moment or did i used tito in a wrong way?
detiber commentedon Mar 13, 2015
@hingstarne you are indeed correct. you would need to either edit the version in the spec file before doing
tito build --test --rpm.@brenton @smarterclayton: can we incorporate
tito taginto the release tagging process or origin?hingstarne commentedon Mar 13, 2015
@detiber
Is this part handled by tito tag too?
brenton commentedon Mar 13, 2015
I think the intention is for Origin to be deployed solely as containers. The rpm spec file is there to provide distro maintainers a starting point. I'm not totally sure we'll stick with this tito process much longer anyway so this may go away.
I guess technically since we need a git tag to create the releases in github we could technically do it with tito. I'll defer to clayton if he's OK with that. It's sort of a burden for upstream since tito might not even be availalbe on the system the upstream developer is using to the create the Origin release.
brenton commentedon Mar 13, 2015
@hingstarne, tito does handle that. It's done by a custom plugin under https://github.com/openshift/origin/tree/master/rel-eng/lib/openshift. However, I'm not sure if the latest tito plugin has made it to this repo yet.
It's related to the larger discussion of "do we even want to continue using tito". @sdodson, I'm guessing the tito plugin is pretty stable now. Would you want to create a PR against this repo to push the latest updates?
sdodson commentedon Mar 13, 2015
tito will update the ldflags so the resultant binary will properly identify its version. However, unfortunately it will not update the version and release in the specfile so the rpm version will be incorrect. This is in the custom builder and tagger already.
I was getting close to having tito tag things in the format that the scripts in hack/ expect 'vX.Y.Z' I think if we do that we could use tito to tag things assuming we're amenable to including tito in the origin tagging process. Alternately we should probably update the existing tagging process to update the spec file.
sdodson commentedon Mar 14, 2015
#1309 should allow one to use tito to tag the repo without breaking the normal hack/build-go.sh build process. We should discuss how / if we want to use this in the normal release process.
brenton commentedon Apr 13, 2015
#1309 is merging so I'm going to close this. @hingstarne, let us know on [email protected] if you need help with tito.
Squashed 'cmd/service-catalog/go/src/github.com/kubernetes-incubator/…
Fix HTTP verbs supported by serviceinstances/status (openshift#1302)