[openSUSE/open-build-service] 7d2231: Build obs-bundled-gems against Ruby 3.1
Branch: refs/heads/ruby31 Home: https://github.com/openSUSE/open-build-service Commit: 7d22311ca07185e4d8c59165969f99e72205058f https://github.com/openSUSE/open-build-service/commit/7d22311ca07185e4d8c591... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-14 (Mon, 14 Mar 2022) Changed paths: M dist/obs-bundled-gems.spec Log Message: ----------- Build obs-bundled-gems against Ruby 3.1 Commit: e2a7f454c7d4e068ebdfccbbcfea0770c9a6228c https://github.com/openSUSE/open-build-service/commit/e2a7f454c7d4e068ebdfcc... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-14 (Mon, 14 Mar 2022) Changed paths: M dist/obs-server.spec Log Message: ----------- Build obs-server against Ruby 3.1 Commit: acd7f72af7626629167501ce546004db37de5565 https://github.com/openSUSE/open-build-service/commit/acd7f72af7626629167501... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-14 (Mon, 14 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: 6c0bc3b3670037fe646dfca19d3ca6824f9d15c0 https://github.com/openSUSE/open-build-service/commit/6c0bc3b3670037fe646dfc... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-14 (Mon, 14 Mar 2022) Changed paths: M src/api/Gemfile.lock Log Message: ----------- Bundle with 2.3.7 Commit: b57d93278c4ab365cbae4b15922f26035bdeba3d https://github.com/openSUSE/open-build-service/commit/b57d93278c4ab365cbae4b... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-14 (Mon, 14 Mar 2022) Changed paths: M dist/obs-bundled-gems.spec Log Message: ----------- Drop hardcoded rack package requirements Commit: b604ded441d41fa75ba33d9e9f8ac16afd078dd9 https://github.com/openSUSE/open-build-service/commit/b604ded441d41fa75ba33d... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-14 (Mon, 14 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: dcd4730b95db6c5f4e56e5445e4df0452d3dd5e4 https://github.com/openSUSE/open-build-service/commit/dcd4730b95db6c5f4e56e5... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-14 (Mon, 14 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: e8d004faa431ad45f95a353c64c52bdb39e4b567 https://github.com/openSUSE/open-build-service/commit/e8d004faa431ad45f95a35... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-14 (Mon, 14 Mar 2022) Changed paths: M dist/obs-bundled-gems.spec Log Message: ----------- The `--path` flag is deprecated Commit: 4452812d96bb6b4996d6ab231383fd8b422501a2 https://github.com/openSUSE/open-build-service/commit/4452812d96bb6b4996d6ab... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-14 (Mon, 14 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: c36cdd024863e1be71150ba482ddc56300e8e6cc https://github.com/openSUSE/open-build-service/commit/c36cdd024863e1be71150b... Author: Dani Donisa <dani.doni@gmail.com> Date: 2022-03-14 (Mon, 14 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: 5bc3710952dc166306d14320a076447621ccf632 https://github.com/openSUSE/open-build-service/commit/5bc3710952dc166306d143... Author: Dani Donisa <dani.doni@gmail.com> Date: 2022-03-14 (Mon, 14 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: b56aa3d9167e37878e317e778d44ef87c3916c87 https://github.com/openSUSE/open-build-service/commit/b56aa3d9167e37878e317e... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-14 (Mon, 14 Mar 2022) Changed paths: M dist/README.UPDATERS Log Message: ----------- Add ruby 3.1 update to README.UPDATERS Commit: f4e0677795d1726bd40c98ea890fe47c0f5ff8bb https://github.com/openSUSE/open-build-service/commit/f4e0677795d1726bd40c98... Author: Dani Donisa <dani.doni@gmail.com> Date: 2022-03-14 (Mon, 14 Mar 2022) Changed paths: M src/api/app/helpers/maintenance_helper.rb M src/api/app/helpers/webui/webui_helper.rb M src/api/app/models/package.rb M src/api/app/models/project.rb M src/api/spec/factories/packages.rb M src/api/spec/models/package_spec.rb Log Message: ----------- Replace deprecated URI.escape URI deprecated the escape method on updating to Ruby 3.0.0. See https://github.com/ruby/uri/issues/14 Commit: 778baca4d2fbacdc207bd661fccd4a21ba8fd542 https://github.com/openSUSE/open-build-service/commit/778baca4d2fbacdc207bd6... Author: Dani Donisa <dani.doni@gmail.com> Date: 2022-03-14 (Mon, 14 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: 9e896288c56090293457eeacb3430767ab9859b4 https://github.com/openSUSE/open-build-service/commit/9e896288c56090293457ee... Author: Dani Donisa <dani.doni@gmail.com> Date: 2022-03-14 (Mon, 14 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: cb82a8dddc28f0e50ca06946e1ea6c4c7a096955 https://github.com/openSUSE/open-build-service/commit/cb82a8dddc28f0e50ca069... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-14 (Mon, 14 Mar 2022) Changed paths: M src/api/app/controllers/group_controller.rb M src/api/app/controllers/person_controller.rb M src/api/app/models/package_file.rb M src/api/app/models/project_config_file.rb M src/api/app/models/project_file.rb M src/api/app/models/project_meta_file.rb M src/api/spec/models/backend/file_spec.rb Log Message: ----------- URI.encode is removed, use CGI.unescape See https://github.com/ruby/uri/commit/61c6a47ebf1f2726b60a2bbd70964d64e14b1f98 Commit: 6fe8ef4f72ea79b788beea82850c9702c5381d2b https://github.com/openSUSE/open-build-service/commit/6fe8ef4f72ea79b788beea... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-14 (Mon, 14 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: e3d5bca7b2ea6e1b62ef6d1eef19cfc50fa12e72 https://github.com/openSUSE/open-build-service/commit/e3d5bca7b2ea6e1b62ef6d... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-14 (Mon, 14 Mar 2022) Changed paths: M src/api/spec/models/package_spec.rb Log Message: ----------- The switch to URI.escape changes what is escaped ```ruby [1] pry(main)> URI.escape('home:henne') => "home:henne" [2] pry(main)> CGI.escape('home:henne') => "home%3Ahenne" ``` Commit: c8fa8d931dbaa5070ff05c6e50060c4765ae4367 https://github.com/openSUSE/open-build-service/commit/c8fa8d931dbaa5070ff05c... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-14 (Mon, 14 Mar 2022) Changed paths: M src/api/app/helpers/webui/webui_helper.rb M src/api/spec/helpers/webui/webui_helper_spec.rb Log Message: ----------- CGI.escape escapes more than URI.escape Commit: cbf35714148eb3c684fa13a913e2aae0b4cc5e02 https://github.com/openSUSE/open-build-service/commit/cbf35714148eb3c684fa13... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-14 (Mon, 14 Mar 2022) Changed paths: M src/api/app/helpers/webui/webui_helper.rb Log Message: ----------- Don't modify frozen strings Commit: 6723565780d1c184a1dfb7e60e807becdddd5345 https://github.com/openSUSE/open-build-service/commit/6723565780d1c184a1dfb7... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-14 (Mon, 14 Mar 2022) Changed paths: M src/api/spec/support/vcr.rb Log Message: ----------- Monkey patch vcr Ruby 3.1 compatibility Commit: bad9d301c59451f654c03e74a3e20d305679a9e0 https://github.com/openSUSE/open-build-service/commit/bad9d301c59451f654c03e... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-14 (Mon, 14 Mar 2022) Changed paths: M .circleci/conditional_config.yml M .circleci/config.yml M src/api/docker-files/Dockerfile M src/api/docker-files/Dockerfile.minitest Log Message: ----------- WIP: Container image cleanup Compare: https://github.com/openSUSE/open-build-service/compare/7dcf164c35d0...bad9d3...
participants (1)
-
Henne Vogelsang