Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: 2b108f0fd178105b1de190837bcd6eba3146d820
https://github.com/openSUSE/open-build-service/commit/2b108f0fd178105b1de190...
Author: Björn Geuken
Date: 2018-06-25 (Mon, 25 Jun 2018)
Changed paths:
R src/api/app/models/build_reason_file.rb
M src/api/app/models/package.rb
M src/api/lib/backend/api/build_results/status.rb
Log Message:
-----------
[frontend] Drop BuildReasonFile model
The BuildReasonFile model was abstracting the _reason file that is
stored in the backend.
Though the only place where this method was used we parsed the raw xml
and created another object (PackageBuildReason) out of it.
Because of that it makes sense to drop this model and use a Backend::Api
call like we already do elsewhere.
In addition this solves an issue caused by BuildReasonFile#to_s returning
nil when the file isn't available or invalid.
Kudos for the idea goes to @DavidKang
Commit: aeac96d53658d9b42564e238d07644a648c0b8c4
https://github.com/openSUSE/open-build-service/commit/aeac96d53658d9b42564e2...
Author: Björn Geuken
Date: 2018-06-25 (Mon, 25 Jun 2018)
Changed paths:
M src/api/lib/backend/file.rb
Log Message:
-----------
[frontend] Refactor BackendFile#to_s method
Commit: 62daff32c7ad133b8a463212d76a8cb44b492b6e
https://github.com/openSUSE/open-build-service/commit/62daff32c7ad133b8a4632...
Author: Björn Geuken
Date: 2018-06-26 (Tue, 26 Jun 2018)
Changed paths:
M src/api/app/controllers/source_project_config_controller.rb
M src/api/app/controllers/webui/project_controller.rb
M src/api/app/helpers/validation_helper.rb
M src/api/app/models/package.rb
M src/api/app/models/project.rb
M src/api/lib/backend/file.rb
M src/api/spec/cassettes/Project/_restore/sets_the_user_that_restored_the_project_in_the_history_element.yml
A src/api/spec/cassettes/Webui_ProjectController/GET_prjconf/Can_not_load_project_config/1_34_2_1.yml
A src/api/spec/cassettes/Webui_ProjectController/GET_prjconf/Can_not_load_project_config/1_34_2_2.yml
M src/api/spec/controllers/source_project_config_controller_spec.rb
M src/api/spec/models/backend/file_spec.rb
M src/api/spec/models/project_spec.rb
M src/api/test/unit/project_test.rb
Log Message:
-----------
[frontend] Rename BackendFile method from to_s to content
Calling it to_s was a bit misleading since this method would return nil
when the requested file does not exist or is invalid.
Commit: 4eece6a24d1612a65945c5f75134b7ab3d369cdf
https://github.com/openSUSE/open-build-service/commit/4eece6a24d1612a65945c5...
Author: Björn Geuken
Date: 2018-06-26 (Tue, 26 Jun 2018)
Changed paths:
M src/api/app/controllers/source_project_config_controller.rb
M src/api/app/controllers/webui/project_controller.rb
M src/api/app/helpers/validation_helper.rb
R src/api/app/models/build_reason_file.rb
M src/api/app/models/package.rb
M src/api/app/models/project.rb
M src/api/lib/backend/api/build_results/status.rb
M src/api/lib/backend/file.rb
M src/api/spec/cassettes/Project/_restore/sets_the_user_that_restored_the_project_in_the_history_element.yml
A src/api/spec/cassettes/Webui_ProjectController/GET_prjconf/Can_not_load_project_config/1_34_2_1.yml
A src/api/spec/cassettes/Webui_ProjectController/GET_prjconf/Can_not_load_project_config/1_34_2_2.yml
M src/api/spec/controllers/source_project_config_controller_spec.rb
M src/api/spec/models/backend/file_spec.rb
M src/api/spec/models/project_spec.rb
M src/api/test/unit/project_test.rb
Log Message:
-----------
Merge pull request #5183 from bgeuken/bugfix/backend_file_
Bugfix/backend file
Compare: https://github.com/openSUSE/open-build-service/compare/990fea418df9...4eece6...
**NOTE:** This service 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.