[obs-commits] [openSUSE/open-build-service] b115ac: [frontend] Rename backend call for getting upload ...
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: b115ac6b3df58ffc44dd8ae34a77a2ff5b595262 https://github.com/openSUSE/open-build-service/commit/b115ac6b3df58ffc44dd8a... Author: Björn Geuken <bgeuken@suse.de> Date: 2018-03-22 (Thu, 22 Mar 2018) Changed paths: M src/api/app/models/cloud/backend/upload_job.rb M src/api/lib/backend/api/cloud.rb Log Message: ----------- [frontend] Rename backend call for getting upload job data That method is returning backend data for upload jobs. Naming it ::Backend::Api::Cloud.upload_jobs instead of ::Backend::Api::Cloud.status seems to be more speaking / self-explaining. Commit: bdb7762a20454c99ccf96dafad7f5be13674702a https://github.com/openSUSE/open-build-service/commit/bdb7762a20454c99ccf96d... Author: Björn Geuken <bgeuken@suse.de> Date: 2018-03-22 (Thu, 22 Mar 2018) Changed paths: M src/api/app/models/cloud/backend/upload_job.rb M src/api/lib/backend/api/cloud.rb Log Message: ----------- [frontend] Make Backend::Api::Cloud#upload_jobs independent from user The method was returning backend data of a all upload_jobs of a given user. Instead it now receives a list of job ids and returns their associated backend data. This makes the method more flexible and allows it to be used in different contexts, eg. querying data of a single upload job. Commit: e8afb0666451082ed14b3fad19ae633c1b231771 https://github.com/openSUSE/open-build-service/commit/e8afb0666451082ed14b3f... Author: Björn Geuken <bgeuken@suse.de> Date: 2018-03-22 (Thu, 22 Mar 2018) Changed paths: M src/api/app/models/cloud/backend/upload_job.rb M src/api/lib/backend/api/cloud.rb Log Message: ----------- Merge pull request #4715 from bgeuken/cloud_upload_refactoring Cloud upload refactoring Compare: https://github.com/openSUSE/open-build-service/compare/06ae5a6f0547...e8afb0...
participants (1)
-
Björn Geuken