[obs-commits] [openSUSE/open-build-service] 94806e: [webui] Fix indentation
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 94806e75625d3e328426652680b40b644f58990c https://github.com/openSUSE/open-build-service/commit/94806e75625d3e32842665... Author: Björn Geuken <bgeuken@suse.de> Date: 2015-08-25 (Tue, 25 Aug 2015) Changed paths: M src/api/app/models/bs_request.rb Log Message: ----------- [webui] Fix indentation Commit: 2130a161f75065200e4da5a6084c020e1b986169 https://github.com/openSUSE/open-build-service/commit/2130a161f75065200e4da5... Author: Björn Geuken <bgeuken@suse.de> Date: 2015-08-25 (Tue, 25 Aug 2015) Changed paths: M src/api/app/models/bs_request.rb Log Message: ----------- [webui] Fix indentation Commit: b9120fac85fa895769902a41f53ef87ba6dc507e https://github.com/openSUSE/open-build-service/commit/b9120fac85fa895769902a... Author: Björn Geuken <bgeuken@suse.de> Date: 2015-08-25 (Tue, 25 Aug 2015) Changed paths: M src/api/app/models/bs_request.rb Log Message: ----------- [webui] Refactor open_requests_for method This method is only used by ProjectCreateAutoCleanupRequests. It's not used for any object of Package class. Thus we can remove the code that handles packages. Commit: e2ee83d39d53cb4af81186b18e8a5f357fe439a4 https://github.com/openSUSE/open-build-service/commit/e2ee83d39d53cb4af81186... Author: Björn Geuken <bgeuken@suse.de> Date: 2015-08-25 (Tue, 25 Aug 2015) Changed paths: M src/api/app/jobs/project_create_auto_cleanup_requests.rb M src/api/app/models/bs_request.rb Log Message: ----------- [webui] Replace helper methods and simplify query Since the query is only used once we can run it directly where it's needed. Additional changes: - Removed ordering by ids. We only use the count there anyway. - Count open requests as part of the SQL query. Faster;-) - Combine both queries Commit: 0b680e76e0ed937f34bb17d5a99ca04171d541d5 https://github.com/openSUSE/open-build-service/commit/0b680e76e0ed937f34bb17... Author: Björn Geuken <bgeuken@suse.de> Date: 2015-08-25 (Tue, 25 Aug 2015) Changed paths: M src/api/app/models/bs_request.rb Log Message: ----------- [webui] Remove superfluous reference The scope is running in the BsRequest class therefore doesn't need to reference bs_requests. Commit: 4e5d195e2eb39bafa2109cac785a75e3b0664403 https://github.com/openSUSE/open-build-service/commit/4e5d195e2eb39bafa2109c... Author: Björn Geuken <bgeuken@suse.de> Date: 2015-08-28 (Fri, 28 Aug 2015) Changed paths: M src/api/app/models/bs_request.rb Log Message: ----------- [webui] Update scope of bs request model Commit: 73874e15a6567277a1d9e70a8d4e964d14781cf1 https://github.com/openSUSE/open-build-service/commit/73874e15a6567277a1d9e7... Author: Björn Geuken <bgeuken@suse.de> Date: 2015-08-28 (Fri, 28 Aug 2015) Changed paths: M src/api/app/jobs/project_create_auto_cleanup_requests.rb M src/api/app/models/bs_request.rb Log Message: ----------- Merge pull request #1062 from bgeuken/bs_request_query Bs request query Compare: https://github.com/openSUSE/open-build-service/compare/ccf74fe49d44...73874e...
participants (1)
-
Björn Geuken