Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: 3ab0d711ca69e30c3c478e0ccb51e1a651cc785d
https://github.com/openSUSE/open-build-service/commit/3ab0d711ca69e30c3c478e...
Author: Stephan Kulow
Date: 2018-12-13 (Thu, 13 Dec 2018)
Changed paths:
M src/api/app/controllers/webui/repositories_controller.rb
A src/api/app/controllers/webui2/repositories_controller.rb
A src/api/app/helpers/webui/repository_helper.rb
M src/api/app/mixins/get_flags.rb
M src/api/app/models/flag.rb
M src/api/app/models/package.rb
M src/api/app/models/project.rb
M src/api/app/views/webui2/shared/_flag_popover.html.haml
M src/api/app/views/webui2/shared/_repositories.html.haml
M src/api/app/views/webui2/shared/_repositories_flag_table.html.haml
M src/api/app/views/webui2/shared/_repositories_flag_table_column.html.haml
M src/api/app/views/webui2/webui/repositories/change_flag.js.haml
M src/api/app/views/webui2/webui/repositories/index.html.haml
Log Message:
-----------
Stop using the flag model to calculate the flag matrix
Calculating the icon state per column is very wasteful
as it does nr(repository)*nr(architecture)*15 SQL queries.
Replace it with one query for all flags, store it in a has
and calculate the state in ruby - this is one SQL query and
some hash lookups per icon.
This saves for openSUSE:Tools ~75% in render time (~30 seconds).
Co-authored-by: Ana María Martínez Gómez
Commit: 4a06c5be756755fe2f7a4572e3296ed824a44237
https://github.com/openSUSE/open-build-service/commit/4a06c5be756755fe2f7a45...
Author: Ana María Martínez Gómez
Date: 2018-12-13 (Thu, 13 Dec 2018)
Changed paths:
M .rubocop_todo.yml
M src/api/.rubocop_todo.yml
Log Message:
-----------
Regenarate Rubocop todo file
There are metric offenses that should be fixed.
Commit: dabb4eeaffd6427d8dc3effd07efdc34ba152486
https://github.com/openSUSE/open-build-service/commit/dabb4eeaffd6427d8dc3ef...
Author: Stephan Kulow
Date: 2018-12-15 (Sat, 15 Dec 2018)
Changed paths:
M .rubocop_todo.yml
M src/api/.rubocop_todo.yml
M src/api/app/controllers/webui/repositories_controller.rb
A src/api/app/controllers/webui2/repositories_controller.rb
A src/api/app/helpers/webui/repository_helper.rb
M src/api/app/mixins/get_flags.rb
M src/api/app/models/flag.rb
M src/api/app/models/package.rb
M src/api/app/models/project.rb
M src/api/app/views/webui2/shared/_flag_popover.html.haml
M src/api/app/views/webui2/shared/_repositories.html.haml
M src/api/app/views/webui2/shared/_repositories_flag_table.html.haml
M src/api/app/views/webui2/shared/_repositories_flag_table_column.html.haml
M src/api/app/views/webui2/webui/repositories/change_flag.js.haml
M src/api/app/views/webui2/webui/repositories/index.html.haml
Log Message:
-----------
Merge pull request #6610 from coolo/we_make_it_quick
We make Repositories quick
Compare: https://github.com/openSUSE/open-build-service/compare/e246c6ba072b...dabb4e...
**NOTE:** This service has 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.