Hi, On 2012-09-12 13:12:02 +0200, Michal Vyskocil wrote:
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.
I also like the idea (even though I have never needed something like this so far:) ). What about introducing a new command like "rbuild" for it?
For instance the fact is ignores global arguments might be a problem ...
Another question is how a path should be interpreted, for instance --prefer-pkgs /path/to/packages Is this a local path (that is the packages have to be rsynced to the build host first) or is this a remote path (on the build host)? Also what does a user expect when using "build --host ..."? Does he/she expects that the local or remote settings for building are used (examples: extra-pkgs, vm-* etc. config options)? But this are just minor issues/things to think about:) Marcus -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org