[openSUSE/open-build-service] 2632f2: Build obs-bundled-gems against Ruby 3.1
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 2632f2b8ed2ce47aa38ca39563093938d0eb55c5 https://github.com/openSUSE/open-build-service/commit/2632f2b8ed2ce47aa38ca3... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-15 (Tue, 15 Mar 2022) Changed paths: M dist/obs-bundled-gems.spec Log Message: ----------- Build obs-bundled-gems against Ruby 3.1 Commit: 945fa8ce9b8dcf07f5d67e028ab18d08e4db966a https://github.com/openSUSE/open-build-service/commit/945fa8ce9b8dcf07f5d67e... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-15 (Tue, 15 Mar 2022) Changed paths: M dist/obs-server.spec Log Message: ----------- Build obs-server against Ruby 3.1 Commit: 5eea653328c3102dbdec50fc7e1308d8d5ca352b https://github.com/openSUSE/open-build-service/commit/5eea653328c3102dbdec50... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-15 (Tue, 15 Mar 2022) Changed paths: M dist/obs-bundled-gems.spec Log Message: ----------- Drop hardcoded bundler/rake package requirements Let's use the versions the ruby package brings Commit: 5da7743432cf14bf0d0a98d749f3a6ba7a423193 https://github.com/openSUSE/open-build-service/commit/5da7743432cf14bf0d0a98... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-15 (Tue, 15 Mar 2022) Changed paths: M src/api/Gemfile.lock Log Message: ----------- Bundle with 2.3.7 Commit: 4d078f955b0c68d3753cd4fd293d0e7783fc5d41 https://github.com/openSUSE/open-build-service/commit/4d078f955b0c68d3753cd4... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-15 (Tue, 15 Mar 2022) Changed paths: M dist/obs-bundled-gems.spec Log Message: ----------- Drop hardcoded rack package requirements Commit: ca628e9b0396c1fdbfd2977183f33aa2f99a0a1d https://github.com/openSUSE/open-build-service/commit/ca628e9b0396c1fdbfd297... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-15 (Tue, 15 Mar 2022) Changed paths: M Makefile.include M dist/Makefile M dist/functions.setup-appliance.sh M dist/obs-server.spec M dist/systemd/obs-clockwork.service M docs/api/Makefile M docs/api/api/Makefile M docs/api/restility/bin/rest_doc M docs/api/restility/bin/rest_test M src/api/Makefile M src/api/Rakefile M src/api/bin/bundle M src/api/bin/pry M src/api/bin/rails M src/api/bin/rake M src/api/bin/rdoc M src/api/bin/ri M src/api/bin/rspec M src/api/bin/rubocop M src/api/bin/setup M src/api/script/delayed_job.api.rb M src/api/script/plugin M src/api/script/reformat_memprof M src/api/script/rubygem_package_names.rb M src/api/script/start_test_backend Log Message: ----------- Switch script interpreters to Ruby 3.1 Also make clear that the we require a Ruby ABI version, not an interpreter version. Commit: 48148b3591df723653f16ce608ed8b067beb33f3 https://github.com/openSUSE/open-build-service/commit/48148b3591df723653f16c... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-15 (Tue, 15 Mar 2022) Changed paths: M src/api/Gemfile M src/api/Gemfile.lock M src/api/config/environment.rb A src/api/vendor/cache/digest-3.1.0.gem A src/api/vendor/cache/io-wait-0.2.1.gem A src/api/vendor/cache/net-imap-0.2.3.gem A src/api/vendor/cache/net-pop-0.1.1.gem A src/api/vendor/cache/net-protocol-0.1.2.gem A src/api/vendor/cache/net-smtp-0.3.1.gem A src/api/vendor/cache/strscan-3.0.1.gem A src/api/vendor/cache/thor-1.2.1.gem A src/api/vendor/cache/timeout-0.2.0.gem Log Message: ----------- Fix some ruby 3.1 incompatibilities - Updates thor to DidYouMean::SPELL_CHECKERS warning - Explicitely bundles mail depencencies - Allow aliases in YAML.load_file Commit: 7e6473114d2e48c83a377872aa30800982adb3f7 https://github.com/openSUSE/open-build-service/commit/7e6473114d2e48c83a3778... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-15 (Tue, 15 Mar 2022) Changed paths: M dist/obs-bundled-gems.spec Log Message: ----------- The `--path` flag is deprecated Commit: 163e3703d6ad66d7c789ed073c0ad4aa536059bd https://github.com/openSUSE/open-build-service/commit/163e3703d6ad66d7c789ed... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-15 (Tue, 15 Mar 2022) Changed paths: M src/api/Gemfile M src/api/Gemfile.lock Log Message: ----------- Rexml is a not a default gem in Ruby 3.1 anymore We need to require it in the bundle Commit: ed2dbab944f2cfa555ab6854555159ce98a00843 https://github.com/openSUSE/open-build-service/commit/ed2dbab944f2cfa555ab68... Author: Dani Donisa <dani.doni@gmail.com> Date: 2022-03-15 (Tue, 15 Mar 2022) Changed paths: M dist/obs-bundled-gems.spec Log Message: ----------- Replace the shebangs of the ruby executables We're replacing all shebangs of the several ruby executables with the defined ruby interpreted set in the obs-bundled-gems.spec Co-authored-by: Henne Vogelsang <hvogel@opensuse.org> Commit: 9d5fef2576a1bd81ded9ff42e65c2dfc4248243c https://github.com/openSUSE/open-build-service/commit/9d5fef2576a1bd81ded9ff... Author: Dani Donisa <dani.doni@gmail.com> Date: 2022-03-15 (Tue, 15 Mar 2022) Changed paths: M dist/obs-bundled-gems.spec Log Message: ----------- Remove exec bit from gems There are still some gem binaries hardcoded to use /usr/bin/ruby. To stop rpm to detect legacy ruby dependencies we remove the executable bit from those binaries. Co-authored-by: Henne Vogelsang <hvogel@opensuse.org> Commit: e30dc1e3f584764c22d13b051b55cd00a89cf125 https://github.com/openSUSE/open-build-service/commit/e30dc1e3f584764c22d13b... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-15 (Tue, 15 Mar 2022) Changed paths: M dist/README.UPDATERS Log Message: ----------- Add ruby 3.1 update to README.UPDATERS Commit: 954cf202f855f2075aba2d2b834ff7267c456971 https://github.com/openSUSE/open-build-service/commit/954cf202f855f2075aba2d... Author: Dani Donisa <dani.doni@gmail.com> Date: 2022-03-15 (Tue, 15 Mar 2022) Changed paths: M src/api/Gemfile M src/api/Gemfile.lock A src/api/vendor/cache/matrix-0.4.2.gem Log Message: ----------- Add required matrix gem Commit: 10d60451b58d3f57c60308c393741d41f97d4531 https://github.com/openSUSE/open-build-service/commit/10d60451b58d3f57c60308... Author: Dani Donisa <dani.doni@gmail.com> Date: 2022-03-15 (Tue, 15 Mar 2022) Changed paths: R src/api/vendor/cache/thor-1.1.0.gem Log Message: ----------- Looks like thor gem is not needed anymore Commit: 2c8b2bfda93c1154c0ae1ed9e3f112d0ee9f5f64 https://github.com/openSUSE/open-build-service/commit/2c8b2bfda93c1154c0ae1e... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-15 (Tue, 15 Mar 2022) Changed paths: M src/api/app/lib/backend/remember_location.rb Log Message: ----------- Fix separation of positional and keyword arguments See https://www.ruby-lang.org/en/news/2019/12/12/separation-of-positional-and-ke... Co-authored-by: Saray Cabrera Padrón <scabrerapadron@suse.de> Commit: 46e1da7230ce8aaa0441da9fe82a2dd98a29f678 https://github.com/openSUSE/open-build-service/commit/46e1da7230ce8aaa0441da... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-15 (Tue, 15 Mar 2022) Changed paths: M src/api/app/helpers/webui/webui_helper.rb Log Message: ----------- Don't modify frozen strings Commit: 1869eac5d91bb8555839157d0f0f98c8c16a58f5 https://github.com/openSUSE/open-build-service/commit/1869eac5d91bb855583915... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-15 (Tue, 15 Mar 2022) Changed paths: M src/api/spec/support/vcr.rb Log Message: ----------- Monkey patch vcr Ruby 3.1 compatibility Commit: f664658975e281a9ecc4068a3e93d30c19b4c3a9 https://github.com/openSUSE/open-build-service/commit/f664658975e281a9ecc406... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-15 (Tue, 15 Mar 2022) Changed paths: M .circleci/conditional_config.yml M src/api/docker-files/Dockerfile M src/api/docker-files/Dockerfile.minitest Log Message: ----------- Use ruby 3.1 container images Commit: 6c29c2a5114c4b1e3186215c369e148e92b5837a https://github.com/openSUSE/open-build-service/commit/6c29c2a5114c4b1e318621... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-15 (Tue, 15 Mar 2022) Changed paths: M src/api/spec/support/shared_examples/require_logged_in_user.rb Log Message: ----------- ActionController::TestCase.process only takes one argument Commit: b9e5caa23e8e5a5a5dadde6589b872162fbed932 https://github.com/openSUSE/open-build-service/commit/b9e5caa23e8e5a5a5dadde... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-15 (Tue, 15 Mar 2022) Changed paths: M src/api/spec/controllers/source_controller_spec.rb M src/api/spec/rails_helper.rb R src/api/spec/requests/package_undelete_spec.rb R src/api/spec/support/requests/requests_authentification.rb Log Message: ----------- No need for a request spec for this Commit: ee97aabd7d4119e53eac7377cc858af2d39d1cd4 https://github.com/openSUSE/open-build-service/commit/ee97aabd7d4119e53eac73... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-15 (Tue, 15 Mar 2022) Changed paths: M src/api/Gemfile.lock R src/api/vendor/cache/shoulda-matchers-4.5.1.gem A src/api/vendor/cache/shoulda-matchers-5.1.0.gem Log Message: ----------- Update shoulda-matchers to 5.1.0 Add support for Ruby 3.0 Add support for Rails 6.1 Commit: 51f2bb73eb01c324982341adde106cecb3333746 https://github.com/openSUSE/open-build-service/commit/51f2bb73eb01c324982341... Author: Dani Donisa <dani.doni@gmail.com> Date: 2022-03-16 (Wed, 16 Mar 2022) Changed paths: M src/api/spec/cassettes/SourceController/POST_package_command/with_diff_command_for_a_multibuild_package/1_4_1_1.yml M src/api/spec/cassettes/SourceController/POST_package_command/with_diff_command_for_a_multibuild_package/1_4_1_2.yml A src/api/spec/cassettes/SourceController/POST_package_command_undelete/when_having_permissions_on_the_deleted_package/1_5_2_1.yml A src/api/spec/cassettes/SourceController/POST_package_command_undelete/when_having_permissions_to_set_the_time/1_5_4_1.yml A src/api/spec/cassettes/SourceController/POST_package_command_undelete/when_not_having_permissions_on_the_deleted_package/1_5_1_1.yml A src/api/spec/cassettes/SourceController/POST_package_command_undelete/when_not_having_permissions_on_the_deleted_package/1_5_1_2.yml A src/api/spec/cassettes/SourceController/POST_package_command_undelete/when_not_having_permissions_to_set_the_time/1_5_3_1.yml A src/api/spec/cassettes/SourceController/POST_package_command_undelete/when_not_having_permissions_to_set_the_time/1_5_3_2.yml M src/api/spec/controllers/source_controller_spec.rb Log Message: ----------- Cover the package undelete command with specs Commit: d5f81e91816789fa5999f1145ee455ca2b88d456 https://github.com/openSUSE/open-build-service/commit/d5f81e91816789fa5999f1... Author: Dani Donisa <dani.doni@gmail.com> Date: 2022-03-16 (Wed, 16 Mar 2022) Changed paths: M .ruby-version Log Message: ----------- Update .ruby-version Commit: 6be18803544e5124581ef16eaa317d2a21a86c67 https://github.com/openSUSE/open-build-service/commit/6be18803544e5124581ef1... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-16 (Wed, 16 Mar 2022) Changed paths: M .rubocop.yml M .rubocop_todo.yml M src/api/.rubocop.yml M src/api/.rubocop_todo.yml Log Message: ----------- Allow either shorthand syntax for hashes ``` {foo: foo, bar: bar} {foo:, bar:} ``` https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Style/HashSyntax Also regenerate rubocop todos. Commit: cc400c0c7da38da64a7fc9e6bd6c748f42ac5306 https://github.com/openSUSE/open-build-service/commit/cc400c0c7da38da64a7fc9... Author: Victor Pereira <vpereira@suse.de> Date: 2022-03-16 (Wed, 16 Mar 2022) Changed paths: M .circleci/conditional_config.yml M .rubocop.yml M .rubocop_todo.yml M .ruby-version M Makefile.include M dist/Makefile M dist/README.UPDATERS M dist/functions.setup-appliance.sh M dist/obs-bundled-gems.spec M dist/obs-server.spec M dist/systemd/obs-clockwork.service M docs/api/Makefile M docs/api/api/Makefile M docs/api/restility/bin/rest_doc M docs/api/restility/bin/rest_test M src/api/.rubocop.yml M src/api/.rubocop_todo.yml M src/api/Gemfile M src/api/Gemfile.lock M src/api/Makefile M src/api/Rakefile M src/api/app/helpers/webui/webui_helper.rb M src/api/app/lib/backend/remember_location.rb M src/api/bin/bundle M src/api/bin/pry M src/api/bin/rails M src/api/bin/rake M src/api/bin/rdoc M src/api/bin/ri M src/api/bin/rspec M src/api/bin/rubocop M src/api/bin/setup M src/api/config/environment.rb M src/api/docker-files/Dockerfile M src/api/docker-files/Dockerfile.minitest M src/api/script/delayed_job.api.rb M src/api/script/plugin M src/api/script/reformat_memprof M src/api/script/rubygem_package_names.rb M src/api/script/start_test_backend M src/api/spec/cassettes/SourceController/POST_package_command/with_diff_command_for_a_multibuild_package/1_4_1_1.yml M src/api/spec/cassettes/SourceController/POST_package_command/with_diff_command_for_a_multibuild_package/1_4_1_2.yml A src/api/spec/cassettes/SourceController/POST_package_command_undelete/when_having_permissions_on_the_deleted_package/1_5_2_1.yml A src/api/spec/cassettes/SourceController/POST_package_command_undelete/when_having_permissions_to_set_the_time/1_5_4_1.yml A src/api/spec/cassettes/SourceController/POST_package_command_undelete/when_not_having_permissions_on_the_deleted_package/1_5_1_1.yml A src/api/spec/cassettes/SourceController/POST_package_command_undelete/when_not_having_permissions_on_the_deleted_package/1_5_1_2.yml A src/api/spec/cassettes/SourceController/POST_package_command_undelete/when_not_having_permissions_to_set_the_time/1_5_3_1.yml A src/api/spec/cassettes/SourceController/POST_package_command_undelete/when_not_having_permissions_to_set_the_time/1_5_3_2.yml M src/api/spec/controllers/source_controller_spec.rb M src/api/spec/rails_helper.rb R src/api/spec/requests/package_undelete_spec.rb R src/api/spec/support/requests/requests_authentification.rb M src/api/spec/support/shared_examples/require_logged_in_user.rb M src/api/spec/support/vcr.rb A src/api/vendor/cache/digest-3.1.0.gem A src/api/vendor/cache/io-wait-0.2.1.gem A src/api/vendor/cache/matrix-0.4.2.gem A src/api/vendor/cache/net-imap-0.2.3.gem A src/api/vendor/cache/net-pop-0.1.1.gem A src/api/vendor/cache/net-protocol-0.1.2.gem A src/api/vendor/cache/net-smtp-0.3.1.gem R src/api/vendor/cache/shoulda-matchers-4.5.1.gem A src/api/vendor/cache/shoulda-matchers-5.1.0.gem A src/api/vendor/cache/strscan-3.0.1.gem R src/api/vendor/cache/thor-1.1.0.gem A src/api/vendor/cache/thor-1.2.1.gem A src/api/vendor/cache/timeout-0.2.0.gem Log Message: ----------- Merge pull request #12302 from openSUSE/ruby31 Upgrade OBS to use Ruby 3.1 Compare: https://github.com/openSUSE/open-build-service/compare/86fa5e37258d...cc400c...
participants (1)
-
Victor Pereira