Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 642bcc42ce21f8e2654eabdde5e845d08ca5dbdc https://github.com/openSUSE/open-build-service/commit/642bcc42ce21f8e2654eab... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2024-03-19 (Tue, 19 Mar 2024) Changed paths: M src/api/spec/models/workflow/step/branch_package_step_spec.rb Log Message: ----------- Move shared things to the outermost context No need to setup the same things a couple of times. Commit: 16397db3c481e8f436286a533daa3fa5d64cb578 https://github.com/openSUSE/open-build-service/commit/16397db3c481e8f436286a... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2024-03-19 (Tue, 19 Mar 2024) Changed paths: M src/api/spec/models/workflow/step/branch_package_step_spec.rb Log Message: ----------- Rename context The context 'when scmsync is active' is actually to describe '.parse_scmsync_for_target_package' Commit: 443574e666be3df6d43868b82b33ed2c5b5cd924 https://github.com/openSUSE/open-build-service/commit/443574e666be3df6d43868... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2024-03-19 (Tue, 19 Mar 2024) Changed paths: M src/api/spec/models/workflow/step/branch_package_step_spec.rb Log Message: ----------- Add specs for the various scmsync conditions Commit: 6e233962d61d6c8732a364faa27cb0037977362f https://github.com/openSUSE/open-build-service/commit/6e233962d61d6c8732a364... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2024-03-19 (Tue, 19 Mar 2024) Changed paths: M src/api/app/models/workflow/step/branch_package_step.rb Log Message: ----------- Fix updating scmsync attribute for existing target packages In case the target package already exists for some reason - this is an updated pull request - the target package was created previously we still need to update the scmsync attribute. This broke with #14830 Commit: 08ba1fd9b8e1b4e8117825f0674572cc6280031f https://github.com/openSUSE/open-build-service/commit/08ba1fd9b8e1b4e8117825... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2024-03-19 (Tue, 19 Mar 2024) Changed paths: M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_closed_merged_SCM_webhook_event/without_target_project_permission/1_1_2_1_1.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/it_creates_the__branch_request_file/1_1_1_1_1.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/it_creates_the__branch_request_file/1_1_1_1_2.yml A src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/it_sets_the_scmsync_url/1_1_1_2_1.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_scmsync_is_active/on_a_package_level_with_a_branch_fragment/1_1_1_5_4_1.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_scmsync_is_active/on_a_package_level_with_a_branch_fragment/1_1_1_5_4_2.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_scmsync_is_active/on_a_package_level_with_a_subdir_query/1_1_1_5_3_1.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_scmsync_is_active/on_a_package_level_with_a_subdir_query/1_1_1_5_3_2.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_scmsync_is_active/on_a_package_level_with_a_subdir_query_and_a_branch_fragment/1_1_1_5_5_1.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_scmsync_is_active/on_a_package_level_with_a_subdir_query_and_a_branch_fragment/1_1_1_5_5_2.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_scmsync_is_active/on_package_level/1_1_1_5_2_1.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_scmsync_is_active/on_package_level/1_1_1_5_2_2.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_scmsync_is_active/on_package_level/1_1_1_5_2_3.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_scmsync_is_active/on_package_level/1_1_1_5_2_4.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_scmsync_is_active/on_package_level/1_1_1_5_2_5.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_scmsync_is_active/on_project_level/1_1_1_5_1_1.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_scmsync_is_active/on_project_level/1_1_1_5_1_2.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_scmsync_is_active/on_project_level/1_1_1_5_1_3.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_scmsync_is_active/on_project_level/1_1_1_5_1_4.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_scmsync_is_active/on_project_level/1_1_1_5_1_5.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_the_branch_target_package_already_exists/1_1_1_3_1.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_the_branch_target_package_already_exists/1_1_1_3_2.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_the_branch_target_package_already_exists/1_1_1_3_3.yml A src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_the_branch_target_package_already_exists/1_1_1_4_1.yml A src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_the_branch_target_package_already_exists/1_1_1_4_2.yml A src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_the_branch_target_package_already_exists/1_1_1_4_3.yml A src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_the_branch_target_package_already_exists/it_updates_the__branch_request_file/1_1_1_4_4_1.yml A src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_the_branch_target_package_already_exists/it_updates_the__branch_request_file/1_1_1_4_4_2.yml A src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_the_branch_target_package_already_exists/it_updates_the_scmsync_url/1_1_1_4_5_1.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_the_branch_target_package_does_not_exist/1_1_1_4_1.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_the_branch_target_package_does_not_exist/1_1_1_4_2.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_the_branch_target_package_does_not_exist/1_1_1_4_3.yml A src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_the_branch_target_package_does_not_exist/1_1_1_5_1.yml A src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_the_branch_target_package_does_not_exist/1_1_1_5_2.yml A src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_the_branch_target_package_does_not_exist/1_1_1_5_3.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/without_branch_permissions/1_1_1_2_1.yml A src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/without_branch_permissions/1_1_1_3_1.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_reopened_event_SCM_webhook_event/without_target_project_permission/1_1_3_1_1.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_check_source_access/1_3_1.yml A src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_check_source_access/1_4_1.yml A src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_parse_scmsync_for_target_package/for_scmsync_on_package_level/1_2_2_1.yml A src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_parse_scmsync_for_target_package/for_scmsync_on_package_level/with_a_branch_fragment/1_2_2_3_1.yml A src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_parse_scmsync_for_target_package/for_scmsync_on_package_level/with_a_subdir_query/1_2_2_2_1.yml A src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_parse_scmsync_for_target_package/for_scmsync_on_package_level/with_a_subdir_query_and_a_branch_fragment/1_2_2_4_1.yml A src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_parse_scmsync_for_target_package/for_scmsync_on_project_level/1_2_1_1.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_skip_repositories_/when_add_repositories_is_blank/1_2_3_1.yml A src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_skip_repositories_/when_add_repositories_is_blank/1_3_3_1.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_skip_repositories_/when_add_repositories_is_disabled/1_2_2_1.yml A src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_skip_repositories_/when_add_repositories_is_disabled/1_3_2_1.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_skip_repositories_/when_add_repositories_is_enabled/1_2_1_1.yml A src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_skip_repositories_/when_add_repositories_is_enabled/1_3_1_1.yml Log Message: ----------- Adapt cassettes to BranchPackageStep spec changes Commit: 070c21cd947a3a8d328d7d101fe6450b5d2e4264 https://github.com/openSUSE/open-build-service/commit/070c21cd947a3a8d328d7d... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2024-03-19 (Tue, 19 Mar 2024) Changed paths: M src/api/app/models/workflow/step/branch_package_step.rb M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_closed_merged_SCM_webhook_event/without_target_project_permission/1_1_2_1_1.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/it_creates_the__branch_request_file/1_1_1_1_1.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/it_creates_the__branch_request_file/1_1_1_1_2.yml A src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/it_sets_the_scmsync_url/1_1_1_2_1.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_scmsync_is_active/on_a_package_level_with_a_branch_fragment/1_1_1_5_4_1.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_scmsync_is_active/on_a_package_level_with_a_branch_fragment/1_1_1_5_4_2.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_scmsync_is_active/on_a_package_level_with_a_subdir_query/1_1_1_5_3_1.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_scmsync_is_active/on_a_package_level_with_a_subdir_query/1_1_1_5_3_2.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_scmsync_is_active/on_a_package_level_with_a_subdir_query_and_a_branch_fragment/1_1_1_5_5_1.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_scmsync_is_active/on_a_package_level_with_a_subdir_query_and_a_branch_fragment/1_1_1_5_5_2.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_scmsync_is_active/on_package_level/1_1_1_5_2_1.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_scmsync_is_active/on_package_level/1_1_1_5_2_2.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_scmsync_is_active/on_package_level/1_1_1_5_2_3.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_scmsync_is_active/on_package_level/1_1_1_5_2_4.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_scmsync_is_active/on_package_level/1_1_1_5_2_5.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_scmsync_is_active/on_project_level/1_1_1_5_1_1.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_scmsync_is_active/on_project_level/1_1_1_5_1_2.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_scmsync_is_active/on_project_level/1_1_1_5_1_3.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_scmsync_is_active/on_project_level/1_1_1_5_1_4.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_scmsync_is_active/on_project_level/1_1_1_5_1_5.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_the_branch_target_package_already_exists/1_1_1_3_1.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_the_branch_target_package_already_exists/1_1_1_3_2.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_the_branch_target_package_already_exists/1_1_1_3_3.yml A src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_the_branch_target_package_already_exists/1_1_1_4_1.yml A src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_the_branch_target_package_already_exists/1_1_1_4_2.yml A src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_the_branch_target_package_already_exists/1_1_1_4_3.yml A src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_the_branch_target_package_already_exists/it_updates_the__branch_request_file/1_1_1_4_4_1.yml A src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_the_branch_target_package_already_exists/it_updates_the__branch_request_file/1_1_1_4_4_2.yml A src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_the_branch_target_package_already_exists/it_updates_the_scmsync_url/1_1_1_4_5_1.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_the_branch_target_package_does_not_exist/1_1_1_4_1.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_the_branch_target_package_does_not_exist/1_1_1_4_2.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_the_branch_target_package_does_not_exist/1_1_1_4_3.yml A src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_the_branch_target_package_does_not_exist/1_1_1_5_1.yml A src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_the_branch_target_package_does_not_exist/1_1_1_5_2.yml A src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/when_the_branch_target_package_does_not_exist/1_1_1_5_3.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/without_branch_permissions/1_1_1_2_1.yml A src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_new_commit_SCM_webhook_event/without_branch_permissions/1_1_1_3_1.yml M src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_call/for_a_reopened_event_SCM_webhook_event/without_target_project_permission/1_1_3_1_1.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_check_source_access/1_3_1.yml A src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_check_source_access/1_4_1.yml A src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_parse_scmsync_for_target_package/for_scmsync_on_package_level/1_2_2_1.yml A src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_parse_scmsync_for_target_package/for_scmsync_on_package_level/with_a_branch_fragment/1_2_2_3_1.yml A src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_parse_scmsync_for_target_package/for_scmsync_on_package_level/with_a_subdir_query/1_2_2_2_1.yml A src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_parse_scmsync_for_target_package/for_scmsync_on_package_level/with_a_subdir_query_and_a_branch_fragment/1_2_2_4_1.yml A src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_parse_scmsync_for_target_package/for_scmsync_on_project_level/1_2_1_1.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_skip_repositories_/when_add_repositories_is_blank/1_2_3_1.yml A src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_skip_repositories_/when_add_repositories_is_blank/1_3_3_1.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_skip_repositories_/when_add_repositories_is_disabled/1_2_2_1.yml A src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_skip_repositories_/when_add_repositories_is_disabled/1_3_2_1.yml R src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_skip_repositories_/when_add_repositories_is_enabled/1_2_1_1.yml A src/api/spec/cassettes/Workflow_Step_BranchPackageStep/_skip_repositories_/when_add_repositories_is_enabled/1_3_1_1.yml M src/api/spec/models/workflow/step/branch_package_step_spec.rb Log Message: ----------- Merge pull request #15771 from hennevogel/bugfix/15770 Fix updating scmsync'ed packages in workflows Compare: https://github.com/openSUSE/open-build-service/compare/08c170907db6...070c21... To unsubscribe from these emails, change your notification settings at https://github.com/openSUSE/open-build-service/settings/notifications