Mailinglist Archive: opensuse-buildservice (178 mails)

< Previous Next >
Re: [opensuse-buildservice] [PATCH] [RFC][PATCH] osc build on remote --host
On Wed, Sep 12, 2012 at 12:40:16PM +0200, Dirk Müller wrote:
On Monday 10 September 2012, Michal Vyskocil wrote:

The new argument for osc build --host will perform the build on a remote
host. It is a shortcut for

Hi Michal,

I think thats a very nice idea indeed. I wonder if your patch handles error
cases correctly though (like e.g. rsync not being installed or the remote dir
not being writeable).

No, it does not do any error checking. So if rsync is not available, the
check_call raises an exception and you will get a "nice" python stack
trace. I will extend it, but want to hear some feedback first.

For instance the fact is ignores global arguments might be a problem ...

Regards
Michal Vyskocil
< Previous Next >
Follow Ups