[openSUSE/open-build-service] db83a6: [backend] bs_worker: refactor getbinariesproxy calls

Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: db83a644733fcc1bad62de1e086b890b0b27d08c https://github.com/openSUSE/open-build-service/commit/db83a644733fcc1bad62de... Author: Michael Schroeder <mls@suse.de> Date: 2021-04-29 (Thu, 29 Apr 2021) Changed paths: M src/backend/bs_worker Log Message: ----------- [backend] bs_worker: refactor getbinariesproxy calls We now pass the param hash instead of individual argument. This saves a couple of lines and makes the code more flexible. Commit: 8e40694bf998cb10c255daff12529dad6a3a00ab https://github.com/openSUSE/open-build-service/commit/8e40694bf998cb10c255da... Author: Michael Schroeder <mls@suse.de> Date: 2021-04-29 (Thu, 29 Apr 2021) Changed paths: M src/backend/bs_worker Log Message: ----------- [backend] bs_worker: rename kiwiorigins to origins The origins are also used for non-kiwi builds like python-venv. Commit: 01d3659a7f3bc1e72d6a98505afeca28ecd4c554 https://github.com/openSUSE/open-build-service/commit/01d3659a7f3bc1e72d6a98... Author: Michael Schroeder <mls@suse.de> Date: 2021-04-30 (Fri, 30 Apr 2021) Changed paths: M src/backend/BSXML.pm M src/backend/bs_srcserver Log Message: ----------- [backend] support the new onlynative/alsonative/native flags Commit: c2277df095dbc27b7a261c4b76b0b5eeef9ed876 https://github.com/openSUSE/open-build-service/commit/c2277df095dbc27b7a261c... Author: Michael Schroeder <mls@suse.de> Date: 2021-04-30 (Fri, 30 Apr 2021) Changed paths: M src/backend/BSVerify.pm M src/backend/BSXML.pm M src/backend/bs_sched M src/backend/t/0001-BSVerify-verify_repo.t Log Message: ----------- [backend] make hostsystem an array in the repo definition This is compatible as the XML looks the same. The only thing we have to do is convert the old projects when the server is restarted. Commit: d3dedd7aa1a87caf2b3a69d2042b750466be08a5 https://github.com/openSUSE/open-build-service/commit/d3dedd7aa1a87caf2b3a69... Author: Michael Schroeder <mls@suse.de> Date: 2021-04-30 (Fri, 30 Apr 2021) Changed paths: M src/backend/BSXML.pm M src/backend/bs_srcserver Log Message: ----------- [backend] implement cross build support in the source server This commit does three things: - it fetches every element in the 'hostsytem' path - it sets an internal "crosshostarch" element in the repo for repos with a hostsystem - it switches to the 'hostsystem' config when parsing recipes for native builds Commit: 986f3d4f8afcd4575b54aea7525817850a8f6324 https://github.com/openSUSE/open-build-service/commit/986f3d4f8afcd4575b54ae... Author: Michael Schroeder <mls@suse.de> Date: 2021-04-30 (Fri, 30 Apr 2021) Changed paths: M src/backend/BSSched/BuildJob.pm M src/backend/BSSched/BuildJob/Package.pm M src/backend/BSSched/Checker.pm M src/backend/BSSched/ProjPacks.pm M src/backend/BSSched/Remote.pm M src/backend/bs_sched Log Message: ----------- [backend] implement cross build support in the scheduler If we're doing a cross build we set up a second package pool for the host repositories. We also split the build requires into host/sysroot dependencies and use get_sysroot() for expansion. Packages going into the sysroot are marked with "sysroot" in the build job. The host repositories are put into the "syspath" elements, like with kiwi image builds. Note that you always need both the native architecture and the target architecture in the repository. The native architecture is used for native package builds and also to forward host repository changes to the target architecture scheduler. Commit: ef726946eebdb4d5c9b4b4ae5f77373f06e9a33c https://github.com/openSUSE/open-build-service/commit/ef726946eebdb4d5c9b4b4... Author: Michael Schroeder <mls@suse.de> Date: 2021-04-30 (Fri, 30 Apr 2021) Changed paths: M src/backend/bs_worker Log Message: ----------- [backend] implement cross build support in the worker This will make the worker wetch the sysroot packages and provide them to the build program as "sysroot:" rpmlist entries. It also tweaks the meta generation, as the meta file contains both target and host packages. Commit: 65901a1d979c2665b21c8f643edf25ad1cc47757 https://github.com/openSUSE/open-build-service/commit/65901a1d979c2665b21c8f... Author: Michael Schroeder <mls@suse.de> Date: 2021-04-30 (Fri, 30 Apr 2021) Changed paths: M src/backend/BSSched/BuildJob.pm M src/backend/BSSched/BuildJob/Package.pm M src/backend/BSSched/Checker.pm M src/backend/BSSched/ProjPacks.pm M src/backend/BSSched/Remote.pm M src/backend/BSVerify.pm M src/backend/BSXML.pm M src/backend/bs_sched M src/backend/bs_srcserver M src/backend/bs_worker M src/backend/t/0001-BSVerify-verify_repo.t Log Message: ----------- Merge pull request #11062 from mlschroe/master Implement cross build support Compare: https://github.com/openSUSE/open-build-service/compare/83180d5c1acb...65901a...
participants (1)
-
Michael Schroeder