Package: rails / 2:6.0.3.7+dfsg-2

Metadata

Package Version Patches format
rails 2:6.0.3.7+dfsg-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Be careful with that bundler.patch | (download)

railties/lib/rails/generators/app_base.rb | 4 2 + 2 - 0 !
railties/test/generators/app_generator_test.rb | 2 1 + 1 - 0 !
2 files changed, 3 insertions(+), 3 deletions(-)

 be careful with that bundler


0002 disable uglify in activestorage rollup config js.patch | (download)

activestorage/rollup.config.js | 18 9 + 9 - 0 !
1 file changed, 9 insertions(+), 9 deletions(-)

 rollup-plugin-uglify is not packaged, hence disabling it.


use system yarnpkg.patch | (download)

railties/lib/rails/app_updater.rb | 2 1 + 1 - 0 !
railties/lib/rails/generators/rails/app/app_generator.rb | 4 2 + 2 - 0 !
railties/lib/rails/generators/rails/app/templates/bin/setup.tt | 2 1 + 1 - 0 !
railties/lib/rails/tasks/yarn.rake | 2 1 + 1 - 0 !
railties/test/generators/api_app_generator_test.rb | 4 2 + 2 - 0 !
railties/test/generators/app_generator_test.rb | 6 3 + 3 - 0 !
railties/test/generators/shared_generator_tests.rb | 3 1 + 2 - 0 !
railties/test/isolation/abstract_unit.rb | 4 2 + 2 - 0 !
8 files changed, 13 insertions(+), 14 deletions(-)

 use system yarnpkg instead of yarn
 In Debian, yarn is packaged as "yarnpkg".
 .
 This patch will replace all the "bin/yarn" usages to "bin/yarnpkg".
use system webpacker.patch | (download)

railties/test/isolation/assets/package.json | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 use system webpacker
relax dependencies.patch | (download)

Gemfile | 4 1 + 3 - 0 !
1 file changed, 1 insertion(+), 3 deletions(-)

 relax dependencies
 This patch will relax the dependencies version, remove useless
 dependencies, or replace the gems to which is already in Debian.
 .
 Relax dependencies version:
  * selenium-webdriver
 .
 Remove/replace dependencies:
  * minitest-bisect
    + Not packaged in Debian
    + Not used (minitest is used)
  * minitest-retry
    + Not packaged in Debian
    + Used only when running on Buildkite CI
  * webdrivers
    + Not packaged in Debian
    + Could be replaced by chromedriver-helper (ruby-chromedriver-helper)
relax dependency sqlite3.patch | (download)

Gemfile | 2 1 + 1 - 0 !
activerecord/lib/active_record/connection_adapters/sqlite3/database_statements.rb | 2 1 + 1 - 0 !
activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb | 1 0 + 1 - 0 !
3 files changed, 2 insertions(+), 3 deletions(-)

 relax dependency version - ruby-sqlite3
 From Rails 6, it started using `execute_batch2` function [1] which was
 introduced in gem sqlite3 1.4.0. This new function was confirmed at [1]
 that extremely faster than old `execute_batch` function. However, gem
 sqlite3 1.4.0 was not packaged in Debian yet (ruby-sqlite3 is 1.3.13-1+b2
 in Debian), so this function could not be used.
 .
 This patch will rollback the `execute_batch2` usages to `execute_batch`.
 This patch should be removed after the ruby-sqlite3 upgraded to 1.4.0.
 .
 [1] https://github.com/rails/rails/commit/0908184e4c2dca5b941030bbd0d5eb2dfcfed120
remove ignored dependencies.patch | (download)

Gemfile | 31 0 + 31 - 0 !
rails.gemspec | 1 0 + 1 - 0 !
2 files changed, 32 deletions(-)

 remove ignored dependencies
skip test internet access.patch | (download)

activesupport/Rakefile | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 skip the tests which need internet access
 .. due to Debian policy 4.9.
skip test unpackaged dependencies.patch | (download)

actioncable/Rakefile | 2 1 + 1 - 0 !
activejob/Rakefile | 2 1 + 1 - 0 !
activejob/test/cases/exceptions_test.rb | 4 2 + 2 - 0 !
railties/test/isolation/abstract_unit.rb | 5 0 + 5 - 0 !
4 files changed, 4 insertions(+), 9 deletions(-)

 skip the test due to unpackaged dependencies
  * websocket-client-simple
    + actioncable/client_test.rb
  * sneakers
    + actionjob/Rakefile
    + actionjob/test/cases/exceptions_test.rb
  * que
    + actionjob/Rakefile
  * queue_classic
    + actionjob/Rakefile
  * resque
    + actionjob/Rakefile
  * sucker_punch
    + actionjob/Rakefile
  * backburner
    + actionjob/Rakefile
  * minitest-retry
    + railties/test/isolation/abstract_unit.rb
skip test railties postgresql.patch | (download)

railties/test/application/bin_setup_test.rb | 2 2 + 0 - 0 !
railties/test/application/rake/dbs_test.rb | 2 2 + 0 - 0 !
2 files changed, 4 insertions(+)

 skip the railties test which needs postgresql instance
ignore test stuck.patch | (download)

railties/test/generators/app_generator_test.rb | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 ignore test which goes stuck
 Ignore the test case which makes test stuck.
adapt to babel7.patch | (download)

activestorage/.babelrc | 8 0 + 8 - 0 !
activestorage/babel.config.json | 8 8 + 0 - 0 !
2 files changed, 8 insertions(+), 8 deletions(-)

 adapt to babel7

replace webdrivers.patch | (download)

railties/lib/rails/generators/rails/app/templates/Gemfile.tt | 2 0 + 2 - 0 !
1 file changed, 2 deletions(-)

 replace webdrivers
 webdrivers can only go to contrib section

relax marcel.patch | (download)

activestorage/activestorage.gemspec | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 relax marcel for bullseye.