[obs-commits] [openSUSE/open-build-service] 631d62: [api][webui] Use Backend::Api.file_list instead
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 631d62a199e934501827858fa5f01fcbb39c7f2c https://github.com/openSUSE/open-build-service/commit/631d62a199e93450182785... Author: Moises Deniz Aleman <mdeniz@suse.com> Date: 2017-09-14 (Thu, 14 Sep 2017) Changed paths: M src/api/app/mixins/request_source_diff.rb Log Message: ----------- [api][webui] Use Backend::Api.file_list instead Instead of using a direct call through ActiveXML we are re-using the file_list method of Backend::Api Commit: ebaeef47201c1deec19ed5fedfeda555532374c7 https://github.com/openSUSE/open-build-service/commit/ebaeef47201c1deec19ed5... Author: Moises Deniz Aleman <mdeniz@suse.com> Date: 2017-09-14 (Thu, 14 Sep 2017) Changed paths: M src/api/app/controllers/webui/package_controller.rb M src/api/lib/backend/api.rb Log Message: ----------- [webui] Move get_rpmlint_log to Backend::Api Moved the method there and refactor to use Backend::Connection instead of ActiveXML Commit: 0f0e0d7243bf6eef7dc51dd6f9b0859e6b1f4bd4 https://github.com/openSUSE/open-build-service/commit/0f0e0d7243bf6eef7dc51d... Author: Moises Deniz Aleman <mdeniz@suse.com> Date: 2017-09-14 (Thu, 14 Sep 2017) Changed paths: M src/api/app/models/package_build_status.rb Log Message: ----------- [api] Refactor PackageBuildStatus backend call Re-use build_results method Commit: 33372b3022564a72003b3dfe0985e67e4b341bb1 https://github.com/openSUSE/open-build-service/commit/33372b3022564a72003b3d... Author: Moises Deniz Aleman <mdeniz@suse.com> Date: 2017-09-14 (Thu, 14 Sep 2017) Changed paths: M src/api/app/models/package_build_status.rb M src/api/lib/backend/api.rb Log Message: ----------- [api] Refactor other PackageBuildStatus call Created a build_dependency_info method in Backend::Api to the call instead of using ActiveXML.backend.direct_http Commit: cd50a4c2ff8bd437a520f6b8f9ed2ad970b0e07f https://github.com/openSUSE/open-build-service/commit/cd50a4c2ff8bd437a520f6... Author: Moises Deniz Aleman <mdeniz@suse.com> Date: 2017-09-14 (Thu, 14 Sep 2017) Changed paths: M src/api/app/models/worker_status.rb M src/api/lib/backend/api.rb Log Message: ----------- [api][webui] Move WorkerStatus backend calls created a worker_status method in Backend::Api for it Commit: 6c829c1a1f25849cb15c6783de97e14ccdd81209 https://github.com/openSUSE/open-build-service/commit/6c829c1a1f25849cb15c67... Author: Moises Deniz Aleman <mdeniz@suse.com> Date: 2017-09-14 (Thu, 14 Sep 2017) Changed paths: M src/api/app/models/bs_request_permission_check.rb M src/api/lib/backend/api.rb Log Message: ----------- [api][webui] Move BsRequestPermissionCheck backend calls Refactored to use file_list method of Backend::Api Commit: 02ebd5f1ce2ed07fcff1c2cdfa8209d90a154304 https://github.com/openSUSE/open-build-service/commit/02ebd5f1ce2ed07fcff1c2... Author: Moises Deniz Aleman <mdeniz@suse.com> Date: 2017-09-14 (Thu, 14 Sep 2017) Changed paths: M src/api/app/controllers/webui/package_controller.rb M src/api/lib/backend/api.rb Log Message: ----------- [webui] Refactor PackageController#get_diff Move backend calls to Backend::Api and refactor the method to not calculate the path Commit: 65a3c0a4c0a08a055848415a719bcc20e025e2b6 https://github.com/openSUSE/open-build-service/commit/65a3c0a4c0a08a05584841... Author: Moises Deniz Aleman <mdeniz@suse.com> Date: 2017-09-14 (Thu, 14 Sep 2017) Changed paths: M src/api/app/controllers/test_controller.rb M src/api/lib/backend/api.rb Log Message: ----------- [api] Use Backend::Api.root for tests Instead of ActiveXML.backend.direct_http Commit: 5e85e2179f055957673d361ba3c88ff0747a411b https://github.com/openSUSE/open-build-service/commit/5e85e2179f055957673d36... Author: Moises Deniz Aleman <mdeniz@suse.com> Date: 2017-09-14 (Thu, 14 Sep 2017) Changed paths: M src/api/lib/backend/backend.rb Log Message: ----------- [api][webui] Backend's lib self load it parts Instead of requiring each file one by one we can do it automatically Commit: 5b80dcaca2111d723b6e34221d269793272d30c3 https://github.com/openSUSE/open-build-service/commit/5b80dcaca2111d723b6e34... Author: Moises Deniz Aleman <mdeniz@suse.com> Date: 2017-09-14 (Thu, 14 Sep 2017) Changed paths: M src/api/app/controllers/source_controller.rb M src/api/lib/backend/api.rb Log Message: ----------- [api] Move backend call of SourceController Move rebuild command to the Backend::Api Commit: d78c6c9ad7eef15826417fc153a067e8ceeadbce https://github.com/openSUSE/open-build-service/commit/d78c6c9ad7eef15826417f... Author: Moises Deniz Aleman <mdeniz@suse.com> Date: 2017-09-14 (Thu, 14 Sep 2017) Changed paths: M src/api/app/controllers/application_controller.rb M src/api/app/controllers/source_controller.rb M src/api/lib/backend/api.rb Log Message: ----------- [api] Remove backend_get method For that source_file, write_source_file, meta_from_project and meta_from_package methods were created in Backend::Api Commit: a14f99bb14ea6731fe978acb6bad3037e35542dd https://github.com/openSUSE/open-build-service/commit/a14f99bb14ea6731fe978a... Author: Moises Deniz Aleman <mdeniz@suse.com> Date: 2017-09-14 (Thu, 14 Sep 2017) Changed paths: M src/api/lib/activexml/transport.rb Log Message: ----------- [api][webui] Get rid of ActiveXML direct_http No need to have this method is now unused Commit: f176e225c4dbcee6a57a6f3c5bb3f834554a3cf0 https://github.com/openSUSE/open-build-service/commit/f176e225c4dbcee6a57a6f... Author: Moises Deniz Aleman <mdeniz@suse.com> Date: 2017-09-14 (Thu, 14 Sep 2017) Changed paths: A src/api/lib/backend/test/tasks.rb R src/api/lib/backend/tests/tasks.rb M src/api/script/start_test_backend M src/api/test/test_helper.rb Log Message: ----------- [api] Move Backend::Test::Tasks module Fix error when trying to require the dependency automatically Commit: 13a04fe7e9a2b9b6729a2f988e6b682dd1da90e8 https://github.com/openSUSE/open-build-service/commit/13a04fe7e9a2b9b6729a2f... Author: Moisés Déniz Alemán <mdeniz@suse.com> Date: 2017-09-15 (Fri, 15 Sep 2017) Changed paths: M src/api/app/controllers/application_controller.rb M src/api/app/controllers/source_controller.rb M src/api/app/controllers/test_controller.rb M src/api/app/controllers/webui/package_controller.rb M src/api/app/mixins/request_source_diff.rb M src/api/app/models/bs_request_permission_check.rb M src/api/app/models/package_build_status.rb M src/api/app/models/worker_status.rb M src/api/lib/activexml/transport.rb M src/api/lib/backend/api.rb M src/api/lib/backend/backend.rb A src/api/lib/backend/test/tasks.rb R src/api/lib/backend/tests/tasks.rb M src/api/script/start_test_backend M src/api/test/test_helper.rb Log Message: ----------- Merge pull request #3823 from mdeniz/refactor_backend_api_part_7 Refactor backend calls to Backend::Api (part 7) Compare: https://github.com/openSUSE/open-build-service/compare/6a1fb4400816...13a04f...
participants (1)
-
Moisés Déniz Alemán