On 2020-03-19 15:44:37 +0100, Jakub Olczyk wrote:
I am still very new to the OBS ecosystem and I couldn't find information about building sets of packages (depending on each other) locally in a way that for example `mock` (where you can use the `--chain` option for that). Is it possible to build set of packages locally without sending the information to build.opensuse.org?
It depends a bit what "sending the information" actually means... You can use "osc build ..." to perform a local build of a package. If you have a set of packages, you have to manually "derive" the build order for the set of packages. Let's assume you have the packags A, B, C, D, E. A depends on packages from openSUSE Tumbleweed B depends on A + packages from openSUSE Tumbleweed E depends on D + packages from openSUSE Tumbleweed D depends on A, C + packages from openSUSE Tumbleweed C depends on packages from openSUSE Tumbleweed In this case, a potential build order would be A, B, C, D, E (or C, A, D, E, B) etc. Once, you have the build order, you can use osc to build the packages locally: $> cd package $> osc build --alternative-project openSUSE:Factory snapshot x86_64 \ -k /dir/where/to/store/built/packages \ -p /dir/where/to/store/built/packages Note that this will send some "information", like the spec file (or any other build description) + the dependency information retrieved from the packages stored in /dir/where/to/store/built/packages, to the OBS. Marcus -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org