On Mittwoch, 8. August 2018, 15:03:30 CEST wrote Adrian Schröter:
On Mittwoch, 8. August 2018, 14:35:34 CEST wrote Ludwig Nussel:
Adrian Schröter wrote:
I read on the wiki that you look for some solution how to avoid additional build time due to tar ball recompression. [...] Have a look in the example here, you find this also switchable via build_tar_ball rpm macro:
https://build.opensuse.org/package/show/science:unstable/FreeCAD
It would make sense for sure nowadays to make the build process smarter wrt dealing with distributed scms. Indeed packing a git tree in a tar, just to extract it for building and then compress it again into a src.rpm adds extra steps. Not just for the cpu but also for the packager who has to figure out how to create a tar from git. Ie in case of OBS needs to learn about the _service extra mechanism. The FreeCAD example doesn't seem to make that any easier.
well, yes, but please note that this is a limitation of rpmbuild in first place. It requires files for the src.rpm's. OBS is happy to skip them...
You could even go that far and say that we won't ship any src.rpm's at all anymore. Just the sources as they come out of a package checkout.
That would require some support in OBS to prepare the published sources, but no big deal. It is more the matter of question how you distro people want to ship the sources....
taking this last part a bit back ... enhancing product-builder might require quite some effort. But it may be even possible to avoid that and publish all sources independend of the products for openSUSE... -- Adrian Schroeter email: adrian@suse.de SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org