[opensuse-buildservice] Block submit requests to a devel project?
Hi all, For Yast development we use YaST:Head OBS project, the packages are directly submitted from Github repository by Jenkins CI (http://ci.opensuse.org/view/Yast/) after each Git commit when the testsuite passes. The problem is if people branch a package and do a fix/enhancement in OBS directly. The submit request issued later has to be declined as the package would be overwritten in OBS by the Git version after next Git commit. Is it possible to somehow automatically inform the people who branch a package that they should use Github instead OBS when they want to submit something to the devel project? IIRC I have already seen some message when I wanted to submit (or branch?, I cannot remember exactly) a package in some project. How can I set this in OBS? Thanks! Ladislav -- Ladislav Slezák Appliance department / YaST Developer Lihovarská 1060/12 190 00 Prague 9 / Czech Republic tel: +420 284 028 960 lslezak@suse.com SUSE -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Am Dienstag, 3. Dezember 2013, 12:32:36 schrieb Ladislav Slezak:
Hi all,
For Yast development we use YaST:Head OBS project, the packages are directly submitted from Github repository by Jenkins CI (http://ci.opensuse.org/view/Yast/) after each Git commit when the testsuite passes.
The problem is if people branch a package and do a fix/enhancement in OBS directly.
The submit request issued later has to be declined as the package would be overwritten in OBS by the Git version after next Git commit.
Is it possible to somehow automatically inform the people who branch a package that they should use Github instead OBS when they want to submit something to the devel project?
IIRC I have already seen some message when I wanted to submit (or branch?, I cannot remember exactly) a package in some project.
How can I set this in OBS?
You can set the OBS:RejectRequests attribute in your project. And add some helpful text in the first value as a message to the users. -- Adrian Schroeter email: adrian@suse.de SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Dne 3.12.2013 12:35, Adrian Schröter napsal(a):
You can set the OBS:RejectRequests attribute in your project. And add some helpful text in the first value as a message to the users.
Great, thanks! BTW I can set the value, but when editing I got "#<ActiveRecord::Associations::CollectionProxy::ActiveRecord_Associations_CollectionProxy_AttribValue:0x000000063bc7d8>" value in the text area. -- Ladislav Slezák Appliance department / YaST Developer Lihovarská 1060/12 190 00 Prague 9 / Czech Republic tel: +420 284 028 960 lslezak@suse.com SUSE -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 03.12.2013 12:56, Ladislav Slezak wrote:
Dne 3.12.2013 12:35, Adrian Schröter napsal(a):
You can set the OBS:RejectRequests attribute in your project. And add some helpful text in the first value as a message to the users.
Great, thanks!
BTW I can set the value, but when editing I got "#<ActiveRecord::Associations::CollectionProxy::ActiveRecord_Associations_CollectionProxy_AttribValue:0x000000063bc7d8>" value in the text area.
It's just ruby, send a patch ;-) Greetings, Stephan -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 03.12.2013 12:32, Ladislav Slezak wrote:
Hi all,
For Yast development we use YaST:Head OBS project, the packages are directly submitted from Github repository by Jenkins CI (http://ci.opensuse.org/view/Yast/) after each Git commit when the testsuite passes.
The problem is if people branch a package and do a fix/enhancement in OBS directly.
The submit request issued later has to be declined as the package would be overwritten in OBS by the Git version after next Git commit.
Is it possible to somehow automatically inform the people who branch a package that they should use Github instead OBS when they want to submit something to the devel project?
IIRC I have already seen some message when I wanted to submit (or branch?, I cannot remember exactly) a package in some project.
How can I set this in OBS?
See https://build.opensuse.org/project/attributes/openSUSE:13.1 - you can set that attribute to your project. It won't work on branch, but on submit. OBS also sends out an event if a package is branched, but that seems highly unusable at the moment. Greetings, Stephan -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (3)
-
Adrian Schröter
-
Ladislav Slezak
-
Stephan Kulow