[opensuse-buildservice] Custom Release Tags?

Is it possible to configure OBS (a local instance) to have a custom tag/addition to the (auto-modified) "Release: " tag for a package? Or is this something I have to modify in the OBS source? If I need to modify the source, where would I need to look to get started. (I noticed that /usr/lib/build appears to be the right place, but wanted to double check...) Thanks. -- Troy Telford -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

http://en.opensuse.org/openSUSE:Build_Service_prjconf#Release -- Michael ________________________________________ From: Troy Telford [ttelford.groups@gmail.com] Sent: Wednesday, October 06, 2010 2:48 PM To: opensuse-buildservice@opensuse.org Subject: [opensuse-buildservice] Custom Release Tags? Is it possible to configure OBS (a local instance) to have a custom tag/addition to the (auto-modified) "Release: " tag for a package? Or is this something I have to modify in the OBS source? If I need to modify the source, where would I need to look to get started. (I noticed that /usr/lib/build appears to be the right place, but wanted to double check...) Thanks. -- Troy Telford -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

On Oct 6, 2010, at 15:48, Troy Telford <ttelford.groups@gmail.com> wrote:
Is it possible to configure OBS (a local instance) to have a custom tag/addition to the (auto-modified) "Release: " tag for a package?
Or is this something I have to modify in the OBS source? If I need to modify the source, where would I need to look to get started. (I noticed that /usr/lib/build appears to be the right place, but wanted to double check...)
You can set it in your prjconf. Please see the openSUSE wiki for more info. I think the line to add is "Release:" For example, "Release: <CI_CNT>.<B_CNT>%%{dist}" -- later, Robert Xu -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org

On Wed, Oct 06, 2010 at 01:48:08PM -0600, Troy Telford wrote:
Is it possible to configure OBS (a local instance) to have a custom tag/addition to the (auto-modified) "Release: " tag for a package?
Yes, you can change the way the release tag should look like with a "Release: " line in the project config. The default is: Release: <CI_CNT>.<B_CNT> <CI_CNT> will be replaced by the checkin count, <B_CNT> by the rebuild count. Or do you mean for every project hosted in the build service? That's currently only doable with a source change. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (4)
-
Michael Schroeder
-
Michael_E_Brown@Dell.com
-
Robert Xu
-
Troy Telford