[obs-commits] [openSUSE/open-build-service] 658f8f: Use an SQL query to check whether a package has a ...

Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 658f8f273bb211041dcfb881f3239ea4584865f5 https://github.com/openSUSE/open-build-service/commit/658f8f273bb211041dcfb8... Author: Björn Geuken <bgeuken@suse.de> Date: 2019-01-30 (Wed, 30 Jan 2019) Changed paths: M src/api/app/controllers/webui/project_controller.rb M src/api/app/models/project.rb A src/api/spec/cassettes/Webui_ProjectController/GET_show/with_patchinfo/1_13_4_1.yml M src/api/spec/controllers/webui/project_controller_spec.rb Log Message: ----------- Use an SQL query to check whether a package has a patchinfo or not This is much faster than iterating through an array and checking a hashed backend result for each package. Commit: 7291c5f51571e5b2b88a1473d0d81d1e18bff9e5 https://github.com/openSUSE/open-build-service/commit/7291c5f51571e5b2b88a14... Author: Björn Geuken <bgeuken@suse.de> Date: 2019-01-31 (Thu, 31 Jan 2019) Changed paths: M src/api/app/controllers/webui/project_controller.rb M src/api/app/models/project.rb A src/api/spec/cassettes/Webui_ProjectController/GET_show/with_patchinfo/1_13_4_1.yml M src/api/spec/controllers/webui/project_controller_spec.rb Log Message: ----------- Merge pull request #6829 from bgeuken/has_patchinfo_refactoring Use an SQL query to check whether a package has a patchinfo or not Compare: https://github.com/openSUSE/open-build-service/compare/b63fb67c523e...7291c5...
participants (1)
-
Björn Geuken