Branch: refs/heads/2.8 Home: https://github.com/openSUSE/open-build-service Commit: 8ab45484a8af869ae0f4925d3f8cb8d05a9b9457 https://github.com/openSUSE/open-build-service/commit/8ab45484a8af869ae0f492... Author: Christian Bruckmayer <cbruckmayer@suse.com> Date: 2017-04-19 (Wed, 19 Apr 2017) Changed paths: M src/api/app/controllers/webui/package_controller.rb M src/api/spec/controllers/webui/package_controller_spec.rb Log Message: ----------- [webui] Fix build log for multibuild and local link packages The @package variable was set in the check_build_log_access before filter. However, for multibuild and local link packages this was set to the parent package (follow_mulitbuild / follow_project_links) which does not contain a log file. This resulted that set_initial_offset returned an empty log and calculated no offset which eventually resulted in cutting the end of the log files. Fix #2651. Commit: fd211565ec65edcd371867d9062c7e25c28f2a47 https://github.com/openSUSE/open-build-service/commit/fd211565ec65edcd371867... Author: Christian Bruckmayer <cbruckmayer@suse.com> Date: 2017-04-19 (Wed, 19 Apr 2017) Changed paths: A src/api/spec/cassettes/Webui_PackageController/build_logs/GET_update_build_log/for_multibuild_package/instance_variables/1_13_2_4_1_1.yml A src/api/spec/cassettes/Webui_PackageController/build_logs/GET_update_build_log/for_multibuild_package/instance_variables/1_13_2_4_1_2.yml A src/api/spec/cassettes/Webui_PackageController/build_logs/GET_update_build_log/for_multibuild_package/instance_variables/1_13_2_4_1_3.yml A src/api/spec/cassettes/Webui_PackageController/build_logs/GET_update_build_log/for_multibuild_package/should_call_get_size_of_log_with_appropriate_arguments.yml M src/api/spec/controllers/webui/package_controller_spec.rb Log Message: ----------- [ci] Refactor update_build_log specs and move them together. Commit: fb1a30b760a5ca70a4104a04f6403802e340aa68 https://github.com/openSUSE/open-build-service/commit/fb1a30b760a5ca70a4104a... Author: Christian Bruckmayer <cbruckmayer@suse.com> Date: 2017-04-19 (Wed, 19 Apr 2017) Changed paths: M src/api/app/controllers/webui/package_controller.rb A src/api/spec/cassettes/Webui_PackageController/build_logs/GET_package_live_build_log/with_a_multibuild_package/should_call_get_status_with_appropriate_arguments.yml M src/api/spec/controllers/webui/package_controller_spec.rb Log Message: ----------- [webui] Fix live log for multibuild/local link packages It used the status of the parent package before which could be in a finished state (e.g. excluded). This resulted that the build status is already finished although it is still building. Caused also that the autoupdate and what_depends_on didn't work. Commit: 3c07e72451030a36c4e651fa45829a874670f92e https://github.com/openSUSE/open-build-service/commit/3c07e72451030a36c4e651... Author: Christian Bruckmayer <cbruckmayer@suse.com> Date: 2017-04-19 (Wed, 19 Apr 2017) Changed paths: M src/api/app/controllers/webui/package_controller.rb M src/api/config/routes.rb Log Message: ----------- [webui] Make repository and architecture mandatory params in route Commit: 0739748000bf59abcdab95dee9ef2a7870d06b96 https://github.com/openSUSE/open-build-service/commit/0739748000bf59abcdab95... Author: Christian Bruckmayer <cbruckmayer@suse.com> Date: 2017-04-19 (Wed, 19 Apr 2017) Changed paths: A src/api/spec/cassettes/Webui_PackageController/build_logs/GET_update_build_log/for_multibuild_package/1_13_2_4_1.yml A src/api/spec/cassettes/Webui_PackageController/build_logs/GET_update_build_log/for_multibuild_package/1_13_2_4_2.yml A src/api/spec/cassettes/Webui_PackageController/build_logs/GET_update_build_log/for_multibuild_package/1_13_2_4_3.yml A src/api/spec/cassettes/Webui_PackageController/build_logs/GET_update_build_log/for_multibuild_package/1_13_2_4_4.yml R src/api/spec/cassettes/Webui_PackageController/build_logs/GET_update_build_log/for_multibuild_package/instance_variables/1_13_2_4_1_1.yml R src/api/spec/cassettes/Webui_PackageController/build_logs/GET_update_build_log/for_multibuild_package/instance_variables/1_13_2_4_1_2.yml R src/api/spec/cassettes/Webui_PackageController/build_logs/GET_update_build_log/for_multibuild_package/instance_variables/1_13_2_4_1_3.yml R src/api/spec/cassettes/Webui_PackageController/build_logs/GET_update_build_log/for_multibuild_package/should_call_get_size_of_log_with_appropriate_arguments.yml M src/api/spec/controllers/webui/package_controller_spec.rb Log Message: ----------- [ci] Refactor #update_build_log test for multibuild package to check for the instance variable offset instead of calling the get_size function. This will make it easier to refactor in the future as it does not depend on the internal implementation anymore. Commit: cae6eafc9e1d0b6f86c7473ca1648833800fb808 https://github.com/openSUSE/open-build-service/commit/cae6eafc9e1d0b6f86c747... Author: Christian Bruckmayer <cbruckmayer@suse.com> Date: 2017-04-20 (Thu, 20 Apr 2017) Changed paths: M src/api/app/controllers/webui/package_controller.rb M src/api/config/routes.rb A src/api/spec/cassettes/Webui_PackageController/build_logs/GET_package_live_build_log/with_a_multibuild_package/should_call_get_status_with_appropriate_arguments.yml A src/api/spec/cassettes/Webui_PackageController/build_logs/GET_update_build_log/for_multibuild_package/1_13_2_4_1.yml A src/api/spec/cassettes/Webui_PackageController/build_logs/GET_update_build_log/for_multibuild_package/1_13_2_4_2.yml A src/api/spec/cassettes/Webui_PackageController/build_logs/GET_update_build_log/for_multibuild_package/1_13_2_4_3.yml A src/api/spec/cassettes/Webui_PackageController/build_logs/GET_update_build_log/for_multibuild_package/1_13_2_4_4.yml M src/api/spec/controllers/webui/package_controller_spec.rb Log Message: ----------- Merge pull request #3005 from ChrisBr/backport_multibuild_logs Backport multibuild logs Compare: https://github.com/openSUSE/open-build-service/compare/aca0b0b32b75...cae6ea...