[obs-commits] [openSUSE/open-build-service] b03443: [frontend] Separate live build log javascript func...
Branch: refs/heads/2.9 Home: https://github.com/openSUSE/open-build-service Commit: b034434770b03ca515eaab08c88b8afc03a60354 https://github.com/openSUSE/open-build-service/commit/b034434770b03ca515eaab... Author: Moises Deniz Aleman <mdeniz@suse.com> Date: 2018-03-22 (Thu, 22 Mar 2018) Changed paths: M src/api/app/assets/javascripts/webui/application.js.erb A src/api/app/assets/javascripts/webui/application/live_build_log.js M src/api/app/assets/javascripts/webui/application/package.js Log Message: ----------- [frontend] Separate live build log javascript functions to a file It was mixed with package specifics functions, this way is better to know which functions are used for the live log at building Commit: 683848defed0915bccf274688e3ecad582406717 https://github.com/openSUSE/open-build-service/commit/683848defed0915bccf274... Author: Moises Deniz Aleman <mdeniz@suse.com> Date: 2018-03-22 (Thu, 22 Mar 2018) Changed paths: M src/api/app/assets/javascripts/webui/application/live_build_log.js Log Message: ----------- [frontend] Refactor live log javascript into a class This javascript needed a refactoring and a restructuration for claryfing it. Now we use a single class pattern for holding all the logic for the live log consuming. Commit: 46e37112ab29e8ffeb1c1288c435acdf2093029e https://github.com/openSUSE/open-build-service/commit/46e37112ab29e8ffeb1c12... Author: Moises Deniz Aleman <mdeniz@suse.com> Date: 2018-03-22 (Thu, 22 Mar 2018) Changed paths: M src/api/app/assets/javascripts/webui/application/live_build_log.js M src/api/app/controllers/webui/package_controller.rb M src/api/app/views/webui/package/live_build_log.html.erb M src/api/app/views/webui/package/update_build_log.js.erb M src/api/spec/cassettes/Packages/log/download_logfile_succesfully.yml M src/api/spec/cassettes/Packages/log/live_build_finishes_succesfully.yml M src/api/spec/features/webui/packages_spec.rb Log Message: ----------- [frontend] Change how the live log is calculated This was needed because before the offset was flickering from one request to the next once the build stopped. And the log was appending always the last chunk to the whole log. Fixes #4625 (Now the live build log is updated linearly) Commit: e95227d11c561f7d9d75dd52c2b2733304fc27af https://github.com/openSUSE/open-build-service/commit/e95227d11c561f7d9d75dd... Author: Moises Deniz Aleman <mdeniz@suse.com> Date: 2018-03-22 (Thu, 22 Mar 2018) Changed paths: M src/api/spec/cassettes/Webui_PackageController/build_logs/GET_update_build_log/for_multibuild_package/1_14_2_4_1.yml M src/api/spec/cassettes/Webui_PackageController/build_logs/GET_update_build_log/for_multibuild_package/1_14_2_4_2.yml M src/api/spec/cassettes/Webui_PackageController/build_logs/GET_update_build_log/for_multibuild_package/1_14_2_4_3.yml M src/api/spec/cassettes/Webui_PackageController/build_logs/GET_update_build_log/for_multibuild_package/1_14_2_4_4.yml M src/api/spec/cassettes/Webui_PackageController/build_logs/GET_update_build_log/it_should_behave_like_build_log/successfully/1_14_2_1_1_1.yml M src/api/spec/cassettes/Webui_PackageController/build_logs/GET_update_build_log/it_should_behave_like_build_log/successfully_with_a_package_which_name_that_includes_/1_14_2_1_2_1.yml M src/api/spec/cassettes/Webui_PackageController/build_logs/GET_update_build_log/it_should_behave_like_build_log/successfully_with_a_project_which_name_that_includes_/1_14_2_1_3_1.yml Log Message: ----------- [ci] Add VCR cassettes for package controller Commit: b02f1d67a84ff1cdcf0b7f7eebb9ade38bd7b4e7 https://github.com/openSUSE/open-build-service/commit/b02f1d67a84ff1cdcf0b7f... Author: Moises Deniz Aleman <mdeniz@suse.com> Date: 2018-03-22 (Thu, 22 Mar 2018) Changed paths: M src/api/app/controllers/webui/package_controller.rb Log Message: ----------- [frontend] Fix live build log when already started The build log was loaded from the begining when it was already started, now only the last chunk is loaded (up to 64K). Fixes #4708 Commit: 1069e336b00f2f2fc60faa8ca4a0c18dd965d59a https://github.com/openSUSE/open-build-service/commit/1069e336b00f2f2fc60faa... Author: Moisés Déniz Alemán <mdeniz@suse.com> Date: 2018-03-22 (Thu, 22 Mar 2018) Changed paths: M src/api/app/assets/javascripts/webui/application.js.erb A src/api/app/assets/javascripts/webui/application/live_build_log.js M src/api/app/assets/javascripts/webui/application/package.js M src/api/app/controllers/webui/package_controller.rb M src/api/app/views/webui/package/live_build_log.html.erb M src/api/app/views/webui/package/update_build_log.js.erb M src/api/spec/cassettes/Packages/log/download_logfile_succesfully.yml M src/api/spec/cassettes/Packages/log/live_build_finishes_succesfully.yml M src/api/spec/cassettes/Webui_PackageController/build_logs/GET_update_build_log/for_multibuild_package/1_14_2_4_1.yml M src/api/spec/cassettes/Webui_PackageController/build_logs/GET_update_build_log/for_multibuild_package/1_14_2_4_2.yml M src/api/spec/cassettes/Webui_PackageController/build_logs/GET_update_build_log/for_multibuild_package/1_14_2_4_3.yml M src/api/spec/cassettes/Webui_PackageController/build_logs/GET_update_build_log/for_multibuild_package/1_14_2_4_4.yml M src/api/spec/cassettes/Webui_PackageController/build_logs/GET_update_build_log/it_should_behave_like_build_log/successfully/1_14_2_1_1_1.yml M src/api/spec/cassettes/Webui_PackageController/build_logs/GET_update_build_log/it_should_behave_like_build_log/successfully_with_a_package_which_name_that_includes_/1_14_2_1_2_1.yml M src/api/spec/cassettes/Webui_PackageController/build_logs/GET_update_build_log/it_should_behave_like_build_log/successfully_with_a_project_which_name_that_includes_/1_14_2_1_3_1.yml M src/api/spec/features/webui/packages_spec.rb Log Message: ----------- Merge pull request #4710 from mdeniz/backport_fix_build_live_log Backport fix for live build log Compare: https://github.com/openSUSE/open-build-service/compare/7778466a0f75...1069e3...
participants (1)
-
Moisés Déniz Alemán