[obs-commits] [openSUSE/open-build-service] 934721: [webui] Fix multibuild binary view
Branch: refs/heads/multibuild-binary Home: https://github.com/openSUSE/open-build-service Commit: 9347214a0a2d89835fd79c30f6b708c3a09a9bbe https://github.com/openSUSE/open-build-service/commit/9347214a0a2d89835fd79c... Author: Ana María Martínez Gómez <ammartinez@suse.de> Date: 2018-04-30 (Mon, 30 Apr 2018) Changed paths: M src/api/app/controllers/webui/package_controller.rb M src/api/app/views/webui/package/binaries.html.erb Log Message: ----------- [webui] Fix multibuild binary view We were using the `Package` object for the multibuild view, but the multibuild is just a name, that's why the cointainer was shown. Now the multibuild package name is given to the backend call to get the correct results. I also updated the links in the view, except by the `Job History`, as this view only exist for the container at the moment. Commit: b254c227939946a062dcf35f72097951a991aa12 https://github.com/openSUSE/open-build-service/commit/b254c227939946a062dcf3... Author: Ana María Martínez Gómez <ammartinez@suse.de> Date: 2018-04-30 (Mon, 30 Apr 2018) Changed paths: M src/api/app/controllers/webui/package_controller.rb Log Message: ----------- [webui] Fix Show used resources in multibuild binary view We were using the `Package` object for the statistic method called from the binary view. This result in getting the result for the container in the case of multibuild. Commit: 655608dd9726b2592473e55a62593bd22676c0df https://github.com/openSUSE/open-build-service/commit/655608dd9726b2592473e5... Author: Ana María Martínez Gómez <ammartinez@suse.de> Date: 2018-05-01 (Tue, 01 May 2018) Changed paths: M src/api/app/controllers/webui/packages/build_reason_controller.rb M src/api/app/models/package.rb M src/api/app/views/webui/packages/build_reason/index.html.haml Log Message: ----------- [webui] Fix Build Reason in multibuild binary view We were using the `Package` object for asking for the build reason getting the one for the container in the case of multibuild. Compare: https://github.com/openSUSE/open-build-service/compare/9347214a0a2d^...655608dd9726 **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019.
participants (1)
-
Ana María Martínez Gómez