Skip to content

Tito tagging vX.Y.Z - #1309

Merged
openshift-bot merged 4 commits into
openshift:masterfrom
sdodson:tito-tagging
Apr 13, 2015
Merged

openshift-bot merged 4 commits into
openshift:masterfrom
sdodson:tito-tagging

Conversation

@sdodson

@sdodson sdodson commented Mar 14, 2015

Copy link
Copy Markdown
Member

This teaches tito to tag openshift as "v%{version}" rather than the normal %{name}-%{version}-%{release} by way of additional changes to our existing custom tagger.

This does not currently support --use-version as tito does allow you configure the forcedversiontagger. PR for that rpm-software-management/tito#163

The first commit sets the stage for tito to work properly so i've included it in this PR.

@brenton

brenton commented Mar 16, 2015

Copy link
Copy Markdown
Contributor

I think it will be helpful for distro maintainers to upstream this so I'm all for that. I don't think we'd want to incorporate tito tagging into the Origin release process though.

@sdodson

sdodson commented Mar 16, 2015

Copy link
Copy Markdown
Member Author

@brenton Ok, then I'll look at adding steps to bump the RPM version, commit, and ldflags to hack/build-release.sh Is that the most logical place in the release workflow? It's not entirely clear to me if cutting an official release includes all the steps prior to steps 1-6 in HACKING.md

@brenton

brenton commented Mar 16, 2015

Copy link
Copy Markdown
Contributor

@sdodson You can take a look at https://github.com/openshift/vagrant-openshift/blob/master/lib/vagrant-openshift/action/build_openshift3.rb#L32. That is used by the openshift3_ami job on https://ci.openshift.redhat.com/jenkins/. That jobs handles most of the Origin release process.

As long as whatever we do doesn't break that CI job or complicate local development I think we can merge changes that improve distro maintenance. Otherwise we'll need to talk with Clayton a bit.

@detiber

detiber commented Mar 16, 2015

Copy link
Copy Markdown
Contributor

@sdodson @brenton If we want to make this available for downstream users and not actually use tito to tag for origin, then we should probably have the version set to 0.4.1, that way downstream builds would be 0.4.1.x by default instead of 0.4.x.

@sdodson

sdodson commented Mar 16, 2015

Copy link
Copy Markdown
Member Author

I think i'll hack up something quick that automates the git tag release step and updates the specfile at the same time.

@sdodson

sdodson commented Mar 16, 2015

Copy link
Copy Markdown
Member Author

@brenton #1323 can handle tagging and bumping the specfile independently of tito

@sdodson sdodson changed the title [WIP] Tito tagging Tito tagging vX.Y.Z Mar 16, 2015
@sdodson

sdodson commented Mar 16, 2015

Copy link
Copy Markdown
Member Author

I think this particular PR should be ready to go tito tag, tito tag -u both seem to work and generate the appropriate changelogs. The assumption would be that these would only be used downstream and that something else, like #1323 will be used to maintain the specfile upstream though that's not required.

@brenton

brenton commented Mar 16, 2015

Copy link
Copy Markdown
Contributor

That's awesome. I'll look through the code again first thing tomorrow morning.

@smarterclayton

Copy link
Copy Markdown
Contributor

@brenton what's the latest on this and the other release related pulls? Can you triage them for close / moved / remains open?

@brenton

brenton commented Apr 13, 2015

Copy link
Copy Markdown
Contributor

[merge]

@openshift-bot

Copy link
Copy Markdown
Contributor

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_requests_openshift3/1551/) (Image: devenv-fedora_1268)

@openshift-bot

Copy link
Copy Markdown
Contributor

Evaluated for origin up to c6be0f7

openshift-bot pushed a commit that referenced this pull request Apr 13, 2015
@openshift-bot
openshift-bot merged commit 7dc33d0 into openshift:master Apr 13, 2015
@sdodson
sdodson deleted the tito-tagging branch May 11, 2018 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants