[obs-commits] [openSUSE/open-build-service] 4d3213: [ci] Refactor update_build_log specs
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 4d321399ff2d77bee5206556cd55dc1513848a69 https://github.com/openSUSE/open-build-service/commit/4d321399ff2d77bee52065... 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: b83ec885ebba3e1f94a9025c84ee01213803b1ca https://github.com/openSUSE/open-build-service/commit/b83ec885ebba3e1f94a902... 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: af0ee3e89140ab0ee51835f30fc080f291c238f9 https://github.com/openSUSE/open-build-service/commit/af0ee3e89140ab0ee51835... 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/app/views/webui/package/_live_log_controls.html.erb M src/api/app/views/webui/package/live_build_log.html.erb Log Message: ----------- [webui] Remove build_container variable for logs It is now stored in package variable even when package is remote or local link / mulitbuild. Commit: 3ef62a434e57064b34a3f00193d85d1e11fa6243 https://github.com/openSUSE/open-build-service/commit/3ef62a434e57064b34a3f0... 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 Log Message: ----------- [webui] Remove unnecessary variable check from live_build_log action as it already checked before. Commit: 185c57a5becd483e7963ae865e5ae49c232681e6 https://github.com/openSUSE/open-build-service/commit/185c57a5becd483e7963ae... 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: e66a6fd7fe9def865b471d2ae5840e365c6c7264 https://github.com/openSUSE/open-build-service/commit/e66a6fd7fe9def865b471d... 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: b8c0cd1ff746f70b85f22570159617e76ebb8dcb https://github.com/openSUSE/open-build-service/commit/b8c0cd1ff746f70b85f225... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2017-04-19 (Wed, 19 Apr 2017) Changed paths: M src/api/app/controllers/webui/package_controller.rb M src/api/app/views/webui/package/_live_log_controls.html.erb M src/api/app/views/webui/package/live_build_log.html.erb 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 #2981 from ChrisBr/multibuild_log Multibuild log Compare: https://github.com/openSUSE/open-build-service/compare/1922ba97772a...b8c0cd...
participants (1)
-
Henne Vogelsang