[opensuse-buildservice] reducing build resource usage
Hi, any time a pkg is updated, all other pkgs that have THIS pkg as BuildRequire, are rebuild automatically. That's fine and most time wanted. But sometimes there is really no need to rebuild ALL affected pkgs, but only the one or other. e.g. in devel:languages:perl I updated perl-macros so that all RedHat derivative could be build with those macros. And with this change there is absolutely no need to rebuild ALL SUSE pkgs, but the RedHat pkgs. And then after doing lots of local builds you're recognizing that a further change is needed, again resulting in rebuilding ALL, not just those RedHat's that were "failed". What do you think ? Cheers Chris -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Am Mittwoch, 17. August 2011, 14:07:07 schrieb chris@computersalat.de:
Hi,
any time a pkg is updated, all other pkgs that have THIS pkg as BuildRequire, are rebuild automatically. That's fine and most time wanted. But sometimes there is really no need to rebuild ALL affected pkgs, but only the one or other.
e.g. in devel:languages:perl I updated perl-macros so that all RedHat derivative could be build with those macros. And with this change there is absolutely no need to rebuild ALL SUSE pkgs, but the RedHat pkgs. And then after doing lots of local builds you're recognizing that a further change is needed, again resulting in rebuilding ALL, not just those RedHat's that were "failed".
What do you think ?
Dunno what you are asking here, but you can of course disable openSUSE builds temporarly when testing something. I fail to see how obs has a chance to find out if a source change makes a difference or not. -- 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
I fail to see how obs has a chance to find out if a source change makes a difference or not. My thought was to send a FLAG with 'osc ci'
Hi, perhaps "-r REPO" source change will only rebuild for specific repository and "-f, --failed" source change will only rebuild failed packages and "--keep" source change will not trigger rebuild Cheers Chris -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Wed, Aug 17, 2011 at 02:39:15PM +0200, chris@computersalat.de wrote:
I fail to see how obs has a chance to find out if a source change makes a difference or not. My thought was to send a FLAG with 'osc ci'
Hi, perhaps "-r REPO" source change will only rebuild for specific repository and "-f, --failed" source change will only rebuild failed packages and "--keep" source change will not trigger rebuild
You could set repo flags in the project meta, that does only partial rebuilds. like e.g. openSUSE:Factory has: <repository block="never" rebuild="local" name="standard"> so it will only build changes sources. (rebuild="local" strategie) Ciao, Marcus -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Am Mittwoch, 17. August 2011, 14:39:15 schrieb chris@computersalat.de:
Hi,
I fail to see how obs has a chance to find out if a source change makes a difference or not.
My thought was to send a FLAG with 'osc ci' perhaps "-r REPO" source change will only rebuild for specific repository and "-f, --failed" source change will only rebuild failed packages and "--keep" source change will not trigger rebuild
The problem is that there is no guarantee that the change does not affect it and OBS should always guarantee that this build is reproducable. So, the only way is to disable the builds which are not wanted or we need to store and display which revision was used. It won't make the interface easier ... When you just want to test something on one plattform do a local build. This helps even more to save resources :)
Cheers Chris
-- 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 (3)
-
Adrian Schröter
-
chris@computersalat.de
-
Marcus Meissner