[openSUSE/open-build-service] c9c352: Special-case SLFO maintenance patchinfos when disp...
Branch: refs/heads/new_container_image_default Home: https://github.com/openSUSE/open-build-service Commit: c9c3528ef60d7b5ba242f26bb34528a84bc2b050 https://github.com/openSUSE/open-build-service/commit/c9c3528ef60d7b5ba242f2... Author: Olivier Tilloy <olivier.tilloy@suse.com> Date: 2024-09-09 (Mon, 09 Sep 2024) Changed paths: M src/api/app/helpers/webui/staging/workflow_helper.rb Log Message: ----------- Special-case SLFO maintenance patchinfos when displaying staging requests These patchinfos are named "patchinfo.ABC.XYZ" where "ABC" and "XYZ" are sequences of integers, and this naming scheme is considered an implementation detail (to avoid collisions when several maintenance coordinators are working on updates targeting the same codestream). The numbers are irrelevant for display, the only relevant information is that these packages are patchinfos, so this change rewrites the package name to just "patchinfo" in such cases. Commit: efbb632d4fbdfcb134e3ad16b601dc23322fb265 https://github.com/openSUSE/open-build-service/commit/efbb632d4fbdfcb134e3ad... Author: Eduardo Navarro <enavarro@suse.com> Date: 2024-09-10 (Tue, 10 Sep 2024) Changed paths: M src/api/.rubocop.yml Log Message: ----------- Cleanup RuboCop configuration and TODO files Remove some files which were renamed or deleted from the exclusions of the RuboCop configuration or TODO files. Commit: 28682c7c9dd1a944945765bc14f934540eb51747 https://github.com/openSUSE/open-build-service/commit/28682c7c9dd1a944945765... Author: Saray Cabrera Padrón <scabrerapadron@suse.com> Date: 2024-09-11 (Wed, 11 Sep 2024) Changed paths: M src/api/.rubocop.yml Log Message: ----------- Merge pull request #16830 from eduardoj/refactoring/cleanup_rubocop_todo_file Cleanup RuboCop configuration and TODO files Commit: 6f1d3d59d742f0277b98f9b3be30f4c45eeea3a2 https://github.com/openSUSE/open-build-service/commit/6f1d3d59d742f0277b98f9... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2024-09-11 (Wed, 11 Sep 2024) Changed paths: M src/api/app/helpers/webui/staging/workflow_helper.rb Log Message: ----------- Merge pull request #16794 from oSoMoN/stagings-specialcase-slfo-patchinfos Special-case SLFO maintenance patchinfos when displaying staging requests Commit: 1296e1497beefe0c31c78a47a3aae089d47a99aa https://github.com/openSUSE/open-build-service/commit/1296e1497beefe0c31c78a... Author: Eduardo Navarro <enavarro@suse.com> Date: 2024-09-11 (Wed, 11 Sep 2024) Changed paths: M src/api/app/services/scm_exception_handler.rb M src/api/app/services/scm_exception_message.rb Log Message: ----------- Catch generic server exceptions when connecting to GitHub Exceptions with code 504 were not catched. Rescuing from generic exceptions in the range of 500..599 with the Octokit::ServerError prevents from crashing without notifying back OBS. Commit: f5f4f66da9f8231cd8206b72a5a52a9ac9605dbd https://github.com/openSUSE/open-build-service/commit/f5f4f66da9f8231cd8206b... Author: Saray Cabrera Padrón <scabrerapadron@suse.de> Date: 2024-09-11 (Wed, 11 Sep 2024) Changed paths: M src/api/app/models/notification_report.rb Log Message: ----------- Drop NotificationReport#description for Event::ReportForUser The definition of the `description` is moved to the component, so we no longer need it in the model. In fact, the case contained the two conditions "case 'Event::ReportForUser'" by mistake. The first one was already removed and the second one is removed now. Commit: 8c55201b74f06ce0f785128d884d336c80f98142 https://github.com/openSUSE/open-build-service/commit/8c55201b74f06ce0f78512... Author: Saray Cabrera Padrón <scabrerapadron@suse.de> Date: 2024-09-11 (Wed, 11 Sep 2024) Changed paths: R src/api/app/components/notification_component.html.haml R src/api/app/components/notification_component.rb M src/api/app/helpers/webui/notification_helper.rb A src/api/app/views/webui/users/notifications/_notification.html.haml M src/api/app/views/webui/users/notifications/_notifications_list.html.haml Log Message: ----------- Get rid of NotificationComponent That component contained the whole notifications view and it wasn't reusable. So it made little sense to keep it as a component. The code is moved to partials and helpers. Commit: 6eb4f4384848fc4ce9c5f7e8bb6e2a809c1d8699 https://github.com/openSUSE/open-build-service/commit/6eb4f4384848fc4ce9c5f7... Author: Saray Cabrera Padrón <scabrerapadron@suse.de> Date: 2024-09-11 (Wed, 11 Sep 2024) Changed paths: R src/api/spec/components/notification_component_spec.rb M src/api/spec/features/webui/users/notifications_spec.rb Log Message: ----------- Move component spec to feature spec Commit: 7e5c6914119418ff632377a744b258dc2d0a5c19 https://github.com/openSUSE/open-build-service/commit/7e5c6914119418ff632377... Author: Saray Cabrera Padrón <scabrerapadron@suse.de> Date: 2024-09-11 (Wed, 11 Sep 2024) Changed paths: M src/api/spec/helpers/webui/notification_helper_spec.rb Log Message: ----------- Add Notification helper specs Commit: d3c09a091baa69de0cecd3c46e0f865b37460e31 https://github.com/openSUSE/open-build-service/commit/d3c09a091baa69de0cecd3... Author: Saray Cabrera Padrón <scabrerapadron@suse.de> Date: 2024-09-11 (Wed, 11 Sep 2024) Changed paths: M src/api/.rubocop_todo.yml Log Message: ----------- Update Rubocop TODO Commit: 853b0e5f367bec85650252c7fa0725bc58acccb5 https://github.com/openSUSE/open-build-service/commit/853b0e5f367bec85650252... Author: Eduardo J. <enavarro@suse.com> Date: 2024-09-11 (Wed, 11 Sep 2024) Changed paths: M src/api/app/services/scm_exception_handler.rb M src/api/app/services/scm_exception_message.rb Log Message: ----------- Merge pull request #16834 from eduardoj/fix/issue_16691 Catch generic server exceptions when connecting to GitHub Commit: 41af113fd442892c536e5d56766717868b3adc8c https://github.com/openSUSE/open-build-service/commit/41af113fd442892c536e5d... Author: Adrian Schröter <adrian@suse.de> Date: 2024-09-12 (Thu, 12 Sep 2024) Changed paths: M dist/obs-server.spec R src/backend/call-service-in-docker.sh Log Message: ----------- [backend] we don't support services in docker container anymore This is not tested anywhere, we are just supporting podman meanwhile. Commit: 6a3a4fc4a50e52b7df2a1080ba5100c9e2226d4c https://github.com/openSUSE/open-build-service/commit/6a3a4fc4a50e52b7df2a10... Author: Adrian Schröter <adrian@suse.de> Date: 2024-09-12 (Thu, 12 Sep 2024) Changed paths: M src/backend/BSConfig.pm.template Log Message: ----------- Merge pull request #16836 from M0ses/improve_BSConfig [dist] improve BSConfig.pm Commit: d475a74d32f64c0ffce93878cb086f00b6f9d06f https://github.com/openSUSE/open-build-service/commit/d475a74d32f64c0ffce938... Author: Saray Cabrera Padrón <scabrerapadron@suse.com> Date: 2024-09-12 (Thu, 12 Sep 2024) Changed paths: M src/api/.rubocop_todo.yml R src/api/app/components/notification_component.html.haml R src/api/app/components/notification_component.rb M src/api/app/helpers/webui/notification_helper.rb M src/api/app/models/notification_report.rb A src/api/app/views/webui/users/notifications/_notification.html.haml M src/api/app/views/webui/users/notifications/_notifications_list.html.haml R src/api/spec/components/notification_component_spec.rb M src/api/spec/features/webui/users/notifications_spec.rb M src/api/spec/helpers/webui/notification_helper_spec.rb Log Message: ----------- Merge pull request #16471 from saraycp/remove_notification_component Remove notification component Commit: a79dc3530b7ab375fac6eef11d1847d54becf6e4 https://github.com/openSUSE/open-build-service/commit/a79dc3530b7ab375fac6ee... Author: Jay Michalska <jay.michalska@suse.com> Date: 2024-09-12 (Thu, 12 Sep 2024) Changed paths: M src/api/app/views/webui/request/_request_item.html.haml Log Message: ----------- Display labels in request index Commit: 998f12fa4e3509b18c3084569187a1a1469a36ac https://github.com/openSUSE/open-build-service/commit/998f12fa4e3509b18c3084... Author: Eduardo Navarro <enavarro@suse.com> Date: 2024-09-12 (Thu, 12 Sep 2024) Changed paths: M src/api/app/mailers/event_mailer.rb M src/api/app/views/layouts/event_mailer.html.haml M src/api/app/views/layouts/event_mailer.text.erb Log Message: ----------- Split setting configuration title and host variables used in mailers Commit: 0241e4fefde3aa5f78cfaa9de8e60239c3f5fb00 https://github.com/openSUSE/open-build-service/commit/0241e4fefde3aa5f78cfaa... Author: Eduardo Navarro <enavarro@suse.com> Date: 2024-09-12 (Thu, 12 Sep 2024) Changed paths: M src/api/app/mailers/admin_mailer.rb Log Message: ----------- Remove not needed assignment The @configuration variable is not used in views of mails to administrators. Commit: 86a0dbea75817d8a56dcb6c8625fd78732469202 https://github.com/openSUSE/open-build-service/commit/86a0dbea75817d8a56dcb6... Author: Eduardo Navarro <enavarro@suse.com> Date: 2024-09-12 (Thu, 12 Sep 2024) Changed paths: M src/api/app/mailers/event_mailer.rb Log Message: ----------- Use default method to set headers instead of a before filter Commit: 179113fffe92c101bcc4395827c17c2441604198 https://github.com/openSUSE/open-build-service/commit/179113fffe92c101bcc439... Author: Eduardo Navarro <enavarro@suse.com> Date: 2024-09-12 (Thu, 12 Sep 2024) Changed paths: M src/api/app/mailers/admin_mailer.rb M src/api/app/mailers/consistency_mailer.rb Log Message: ----------- Set headers using the default method Extract the set_headers action into setting the default headers and setting the host. Commit: 79dfba4bba476e952c120d6a09aa815e643d8e6a https://github.com/openSUSE/open-build-service/commit/79dfba4bba476e952c120d... Author: Eduardo Navarro <enavarro@suse.com> Date: 2024-09-12 (Thu, 12 Sep 2024) Changed paths: M src/api/app/mailers/admin_mailer.rb Log Message: ----------- Move non actions methods to the private section Commit: 0395635a5a4a7dda706134595749929a26bb8726 https://github.com/openSUSE/open-build-service/commit/0395635a5a4a7dda706134... Author: Eduardo Navarro <enavarro@suse.com> Date: 2024-09-12 (Thu, 12 Sep 2024) Changed paths: M src/api/app/mailers/admin_mailer.rb M src/api/app/mailers/consistency_mailer.rb Log Message: ----------- Set host in a a before_action callback Commit: 417635044713759c91289f76203118f1e35976af https://github.com/openSUSE/open-build-service/commit/417635044713759c91289f... Author: Eduardo Navarro <enavarro@suse.com> Date: 2024-09-12 (Thu, 12 Sep 2024) Changed paths: M src/api/.rubocop_todo.yml M src/api/app/mailers/admin_mailer.rb A src/api/app/mailers/application_mailer.rb M src/api/app/mailers/event_mailer.rb Log Message: ----------- Extract common configuration to a base application mailer Commit: dd71cc89a8eee840c240df1e65327f63be3c7aef https://github.com/openSUSE/open-build-service/commit/dd71cc89a8eee840c240df... Author: Eduardo Navarro <enavarro@suse.com> Date: 2024-09-12 (Thu, 12 Sep 2024) Changed paths: M src/api/app/mailers/admin_mailer.rb M src/api/app/mailers/application_mailer.rb M src/api/app/mailers/event_mailer.rb M src/api/test/fixtures/event_mailer/repo_delete_request M src/api/test/fixtures/event_mailer/request_event M src/api/test/fixtures/event_mailer/set_bugowner_event M src/api/test/fixtures/event_mailer/tom_declined M src/api/test/fixtures/event_mailer/tom_gets_mail_too Log Message: ----------- Move setting headers with variable parts to before_action callbacks Commit: ce0ec4df8959b2149bcbf465aef004e7169a117f https://github.com/openSUSE/open-build-service/commit/ce0ec4df8959b2149bcbf4... Author: Adrian Schröter <adrian@suse.de> Date: 2024-09-12 (Thu, 12 Sep 2024) Changed paths: M src/backend/call-service-in-container Log Message: ----------- [backend] service in docker: export configuration for scm bridge Export all files when obs-scm-bridge gets executed. (For cricitical server and checkout credentials) This could be refactored later for further services where we have a use case, but scm-bridge needs anyway special handling atm. Commit: 531e2d42ee73b22eff6b77133baa8accfd1df652 https://github.com/openSUSE/open-build-service/commit/531e2d42ee73b22eff6b77... Author: Frank Schreiner <schreiner@suse.de> Date: 2024-09-12 (Thu, 12 Sep 2024) Changed paths: M src/api/.rubocop.yml M src/api/.rubocop_todo.yml R src/api/app/components/notification_component.html.haml R src/api/app/components/notification_component.rb M src/api/app/helpers/webui/notification_helper.rb M src/api/app/helpers/webui/staging/workflow_helper.rb M src/api/app/models/notification_report.rb M src/api/app/services/scm_exception_handler.rb M src/api/app/services/scm_exception_message.rb A src/api/app/views/webui/users/notifications/_notification.html.haml M src/api/app/views/webui/users/notifications/_notifications_list.html.haml R src/api/spec/components/notification_component_spec.rb M src/api/spec/features/webui/users/notifications_spec.rb M src/api/spec/helpers/webui/notification_helper_spec.rb M src/backend/BSConfig.pm.template M src/backend/BSSched/BuildJob/Docker.pm M src/backend/bs_dodup Log Message: ----------- Merge branch 'master' into service_config Commit: 05d8fd968d739758b8021b27d5331d78e462a2ac https://github.com/openSUSE/open-build-service/commit/05d8fd968d739758b8021b... Author: Frank Schreiner <schreiner@suse.de> Date: 2024-09-12 (Thu, 12 Sep 2024) Changed paths: M dist/obs-server.spec M src/backend/call-service-in-container R src/backend/call-service-in-docker.sh Log Message: ----------- Merge pull request #16835 from adrianschroeter/service_config [backend] Service config Commit: 9d3fd86ab17f8eb447bd50266e59649e8300f307 https://github.com/openSUSE/open-build-service/commit/9d3fd86ab17f8eb447bd50... Author: Frank Schreiner <schreiner@suse.de> Date: 2024-09-13 (Fri, 13 Sep 2024) Changed paths: M src/backend/bs_admin Log Message: ----------- [backend] Service container commands in bs_admin This patch adds some commands to bs_admin to make handling of service containers more convenient. For example you can: * run any podman command w/o specifying $bsserviceuser or $container_root * launch a container with the default service container image running any command installed in the container (default: /bin/bashJ) * print a short help Commit: c85296abfd667fc812156bc2ea63066e7acfb1e6 https://github.com/openSUSE/open-build-service/commit/c85296abfd667fc812156b... Author: Frank Schreiner <schreiner@suse.de> Date: 2024-09-13 (Fri, 13 Sep 2024) Changed paths: M dist/obs-server.spec M src/backend/call-service-in-container R src/backend/call-service-in-docker.sh Log Message: ----------- Merge branch 'master' into service_container_commands_in_bs_admin Commit: c348cee311d02c5e13cee6958c3abee4e954537a https://github.com/openSUSE/open-build-service/commit/c348cee311d02c5e13cee6... Author: Frank Schreiner <schreiner@suse.de> Date: 2024-09-13 (Fri, 13 Sep 2024) Changed paths: M src/backend/bs_admin Log Message: ----------- Merge pull request #16839 from M0ses/service_container_commands_in_bs_admin [backend] Service container commands in bs_admin Commit: a6b4dac123c648cf421b01aecc9860fa74605a60 https://github.com/openSUSE/open-build-service/commit/a6b4dac123c648cf421b01... Author: Dani Donisa <dani.doni@gmail.com> Date: 2024-09-13 (Fri, 13 Sep 2024) Changed paths: M src/api/app/views/webui/request/_request_item.html.haml Log Message: ----------- Merge pull request #16838 from hellcp-work/request-index-labels Display labels in request index Commit: e2145b07d0020302c2ae9d2c6204be9cd7752969 https://github.com/openSUSE/open-build-service/commit/e2145b07d0020302c2ae9d... Author: Dani Donisa <dani.doni@gmail.com> Date: 2024-09-13 (Fri, 13 Sep 2024) Changed paths: M src/api/.rubocop_todo.yml M src/api/app/mailers/admin_mailer.rb A src/api/app/mailers/application_mailer.rb M src/api/app/mailers/consistency_mailer.rb M src/api/app/mailers/event_mailer.rb M src/api/app/views/layouts/event_mailer.html.haml M src/api/app/views/layouts/event_mailer.text.erb M src/api/test/fixtures/event_mailer/repo_delete_request M src/api/test/fixtures/event_mailer/request_event M src/api/test/fixtures/event_mailer/set_bugowner_event M src/api/test/fixtures/event_mailer/tom_declined M src/api/test/fixtures/event_mailer/tom_gets_mail_too Log Message: ----------- Merge pull request #16837 from eduardoj/refactoring/action_mailer Refactoring of action mailers Commit: bbba868c95dcb7b06d8ee6476d5ece4455bcf58d https://github.com/openSUSE/open-build-service/commit/bbba868c95dcb7b06d8ee6... Author: Saray Cabrera Padrón <scabrerapadron@suse.de> Date: 2024-09-13 (Fri, 13 Sep 2024) Changed paths: M src/api/app/models/bs_request/find_for/project.rb Log Message: ----------- Fix request filter from API When filtering by both role and user the code crashed as we set the @relation to nil by mistake. When there aren't new conditions to add to the relation, we should return the relation as it was before, not nil. Commit: 57091841b82f00704edec90fcd97efb56ea212a0 https://github.com/openSUSE/open-build-service/commit/57091841b82f00704edec9... Author: Eduardo J. <enavarro@suse.com> Date: 2024-09-13 (Fri, 13 Sep 2024) Changed paths: M src/api/app/models/bs_request/find_for/project.rb Log Message: ----------- Merge pull request #16840 from saraycp/fix_16692 Fix request filter from API Commit: ad08e4a1fca01d887db4d38d778c8e9052ef4676 https://github.com/openSUSE/open-build-service/commit/ad08e4a1fca01d887db4d3... Author: Eduardo Navarro <enavarro@suse.com> Date: 2024-09-13 (Fri, 13 Sep 2024) Changed paths: M src/api/app/models/concerns/project_maintenance.rb M src/api/app/models/project.rb Log Message: ----------- Refactor check_access? method for projects Instead of having a class method, use an instance method. We will always apply this method to an existing project. Commit: 0f89325af16664ecdfe23b91a8fa518eeccdbdd5 https://github.com/openSUSE/open-build-service/commit/0f89325af16664ecdfe23b... Author: Eduardo Navarro <enavarro@suse.com> Date: 2024-09-13 (Fri, 13 Sep 2024) Changed paths: M src/api/app/models/owner_search/assignee.rb M src/api/app/models/package.rb M src/api/app/models/project.rb M src/api/app/queries/packages_finder.rb Log Message: ----------- Refactor check_access? method for packages Instead of having a class method or an instance method, use the check_access? method from the package's project. Commit: 135bd0862d2a8ad6308bb06d4962bf4f22f62423 https://github.com/openSUSE/open-build-service/commit/135bd0862d2a8ad6308bb0... Author: Eduardo J. <enavarro@suse.com> Date: 2024-09-16 (Mon, 16 Sep 2024) Changed paths: M src/api/app/models/concerns/project_maintenance.rb M src/api/app/models/owner_search/assignee.rb M src/api/app/models/package.rb M src/api/app/models/project.rb M src/api/app/queries/packages_finder.rb Log Message: ----------- Merge pull request #16768 from eduardoj/refactoring/projects_and_packages_check_access Refactor `check access?` methods for projects and packages Commit: 2199d80397b30eecdf0bcb8fe17838d7ee2c69d2 https://github.com/openSUSE/open-build-service/commit/2199d80397b30eecdf0bcb... Author: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com> Date: 2024-09-16 (Mon, 16 Sep 2024) Changed paths: M src/api/Gemfile.lock R src/api/vendor/cache/unicode-display_width-2.5.0.gem A src/api/vendor/cache/unicode-display_width-2.6.0.gem Log Message: ----------- Update unicode-display_width to version 2.6.0 (#16844) Commit: 4fbe3c0303b04b93e58968ca5a90ebccf802e9c7 https://github.com/openSUSE/open-build-service/commit/4fbe3c0303b04b93e58968... Author: Frank Schreiner <schreiner@suse.de> Date: 2024-09-16 (Mon, 16 Sep 2024) Changed paths: M dist/obs-server.spec M src/api/.rubocop.yml M src/api/.rubocop_todo.yml M src/api/Gemfile.lock R src/api/app/components/notification_component.html.haml R src/api/app/components/notification_component.rb M src/api/app/helpers/webui/notification_helper.rb M src/api/app/helpers/webui/staging/workflow_helper.rb M src/api/app/mailers/admin_mailer.rb A src/api/app/mailers/application_mailer.rb M src/api/app/mailers/consistency_mailer.rb M src/api/app/mailers/event_mailer.rb M src/api/app/models/bs_request/find_for/project.rb M src/api/app/models/concerns/project_maintenance.rb M src/api/app/models/notification_report.rb M src/api/app/models/owner_search/assignee.rb M src/api/app/models/package.rb M src/api/app/models/project.rb M src/api/app/queries/packages_finder.rb M src/api/app/services/scm_exception_handler.rb M src/api/app/services/scm_exception_message.rb M src/api/app/views/layouts/event_mailer.html.haml M src/api/app/views/layouts/event_mailer.text.erb M src/api/app/views/webui/request/_request_item.html.haml A src/api/app/views/webui/users/notifications/_notification.html.haml M src/api/app/views/webui/users/notifications/_notifications_list.html.haml R src/api/spec/components/notification_component_spec.rb M src/api/spec/features/webui/users/notifications_spec.rb M src/api/spec/helpers/webui/notification_helper_spec.rb M src/api/test/fixtures/event_mailer/repo_delete_request M src/api/test/fixtures/event_mailer/request_event M src/api/test/fixtures/event_mailer/set_bugowner_event M src/api/test/fixtures/event_mailer/tom_declined M src/api/test/fixtures/event_mailer/tom_gets_mail_too R src/api/vendor/cache/unicode-display_width-2.5.0.gem A src/api/vendor/cache/unicode-display_width-2.6.0.gem M src/backend/bs_admin M src/backend/call-service-in-container R src/backend/call-service-in-docker.sh Log Message: ----------- Merge branch 'master' into new_container_image_default Compare: https://github.com/openSUSE/open-build-service/compare/a37676b06c21...4fbe3c... To unsubscribe from these emails, change your notification settings at https://github.com/openSUSE/open-build-service/settings/notifications
participants (1)
-
Frank Schreiner