[obs-commits] [openSUSE/open-build-service] 79b276: [api] add a code quality check deploying flog
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 79b276b57460b90e805ed382d7c6696010bba844 https://github.com/openSUSE/open-build-service/commit/79b276b57460b90e805ed3... Author: Stephan Kulow <coolo@suse.de> Date: 2013-08-09 (Fri, 09 Aug 2013) Changed paths: M src/api/Gemfile M src/api/Gemfile.lock M src/api/test/unit/code_quality_test.rb Log Message: ----------- [api] add a code quality check deploying flog We measure code complexity in average per method and enforce going down in average. I'm not sure what it means if new code is added, but I sure hope that adding more if case cascades to existent code is blocked by that Commit: 8cba41dfbff6054ec0e2ebadae1ecab658e4fede https://github.com/openSUSE/open-build-service/commit/8cba41dfbff6054ec0e2eb... Author: Stephan Kulow <coolo@suse.de> Date: 2013-08-09 (Fri, 09 Aug 2013) Changed paths: M src/api/app/controllers/person_controller.rb M src/api/app/models/group.rb A src/api/app/views/person/grouplist.xml.builder M src/api/test/unit/code_quality_test.rb Log Message: ----------- [api] move one more render function to a view Commit: ad592a532dd755735a67481760a9a97c9b35f0f1 https://github.com/openSUSE/open-build-service/commit/ad592a532dd755735a6748... Author: Stephan Kulow <coolo@suse.de> Date: 2013-08-09 (Fri, 09 Aug 2013) Changed paths: M src/api/app/controllers/application_controller.rb M src/api/app/controllers/attribute_controller.rb M src/api/app/controllers/source_controller.rb M src/api/config/routes.rb M src/api/test/functional/read_permission_test.rb M src/api/test/functional/source_controller_test.rb M src/api/test/unit/code_quality_test.rb Log Message: ----------- [api] refactor source#index_package Some of the code branches are rather bizzare Commit: aaaa951cf0f90070508b7b0abfa8ae0224c368ce https://github.com/openSUSE/open-build-service/commit/aaaa951cf0f90070508b7b... Author: Stephan Kulow <coolo@suse.de> Date: 2013-08-09 (Fri, 09 Aug 2013) Changed paths: M src/api/app/controllers/application_controller.rb M src/api/app/controllers/request_controller.rb M src/api/app/controllers/source_controller.rb M src/api/app/helpers/maintenance_helper.rb M src/api/app/helpers/search_helper.rb M src/api/app/helpers/status_helper.rb M src/api/app/models/package.rb M src/api/app/models/project.rb M src/api/app/models/user.rb M src/api/app/views/models/_project.xml.builder M src/api/lib/xpath_engine.rb M src/api/test/functional/source_controller_test.rb Log Message: ----------- [api] fix some code to meet the code quality metrics again :) Compare: https://github.com/openSUSE/open-build-service/compare/4850fa80ab13...aaaa95...
participants (1)
-
Stephan Kulow