Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: d69f2f66c1b4645e328a92ef375c5333f5274ce7
https://github.com/openSUSE/open-build-service/commit/d69f2f66c1b4645e328a92...
Author: Stephan Kulow
Date: 2019-11-23 (Sat, 23 Nov 2019)
Changed paths:
M docs/api/api/api.txt
M src/api/app/controllers/staging/staging_projects_controller.rb
M src/api/app/jobs/staging_project_accept_job.rb
M src/api/app/models/concerns/staging_project.rb
M src/api/app/policies/project_policy.rb
A src/api/spec/cassettes/StagingProjectAcceptJob/_perform/when_the_staging_project_has_missing_reviews/1_1_2_1.yml
M src/api/spec/cassettes/StagingProjectAcceptJob/_perform/when_the_staging_project_is_in_acceptable_state/1_1_1_1.yml
M src/api/spec/cassettes/StagingProjectAcceptJob/_perform/when_the_staging_project_is_in_acceptable_state/1_1_1_2.yml
M src/api/spec/cassettes/StagingProjectAcceptJob/_perform/when_the_staging_project_is_in_acceptable_state/1_1_1_3.yml
M src/api/spec/cassettes/StagingProjectAcceptJob/_perform/when_the_staging_project_is_in_acceptable_state/1_1_1_4.yml
M src/api/spec/cassettes/StagingProjectAcceptJob/_perform/when_the_staging_project_is_in_acceptable_state/1_1_1_5.yml
R src/api/spec/cassettes/StagingProjectAcceptJob/_perform/when_the_staging_project_is_not_in_state_acceptable/1_1_2_1.yml
R src/api/spec/cassettes/StagingProjectAcceptJob/_perform/when_the_staging_project_is_not_in_state_acceptable/1_1_2_2.yml
R src/api/spec/cassettes/StagingProjectAcceptJob/_perform/when_the_staging_project_is_not_in_state_acceptable/1_1_2_3.yml
R src/api/spec/cassettes/StagingProjectAcceptJob/_perform/when_the_staging_project_is_not_in_state_acceptable/1_1_2_4.yml
R src/api/spec/cassettes/StagingProjectAcceptJob/_perform/when_the_staging_project_is_not_in_state_acceptable/1_1_2_5.yml
M src/api/spec/cassettes/StagingProjectAcceptJob/_perform/when_the_user_has_no_permissions_for_the_target/1_1_3_1.yml
M src/api/spec/cassettes/Staging_StagingProjectsController/GET_index/existing_staging_workflow/1_1_1_1.yml
M src/api/spec/cassettes/Staging_StagingProjectsController/GET_index/not_existing_staging_workflow/1_1_2_1.yml
A src/api/spec/cassettes/Staging_StagingProjectsController/POST_accept/when_project_has_a_request/with_missing_check/1_4_3_2_1.yml
A src/api/spec/cassettes/Staging_StagingProjectsController/POST_accept/when_project_has_a_request/with_missing_check/returns_correct_error.yml
A src/api/spec/cassettes/Staging_StagingProjectsController/POST_accept/when_project_has_a_request/with_nothing_missing/1_4_3_1_1.yml
A src/api/spec/cassettes/Staging_StagingProjectsController/POST_accept/when_project_has_a_request/with_nothing_missing/as_staging_owner/can_t_accept.yml
A src/api/spec/cassettes/Staging_StagingProjectsController/POST_accept/when_project_has_a_request/with_nothing_missing/starts_the_accept_job_for_the_staging_projects.yml
R src/api/spec/cassettes/Staging_StagingProjectsController/POST_accept/when_project_is_in_state_acceptable/1_4_2_1.yml
R src/api/spec/cassettes/Staging_StagingProjectsController/POST_accept/when_project_is_in_state_acceptable/1_4_3_1.yml
R src/api/spec/cassettes/Staging_StagingProjectsController/POST_accept/when_project_is_in_state_acceptable/starts_the_accept_job_for_the_staging_projects.yml
M src/api/spec/controllers/staging/staging_projects_controller_spec.rb
M src/api/spec/factories/repository.rb
M src/api/spec/jobs/staging_project_accept_job_spec.rb
Log Message:
-----------
Force accept for staging projects
Have the controller check if the force parameter applies and remove the
extra check on the accept job
Fixes #8759 and #7346
Commit: 5a4a5db5476f8f1223b54da8f915ea2310f49aea
https://github.com/openSUSE/open-build-service/commit/5a4a5db5476f8f1223b54d...
Author: Stephan Kulow
Date: 2019-11-23 (Sat, 23 Nov 2019)
Changed paths:
M src/api/app/controllers/source/errors.rb
A src/api/app/controllers/staging/errors.rb
M src/api/app/controllers/staging/staging_projects_controller.rb
Log Message:
-----------
Introduce Staging::Error module for exceptions
Commit: 65f7df46c4cc4c1d66f8400aca494b96767cdc46
https://github.com/openSUSE/open-build-service/commit/65f7df46c4cc4c1d66f840...
Author: Saray Cabrera Padrón
Date: 2019-11-26 (Tue, 26 Nov 2019)
Changed paths:
M docs/api/api/api.txt
M src/api/app/controllers/source/errors.rb
A src/api/app/controllers/staging/errors.rb
M src/api/app/controllers/staging/staging_projects_controller.rb
M src/api/app/jobs/staging_project_accept_job.rb
M src/api/app/models/concerns/staging_project.rb
M src/api/app/policies/project_policy.rb
A src/api/spec/cassettes/StagingProjectAcceptJob/_perform/when_the_staging_project_has_missing_reviews/1_1_2_1.yml
M src/api/spec/cassettes/StagingProjectAcceptJob/_perform/when_the_staging_project_is_in_acceptable_state/1_1_1_1.yml
M src/api/spec/cassettes/StagingProjectAcceptJob/_perform/when_the_staging_project_is_in_acceptable_state/1_1_1_2.yml
M src/api/spec/cassettes/StagingProjectAcceptJob/_perform/when_the_staging_project_is_in_acceptable_state/1_1_1_3.yml
M src/api/spec/cassettes/StagingProjectAcceptJob/_perform/when_the_staging_project_is_in_acceptable_state/1_1_1_4.yml
M src/api/spec/cassettes/StagingProjectAcceptJob/_perform/when_the_staging_project_is_in_acceptable_state/1_1_1_5.yml
R src/api/spec/cassettes/StagingProjectAcceptJob/_perform/when_the_staging_project_is_not_in_state_acceptable/1_1_2_1.yml
R src/api/spec/cassettes/StagingProjectAcceptJob/_perform/when_the_staging_project_is_not_in_state_acceptable/1_1_2_2.yml
R src/api/spec/cassettes/StagingProjectAcceptJob/_perform/when_the_staging_project_is_not_in_state_acceptable/1_1_2_3.yml
R src/api/spec/cassettes/StagingProjectAcceptJob/_perform/when_the_staging_project_is_not_in_state_acceptable/1_1_2_4.yml
R src/api/spec/cassettes/StagingProjectAcceptJob/_perform/when_the_staging_project_is_not_in_state_acceptable/1_1_2_5.yml
M src/api/spec/cassettes/StagingProjectAcceptJob/_perform/when_the_user_has_no_permissions_for_the_target/1_1_3_1.yml
M src/api/spec/cassettes/Staging_StagingProjectsController/GET_index/existing_staging_workflow/1_1_1_1.yml
M src/api/spec/cassettes/Staging_StagingProjectsController/GET_index/not_existing_staging_workflow/1_1_2_1.yml
A src/api/spec/cassettes/Staging_StagingProjectsController/POST_accept/when_project_has_a_request/with_missing_check/1_4_3_2_1.yml
A src/api/spec/cassettes/Staging_StagingProjectsController/POST_accept/when_project_has_a_request/with_missing_check/returns_correct_error.yml
A src/api/spec/cassettes/Staging_StagingProjectsController/POST_accept/when_project_has_a_request/with_nothing_missing/1_4_3_1_1.yml
A src/api/spec/cassettes/Staging_StagingProjectsController/POST_accept/when_project_has_a_request/with_nothing_missing/as_staging_owner/can_t_accept.yml
A src/api/spec/cassettes/Staging_StagingProjectsController/POST_accept/when_project_has_a_request/with_nothing_missing/starts_the_accept_job_for_the_staging_projects.yml
R src/api/spec/cassettes/Staging_StagingProjectsController/POST_accept/when_project_is_in_state_acceptable/1_4_2_1.yml
R src/api/spec/cassettes/Staging_StagingProjectsController/POST_accept/when_project_is_in_state_acceptable/1_4_3_1.yml
R src/api/spec/cassettes/Staging_StagingProjectsController/POST_accept/when_project_is_in_state_acceptable/starts_the_accept_job_for_the_staging_projects.yml
M src/api/spec/controllers/staging/staging_projects_controller_spec.rb
M src/api/spec/factories/repository.rb
M src/api/spec/jobs/staging_project_accept_job_spec.rb
Log Message:
-----------
Merge pull request #8760 from coolo/fix_7346
Force accept for staging projects
Compare: https://github.com/openSUSE/open-build-service/compare/4486f7af6fcc...65f7df...