[opensuse-buildservice] creating a service?
Hi, I'm trying to create a source service to make my life easier (don't think it would benefit anyone else), but I'm unsure of how to go about that. I know it's a bash script... Are there any special variables or anything that I should be aware of? -- later, Robert Xu -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Nothing special, you can install obs-service-download_url/obs-service-verify_file these two packages. And follow the scripts under /usr/lib/obs/service to write your own. But you should have installed obs-source_service first, which is an obs server to launch those scripts of kinds of source services.
-----Original Message----- From: ext Robert Xu [mailto:robxu9@gmail.com] Sent: Thursday, September 30, 2010 4:31 AM To: opensuse-buildservice@opensuse.org Subject: [opensuse-buildservice] creating a service?
Hi,
I'm trying to create a source service to make my life easier (don't think it would benefit anyone else), but I'm unsure of how to go about that. I know it's a bash script... Are there any special variables or anything that I should be aware of?
-- later, Robert Xu -- 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
Hm, those two services can help? I'll take a look. Thanks On Wed, Sep 29, 2010 at 21:35, <brook.hong@nokia.com> wrote:
Nothing special, you can install obs-service-download_url/obs-service-verify_file these two packages. And follow the scripts under /usr/lib/obs/service to write your own.
But you should have installed obs-source_service first, which is an obs server to launch those scripts of kinds of source services.
-----Original Message----- From: ext Robert Xu [mailto:robxu9@gmail.com] Sent: Thursday, September 30, 2010 4:31 AM To: opensuse-buildservice@opensuse.org Subject: [opensuse-buildservice] creating a service?
Hi,
I'm trying to create a source service to make my life easier (don't think it would benefit anyone else), but I'm unsure of how to go about that. I know it's a bash script... Are there any special variables or anything that I should be aware of?
-- later, Robert Xu -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse- buildservice+help@opensuse.org
-- later, Robert Xu -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On 09/29/2010 10:31 PM, Robert Xu wrote:
Hi,
I'm trying to create a source service to make my life easier (don't think it would benefit anyone else), but I'm unsure of how to go about that. I know it's a bash script... Are there any special variables or anything that I should be aware of?
Somebody who had a hand in designing it should schedule an irc question time, about services. Dave P -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Am Dienstag, 5. Oktober 2010, 02:08:56 schrieb Dave Plater:
On 09/29/2010 10:31 PM, Robert Xu wrote:
Hi,
I'm trying to create a source service to make my life easier (don't think it would benefit anyone else), but I'm unsure of how to go about that. I know it's a bash script... Are there any special variables or anything that I should be aware of?
Somebody who had a hand in designing it should schedule an irc question time, about services.
Happy to do so, but I am away for some days now. However, it is really simple, just place an executable (no matter if bash, binary, ..) as /usr/lib/obs/service/$NAME and add also an xml describing all its options as /usr/lib/obs/service/$NAME.service There are multiple obs-service-* packages in openSUSE:Tools and openSUSE:Tools:Unstable project. You can of course also execute them local, either use osc service run with latest osc from openSUSE:Tools:Unstable or just run "osc build" to execute the services. -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (4)
-
Adrian Schröter
-
brook.hong@nokia.com
-
Dave Plater
-
Robert Xu