Branch: refs/heads/next_rails-7 Home: https://github.com/openSUSE/open-build-service Commit: cd9e23dbf4dd801e3d8abd9f9348d2a62a386d4b https://github.com/openSUSE/open-build-service/commit/cd9e23dbf4dd801e3d8abd... Author: Dany Marcoux <dmarcoux@posteo.de> Date: 2022-08-31 (Wed, 31 Aug 2022) Changed paths: M src/api/config/initializers/wrap_parameters.rb Log Message: ----------- Add context notes to config/initializers/wrap_parameters.rb Without knowing where this is coming from, it looks like some kind of hack. This was actually suggested in the Rails 3.1 release notes if you wish to wrap parameters into a nested hash. Commit: 00631e2f737e6e3e334957c61eb646d81a5bc536 https://github.com/openSUSE/open-build-service/commit/00631e2f737e6e3e334957... Author: Dany Marcoux <dmarcoux@posteo.de> Date: 2022-08-31 (Wed, 31 Aug 2022) Changed paths: M src/api/config/initializers/wrap_parameters.rb Log Message: ----------- Configure parameter parsers with ActionDispatch::Request.parameter_parsers= This is the recommended way since ActionDispatch::ParamsParser was deprecated in Rails 5.0[1]: `ActionDispatch::ParamsParser` is deprecated and was removed from the middleware stack. To configure the parameter parsers use `ActionDispatch::Request.parameter_parsers=`. See commits: - https://github.com/rails/rails/commit/38d2bf5fd1f3e014f2397898d371c339baa627... - https://github.com/rails/rails/commit/5ed38014811d4ce6d6f957510b915393837017... [1]: https://github.com/rails/rails/blob/39413de44c0e2c0dd2d964be5985b03d8f968a7b... Commit: 8a8f5b31d429f7ac71b10eca6149b28e5f71cc7d https://github.com/openSUSE/open-build-service/commit/8a8f5b31d429f7ac71b10e... Author: Dany Marcoux <dmarcoux@posteo.de> Date: 2022-08-31 (Wed, 31 Aug 2022) Changed paths: M src/api/app/models/token/errors.rb Log Message: ----------- Add missing "require 'api_error'" in Token::Errors Without this, the application doesn't boot due to this error: src/api/app/models/token/errors.rb:6:in `<module:Errors>': uninitialized constant Token::Errors::APIError (NameError) class NoReleaseTargetFound < APIError ^^^^^^^^ Commit: ae9a6e1b83b9aab309f77ac6a01cacb9896863b5 https://github.com/openSUSE/open-build-service/commit/ae9a6e1b83b9aab309f77a... Author: Dany Marcoux <dmarcoux@posteo.de> Date: 2022-08-31 (Wed, 31 Aug 2022) Changed paths: M src/api/Gemfile M src/api/config/boot.rb M src/api/config/environments/development.rb M src/api/config/initializers/content_security_policy.rb M src/api/config/initializers/filter_parameter_logging.rb M src/api/config/initializers/inflections.rb A src/api/config/initializers/new_framework_defaults_7_0.rb Log Message: ----------- Apply changes from "next bundle exec rails app:update" Commit: 9a0d7c81484d1464d407d1fa9b4c314575df76cf https://github.com/openSUSE/open-build-service/commit/9a0d7c81484d1464d407d1... Author: Dany Marcoux <dmarcoux@posteo.de> Date: 2022-08-31 (Wed, 31 Aug 2022) Changed paths: M src/api/app/models/cloud/azure/configuration.rb M src/api/app/models/cloud/ec2/configuration.rb Log Message: ----------- Prevent ActiveRecord reflection error in Cloud::* models The error: ``` ArgumentError: Rails couldn't find a valid model for User association. Please provide the :class_name option on the association declaration. If :class_name is already provided, make sure it's an ActiveRecord::Base subclass. ``` Specifying the User model in those Cloud::* models prevent clashes with the Cloud::User module, which is why ActiveRecord was producing this error. Commit: e627e05fe9753a9422c368167fbb5862313eae5f https://github.com/openSUSE/open-build-service/commit/e627e05fe9753a9422c368... Author: Dany Marcoux <dmarcoux@posteo.de> Date: 2022-08-31 (Wed, 31 Aug 2022) Changed paths: M dist/obs-server.spec Log Message: ----------- Remove cached gems from "next_rails bundle cache" in package Compare: https://github.com/openSUSE/open-build-service/compare/1d90f2f7cd89...e627e0...