[openSUSE/open-build-service] 142a4a: Build obs-bundled-gems against Ruby 3.1
Branch: refs/heads/ruby31 Home: https://github.com/openSUSE/open-build-service Commit: 142a4a60bdf4f0ff9c00e1d0ad79371f5a09abb5 https://github.com/openSUSE/open-build-service/commit/142a4a60bdf4f0ff9c00e1... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-11 (Fri, 11 Mar 2022) Changed paths: M dist/obs-bundled-gems.spec Log Message: ----------- Build obs-bundled-gems against Ruby 3.1 Commit: d2613c77585b3dfeac9d50437f259aa320aaf4be https://github.com/openSUSE/open-build-service/commit/d2613c77585b3dfeac9d50... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-11 (Fri, 11 Mar 2022) Changed paths: M dist/obs-server.spec Log Message: ----------- Build obs-server against Ruby 3.1 Commit: ceb93b28515e3481244d738501774505f1611233 https://github.com/openSUSE/open-build-service/commit/ceb93b28515e3481244d73... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-11 (Fri, 11 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: 685047e329c11b8ca3934ecd05b93d43fbcb03bc https://github.com/openSUSE/open-build-service/commit/685047e329c11b8ca3934e... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-11 (Fri, 11 Mar 2022) Changed paths: M src/api/Gemfile.lock Log Message: ----------- Bundle with 2.3.7 Commit: 734178964a8878c495146ea287f6bee6b4634089 https://github.com/openSUSE/open-build-service/commit/734178964a8878c495146e... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-11 (Fri, 11 Mar 2022) Changed paths: M dist/obs-bundled-gems.spec Log Message: ----------- Drop hardcoded rack package requirements Commit: ba34dec817579493eb076556838c108543835ddf https://github.com/openSUSE/open-build-service/commit/ba34dec817579493eb0765... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-11 (Fri, 11 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: c04528c30ecf3151d2c00ff75cdb6ec8a2e67b48 https://github.com/openSUSE/open-build-service/commit/c04528c30ecf3151d2c00f... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-11 (Fri, 11 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: 038f15b1d17b6551248d88aca8b1b9cbf48ab02d https://github.com/openSUSE/open-build-service/commit/038f15b1d17b6551248d88... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-11 (Fri, 11 Mar 2022) Changed paths: M dist/obs-bundled-gems.spec Log Message: ----------- The `--path` flag is deprecated Commit: a35b44d51c84345fcc80d05d2f432a19a18a623f https://github.com/openSUSE/open-build-service/commit/a35b44d51c84345fcc80d0... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-11 (Fri, 11 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: a3255f6ac9e19e7cb4a3dd4d70874298cc09039c https://github.com/openSUSE/open-build-service/commit/a3255f6ac9e19e7cb4a3dd... Author: Dani Donisa <dani.doni@gmail.com> Date: 2022-03-11 (Fri, 11 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: 58cd00be96aa1f6c0a377ddb1956a301fa7f92e4 https://github.com/openSUSE/open-build-service/commit/58cd00be96aa1f6c0a377d... Author: Dani Donisa <dani.doni@gmail.com> Date: 2022-03-11 (Fri, 11 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: eb7f5d1c2907a537d173a95002b02891a5eeed7d https://github.com/openSUSE/open-build-service/commit/eb7f5d1c2907a537d173a9... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-11 (Fri, 11 Mar 2022) Changed paths: M dist/README.UPDATERS Log Message: ----------- Add ruby 3.1 update to README.UPDATERS Commit: 0a6a30a51bd47f0aca82354a30fb8a4474b37bd8 https://github.com/openSUSE/open-build-service/commit/0a6a30a51bd47f0aca8235... Author: Dani Donisa <dani.doni@gmail.com> Date: 2022-03-11 (Fri, 11 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: d69162b00d7da459f5c78d96eac4f30cf19f00e9 https://github.com/openSUSE/open-build-service/commit/d69162b00d7da459f5c78d... Author: Dani Donisa <dani.doni@gmail.com> Date: 2022-03-11 (Fri, 11 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: 1d50880d545af205d005729d7d70778a67fca76e https://github.com/openSUSE/open-build-service/commit/1d50880d545af205d00572... Author: Dani Donisa <dani.doni@gmail.com> Date: 2022-03-11 (Fri, 11 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: 89e215fc26c760879cc892185aa08bd97a17828e https://github.com/openSUSE/open-build-service/commit/89e215fc26c760879cc892... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-11 (Fri, 11 Mar 2022) Changed paths: 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: 4dbda37f064df5433dcd7bc1ed892c2e1231e659 https://github.com/openSUSE/open-build-service/commit/4dbda37f064df5433dcd7b... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-11 (Fri, 11 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: b703994949aecbbffe0c46b21b497ac16d9eaf85 https://github.com/openSUSE/open-build-service/commit/b703994949aecbbffe0c46... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-11 (Fri, 11 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: cc8d87e80c3d3ee890df64072fad2cce532ca1aa https://github.com/openSUSE/open-build-service/commit/cc8d87e80c3d3ee890df64... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-11 (Fri, 11 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: 02132463ff9bb7e181041055e2e585ef5fe86b14 https://github.com/openSUSE/open-build-service/commit/02132463ff9bb7e1810410... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-11 (Fri, 11 Mar 2022) Changed paths: R src/api/spec/lib/backend/api/cloud_spec.rb Log Message: ----------- Remove a superflous validation spec This code path does the right thing and did not change in years... Commit: 0033bfbdfe356d166361ce4767af7b3cf52e33a4 https://github.com/openSUSE/open-build-service/commit/0033bfbdfe356d166361ce... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-11 (Fri, 11 Mar 2022) Changed paths: M src/api/app/helpers/webui/webui_helper.rb Log Message: ----------- Don't modify frozen strings Commit: 51dee4f9b01f7b7310e3f102ccf234d058781faf https://github.com/openSUSE/open-build-service/commit/51dee4f9b01f7b7310e3f1... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-11 (Fri, 11 Mar 2022) Changed paths: M src/api/spec/support/vcr.rb Log Message: ----------- Monkey patch vcr Ruby 3.1 compatibility Commit: bc4ddad03de1305903863ebbea22ee0c23179932 https://github.com/openSUSE/open-build-service/commit/bc4ddad03de1305903863e... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-11 (Fri, 11 Mar 2022) Changed paths: M src/api/spec/support/vcr.rb Log Message: ----------- Fix some rubocop offenses Commit: 275669e05d348298071894810230b51f8ff338c3 https://github.com/openSUSE/open-build-service/commit/275669e05d348298071894... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2022-03-11 (Fri, 11 Mar 2022) Changed paths: M .circleci/conditional_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/c44c1f557031...275669...
participants (1)
-
Henne Vogelsang