Mailinglist Archive: yast-devel (63 mails)

< Previous Next >
Re: [yast-devel] RFC: yast-rake task for release
On Tue, 30 Sep 2014 09:29:53 +0200
Ladislav Slezak <lslezak@xxxxxxx> wrote:

Dne 29.9.2014 v 15:43 Josef Reidinger napsal(a):
maybe some of you still missing old script for tagging git with
released version numbers. Or sometimes forgot to update spec file
when changing changes file ( like me ). So I propose to add new
yast-rake task "release". What it will do:

1) call "osc vc" and stop if user do not specify changes
2) call "rake version:bump" to increase version

I usually add a version number into the changes when releasing so it
would be nice to add it automatically, so the workflow would be like

1) "rake version:bump"
2) add "- #{version}" to *.changes at the top (maybe grep if it is
not already there)

This is not so easy as next osc vc will create new entry so version tag
will not be present there, only if I create such entry with `osc vc -m`
and then `call osc -e` but problem can be how to allow easy cancel of
operation in such case?

3) run "osc vc" (BTW what is the difference to "buildvc" which I'm

I think there is no difference, just source of email address.

3) create git commit with message "release #{version}"
4) tag this commit with version number like "3.1.125"

There might be a collision when releasing the same version for
SLE and openSUSE.

I think we do not allow it. My opinion is that we should act like
upstream project and if we start maintaining some branch, then create
unique versioning. ( I think we add .<num> to version when we start
such long maintenance branch.

According to
we should use these tags:


or if the code is shared:

Is that still valid/sufficient? Or should we use a different schema?

For me package of given version should be same for opensuse and also

It do not push change. It also require manual "push --tags" as I
want to have the very last break, which allows me to check it again
before I push it.

Yes, I'd also prefer manual push, but optional "--push" switch would
be nice.

yes, it is possible to have it.


What do you think about it? I welcome any comments or suggestions
before I implement it.

Thanks for starting the discussion!


Ladislav Slez√°k
Appliance department / YaST Developer
Lihovarsk√° 1060/12
190 00 Prague 9 / Czech Republic
tel: +420 284 028 960

To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: yast-devel+owner@xxxxxxxxxxxx

< Previous Next >