[openSUSE/open-build-service] 467f12: [api] support scheduler architecture filterung on ...
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 467f1249893c26e885c623aba36be1cf0b77c5b7 https://github.com/openSUSE/open-build-service/commit/467f1249893c26e885c623... Author: Adrian Schröter <adrian@suse.de> Date: 2023-05-24 (Wed, 24 May 2023) Changed paths: M docs/api/api/api.txt M src/api/app/controllers/source_controller.rb M src/api/app/helpers/maintenance_helper.rb Log Message: ----------- [api] support scheduler architecture filterung on release Commit: d9f16df8b8b71b8e61996fd0fb8bc382096e6053 https://github.com/openSUSE/open-build-service/commit/d9f16df8b8b71b8e61996f... Author: Adrian Schröter <adrian@suse.de> Date: 2023-05-25 (Thu, 25 May 2023) Changed paths: M src/api/app/controllers/trigger_controller.rb M src/api/app/models/token/errors.rb M src/api/app/models/token/release.rb Log Message: ----------- [api] fix release behaviour when using token The token should also support the automatic time extension when releasing into maintenance_release projects Commit: 24a2380d59241b3001b1bdedae154782e4d1fa87 https://github.com/openSUSE/open-build-service/commit/24a2380d59241b3001b1bd... Author: Eduardo Navarro <enavarro@suse.com> Date: 2023-05-25 (Thu, 25 May 2023) Changed paths: M src/api/public/apidocs-new/paths/trigger_operation.yaml Log Message: ----------- Add new params for trigger release to OpenAPI docs Commit: 3b37aef6a003a23102ec81b56e032a3d9623458a https://github.com/openSUSE/open-build-service/commit/3b37aef6a003a23102ec81... Author: Lukas Krause <lkrause@suse.de> Date: 2023-05-25 (Thu, 25 May 2023) Changed paths: A src/api/spec/cassettes/Token_Release/_call/when_the_release_target_is_provided_through_parameters/when_the_architecture_is_provided_through_parameters_and_is_included_in_the_target_repository/triggers_the_release_process_in_the_backend.yml A src/api/spec/cassettes/Token_Release/_call/when_the_release_target_is_provided_through_parameters/when_the_architecture_is_provided_through_parameters_and_is_not_included_in_the_target_repository/does_not_trigger_the_release_process_in_the_backend.yml A src/api/spec/cassettes/Token_Release/_call/when_the_release_target_is_provided_through_parameters/when_the_target_project_targetrepository_filter_source_repository_and_arch_parameters_are_provided/triggers_the_release_process_in_the_backend.yml A src/api/spec/cassettes/Token_Release/_call/when_the_release_target_is_provided_through_parameters/when_the_user_can_not_modify_the_target_repository/does_not_trigger_the_release_process_in_the_backend.yml M src/api/spec/models/token/release_spec.rb Log Message: ----------- Add specs for trigger release token with new params Commit: 046e79cb551aeddaead47029f3262e647f400901 https://github.com/openSUSE/open-build-service/commit/046e79cb551aeddaead470... Author: Adrian Schröter <adrian@suse.de> Date: 2023-05-25 (Thu, 25 May 2023) Changed paths: M src/api/app/models/token/release.rb Log Message: ----------- [api] fix architecture and repository filtering Commit: 39fc1baecdfc597d057f48c886c704a601a5fca6 https://github.com/openSUSE/open-build-service/commit/39fc1baecdfc597d057f48... Author: Adrian Schröter <adrian@suse.de> Date: 2023-05-25 (Thu, 25 May 2023) Changed paths: M src/api/app/helpers/maintenance_helper.rb M src/api/app/models/bs_request_action_maintenance_release.rb M src/api/app/models/owner_search/missing.rb M src/api/app/models/repository.rb M src/api/app/models/token/release.rb Log Message: ----------- [api] support scheduler architecture filterung on release Also relax the architecture check to the critical conditions: - first arch must match always (if we do not want to check for all build types) - used archs must exist in target Commit: 6f1d963750677b03ba2b4734c9f62be944805d99 https://github.com/openSUSE/open-build-service/commit/6f1d963750677b03ba2b47... Author: Lukas Krause <lkrause@suse.de> Date: 2023-05-25 (Thu, 25 May 2023) Changed paths: M src/api/spec/controllers/trigger_controller_spec.rb Log Message: ----------- Add architecture to target repository in trigger_controller_spec#release This spec fails otherwise in repository#check_valid_release_target! since the architecture returns nil. Commit: 85608efa42591b4b0108bc3a326bb11324c75ccd https://github.com/openSUSE/open-build-service/commit/85608efa42591b4b0108bc... Author: Lukas Krause <lkrause@suse.de> Date: 2023-05-25 (Thu, 25 May 2023) Changed paths: M src/api/spec/models/token/release_spec.rb Log Message: ----------- Add architecture to target repository in `token/release_spec` This spec fails otherwise in repository#check_valid_release_target! since the architecture returns nil. Commit: 548c7a42cd702dd6a4e3b4e0756210923fec3530 https://github.com/openSUSE/open-build-service/commit/548c7a42cd702dd6a4e3b4... Author: Lukas Krause <lkrause@suse.de> Date: 2023-05-25 (Thu, 25 May 2023) Changed paths: M src/api/spec/controllers/webui/users/token_triggers_controller_spec.rb Log Message: ----------- Add architecture to target repository in `token_triggers_controller_spec` This spec fails otherwise in repository#check_valid_release_target! since the architecture returns nil. Commit: e676ec6e5f9757689853eb38fa97adace2cfe48a https://github.com/openSUSE/open-build-service/commit/e676ec6e5f9757689853eb... Author: Lukas Krause <lkrause@suse.de> Date: 2023-05-25 (Thu, 25 May 2023) Changed paths: M docs/api/api/api.txt M src/api/app/controllers/source_controller.rb M src/api/app/controllers/trigger_controller.rb M src/api/app/helpers/maintenance_helper.rb M src/api/app/models/bs_request_action_maintenance_release.rb M src/api/app/models/owner_search/missing.rb M src/api/app/models/repository.rb M src/api/app/models/token/errors.rb M src/api/app/models/token/release.rb M src/api/public/apidocs-new/paths/trigger_operation.yaml A src/api/spec/cassettes/Token_Release/_call/when_the_release_target_is_provided_through_parameters/when_the_architecture_is_provided_through_parameters_and_is_included_in_the_target_repository/triggers_the_release_process_in_the_backend.yml A src/api/spec/cassettes/Token_Release/_call/when_the_release_target_is_provided_through_parameters/when_the_architecture_is_provided_through_parameters_and_is_not_included_in_the_target_repository/does_not_trigger_the_release_process_in_the_backend.yml A src/api/spec/cassettes/Token_Release/_call/when_the_release_target_is_provided_through_parameters/when_the_target_project_targetrepository_filter_source_repository_and_arch_parameters_are_provided/triggers_the_release_process_in_the_backend.yml A src/api/spec/cassettes/Token_Release/_call/when_the_release_target_is_provided_through_parameters/when_the_user_can_not_modify_the_target_repository/does_not_trigger_the_release_process_in_the_backend.yml M src/api/spec/controllers/trigger_controller_spec.rb M src/api/spec/controllers/webui/users/token_triggers_controller_spec.rb M src/api/spec/models/token/release_spec.rb Log Message: ----------- Merge pull request #13701 from adrianschroeter/fix_token_release_new Fix and extend release mechanics Compare: https://github.com/openSUSE/open-build-service/compare/db46fad1519b...e676ec...
participants (1)
-
Lukas Krause