[openSUSE/open-build-service] e30ce1: Revert "Revert "Introduces triggering Project oper...
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: e30ce1680715e08a2c3bccbc1cffcf870ac23835 https://github.com/openSUSE/open-build-service/commit/e30ce1680715e08a2c3bcc... Author: Saray Cabrera Padrón <scabrerapadron@suse.de> Date: 2023-12-22 (Fri, 22 Dec 2023) Changed paths: M src/api/.rubocop_todo.yml M src/api/app/controllers/concerns/triggerable.rb M src/api/app/controllers/person/token_controller.rb M src/api/app/controllers/trigger_controller.rb M src/api/app/lib/backend/api/build/project.rb M src/api/app/models/token/rebuild.rb M src/api/app/models/token/release.rb M src/api/app/policies/token/release_policy.rb M src/api/config/routes/api_routes.rb Log Message: ----------- Revert "Revert "Introduces triggering Project operations"" This reverts commit 5c5e5f180661d127b3641e0e33d84925ca1810c1. Commit: 245fb6891432d265639fc385c2c9d1a0d849318f https://github.com/openSUSE/open-build-service/commit/245fb6891432d265639fc3... Author: Saray Cabrera Padrón <scabrerapadron@suse.de> Date: 2023-12-22 (Fri, 22 Dec 2023) Changed paths: R src/api/spec/cassettes/TriggerController/_rebuild/when_the_token_is_not_bound_to_a_package/without_a_package_passed_in_the_parameters/1_1_3_1_1.yml R src/api/spec/cassettes/TriggerController/_rebuild/when_the_token_is_not_bound_to_a_package/without_a_package_passed_in_the_parameters/1_1_3_1_2.yml R src/api/spec/cassettes/TriggerController/_rebuild/when_token_is_valid/1_1_2_1.yml A src/api/spec/cassettes/TriggerController/_rebuild/with_project_and_package_parameter/1_2_2_1.yml A src/api/spec/cassettes/TriggerController/_rebuild/with_project_parameter/1_2_3_1.yml A src/api/spec/cassettes/TriggerController/_rebuild/with_token_package/1_2_1_1.yml R src/api/spec/cassettes/TriggerController/_release/for_inexistent_project/1_2_1_1.yml R src/api/spec/cassettes/TriggerController/_release/when_the_token_is_not_bound_to_a_package/without_a_package_passed_in_the_parameters/1_2_6_1_1.yml R src/api/spec/cassettes/TriggerController/_release/when_the_token_is_not_bound_to_a_package/without_a_package_passed_in_the_parameters/1_2_6_1_2.yml R src/api/spec/cassettes/TriggerController/_release/when_there_are_no_release_targets/1_2_5_1.yml R src/api/spec/cassettes/TriggerController/_release/when_token_is_valid_and_package_exists/1_2_2_1.yml R src/api/spec/cassettes/TriggerController/_release/when_user_has_no_rights_for_source/1_2_3_1.yml R src/api/spec/cassettes/TriggerController/_release/when_user_has_no_rights_for_target/1_2_4_1.yml R src/api/spec/cassettes/TriggerController/_release/when_user_has_no_rights_for_target/1_2_4_2.yml A src/api/spec/cassettes/TriggerController/_release/with_project_and_package_parameter/1_3_2_1.yml A src/api/spec/cassettes/TriggerController/_release/with_project_parameter/1_3_3_1.yml A src/api/spec/cassettes/TriggerController/_release/with_token_package/1_3_1_1.yml R src/api/spec/cassettes/TriggerController/_runservice/1_3_1.yml A src/api/spec/cassettes/TriggerController/_runservice/_verfiy_package_params/1_4_3_1.yml R src/api/spec/cassettes/TriggerController/_runservice/when_the_token_is_not_bound_to_a_package/without_a_package_passed_in_the_parameters/1_3_2_1_1.yml R src/api/spec/cassettes/TriggerController/_runservice/when_the_token_is_not_bound_to_a_package/without_a_package_passed_in_the_parameters/1_3_2_1_2.yml A src/api/spec/cassettes/TriggerController/_runservice/with_project_and_package_parameter/1_4_2_1.yml A src/api/spec/cassettes/TriggerController/_runservice/with_token_package/1_4_1_1.yml M src/api/spec/controllers/person/token_controller_spec.rb M src/api/spec/controllers/trigger_controller_spec.rb M src/api/spec/factories/project.rb R src/api/test/functional/trigger_controller_test.rb Log Message: ----------- Revert "Revert "Expand the rspec suite to cover Tokens"" This reverts commit 0fd721a600f81d21f924b5e1cafbc753df02ed05. Commit: 38d6f9d9e68e8cf13929eb3df5fbe77c27763332 https://github.com/openSUSE/open-build-service/commit/38d6f9d9e68e8cf13929eb... Author: Saray Cabrera Padrón <scabrerapadron@suse.de> Date: 2023-12-22 (Fri, 22 Dec 2023) Changed paths: M src/api/public/apidocs/OBS-v2.10.50.yaml M src/api/public/apidocs/paths/trigger_operation.yaml A src/api/public/apidocs/paths/trigger_rebuild.yaml A src/api/public/apidocs/paths/trigger_release.yaml A src/api/public/apidocs/paths/trigger_runservice.yaml A src/api/public/apidocs/paths/trigger_webhook.yaml A src/api/public/apidocs/paths/trigger_workflow.yaml Log Message: ----------- Revert "Revert "Document all of the /trigger API"" This reverts commit f15230ec66f86ab2e3f9143d20263dc94b403f6c. Commit: 48a9b1922bac7bbd1a2ed31a81ec4ebcdaf93b3d https://github.com/openSUSE/open-build-service/commit/48a9b1922bac7bbd1a2ed3... Author: Saray Cabrera Padrón <scabrerapadron@suse.de> Date: 2023-12-22 (Fri, 22 Dec 2023) Changed paths: M src/api/app/controllers/trigger_controller.rb Log Message: ----------- Use descriptive error message for token type validation Commit: e57400ac98e389821a393653c5cdd55814452f69 https://github.com/openSUSE/open-build-service/commit/e57400ac98e389821a3936... Author: Saray Cabrera Padrón <scabrerapadron@suse.de> Date: 2023-12-22 (Fri, 22 Dec 2023) Changed paths: M src/api/app/controllers/trigger_controller.rb Log Message: ----------- Reduce cognitive complexity of validator Validator: validate_parameters_by_token. Commit: aa27ae1bc658834ac8d6c1eab252ba2901901a3b https://github.com/openSUSE/open-build-service/commit/aa27ae1bc658834ac8d6c1... Author: Saray Cabrera Padrón <scabrerapadron@suse.com> Date: 2023-12-26 (Tue, 26 Dec 2023) Changed paths: M src/api/.rubocop_todo.yml M src/api/app/controllers/concerns/triggerable.rb M src/api/app/controllers/person/token_controller.rb M src/api/app/controllers/trigger_controller.rb M src/api/app/lib/backend/api/build/project.rb M src/api/app/models/token/rebuild.rb M src/api/app/models/token/release.rb M src/api/app/policies/token/release_policy.rb M src/api/config/routes/api_routes.rb M src/api/public/apidocs/OBS-v2.10.50.yaml M src/api/public/apidocs/paths/trigger_operation.yaml A src/api/public/apidocs/paths/trigger_rebuild.yaml A src/api/public/apidocs/paths/trigger_release.yaml A src/api/public/apidocs/paths/trigger_runservice.yaml A src/api/public/apidocs/paths/trigger_webhook.yaml A src/api/public/apidocs/paths/trigger_workflow.yaml R src/api/spec/cassettes/TriggerController/_rebuild/when_the_token_is_not_bound_to_a_package/without_a_package_passed_in_the_parameters/1_1_3_1_1.yml R src/api/spec/cassettes/TriggerController/_rebuild/when_the_token_is_not_bound_to_a_package/without_a_package_passed_in_the_parameters/1_1_3_1_2.yml R src/api/spec/cassettes/TriggerController/_rebuild/when_token_is_valid/1_1_2_1.yml A src/api/spec/cassettes/TriggerController/_rebuild/with_project_and_package_parameter/1_2_2_1.yml A src/api/spec/cassettes/TriggerController/_rebuild/with_project_parameter/1_2_3_1.yml A src/api/spec/cassettes/TriggerController/_rebuild/with_token_package/1_2_1_1.yml R src/api/spec/cassettes/TriggerController/_release/for_inexistent_project/1_2_1_1.yml R src/api/spec/cassettes/TriggerController/_release/when_the_token_is_not_bound_to_a_package/without_a_package_passed_in_the_parameters/1_2_6_1_1.yml R src/api/spec/cassettes/TriggerController/_release/when_the_token_is_not_bound_to_a_package/without_a_package_passed_in_the_parameters/1_2_6_1_2.yml R src/api/spec/cassettes/TriggerController/_release/when_there_are_no_release_targets/1_2_5_1.yml R src/api/spec/cassettes/TriggerController/_release/when_token_is_valid_and_package_exists/1_2_2_1.yml R src/api/spec/cassettes/TriggerController/_release/when_user_has_no_rights_for_source/1_2_3_1.yml R src/api/spec/cassettes/TriggerController/_release/when_user_has_no_rights_for_target/1_2_4_1.yml R src/api/spec/cassettes/TriggerController/_release/when_user_has_no_rights_for_target/1_2_4_2.yml A src/api/spec/cassettes/TriggerController/_release/with_project_and_package_parameter/1_3_2_1.yml A src/api/spec/cassettes/TriggerController/_release/with_project_parameter/1_3_3_1.yml A src/api/spec/cassettes/TriggerController/_release/with_token_package/1_3_1_1.yml R src/api/spec/cassettes/TriggerController/_runservice/1_3_1.yml A src/api/spec/cassettes/TriggerController/_runservice/_verfiy_package_params/1_4_3_1.yml R src/api/spec/cassettes/TriggerController/_runservice/when_the_token_is_not_bound_to_a_package/without_a_package_passed_in_the_parameters/1_3_2_1_1.yml R src/api/spec/cassettes/TriggerController/_runservice/when_the_token_is_not_bound_to_a_package/without_a_package_passed_in_the_parameters/1_3_2_1_2.yml A src/api/spec/cassettes/TriggerController/_runservice/with_project_and_package_parameter/1_4_2_1.yml A src/api/spec/cassettes/TriggerController/_runservice/with_token_package/1_4_1_1.yml M src/api/spec/controllers/person/token_controller_spec.rb M src/api/spec/controllers/trigger_controller_spec.rb M src/api/spec/factories/project.rb R src/api/test/functional/trigger_controller_test.rb Log Message: ----------- Merge pull request #15414 from saraycp/re-apply-token-changes Re-apply token changes Compare: https://github.com/openSUSE/open-build-service/compare/171771351037...aa27ae...
participants (1)
-
Saray Cabrera Padrón