Package: rails / 2:6.1.7.10+dfsg-1~deb12u1
Metadata
Package | Version | Patches format |
---|---|---|
rails | 2:6.1.7.10+dfsg-1~deb12u1 | 3.0 (quilt) |
Patch series
view the series filePatch | File delta | Description |
---|---|---|
0001 Be careful with that bundler.patch | (download) |
railties/lib/rails/generators/app_base.rb |
2 1 + 1 - 0 ! |
be careful with that bundler |
0002 disable uglify in activestorage rollup config js.patch | (download) |
activestorage/rollup.config.js |
18 9 + 9 - 0 ! |
rollup-plugin-uglify is not packaged, hence disabling it. |
use system yarnpkg.patch | (download) |
railties/lib/rails/app_updater.rb |
2 1 + 1 - 0 ! |
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 ! |
use system webpacker |
relax dependencies.patch | (download) |
Gemfile |
10 4 + 6 - 0 ! |
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 * redis-nameserver (use packaged version) * mysql2 * selenium-webdriver * webpacker 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 ! |
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 |
33 0 + 33 - 0 ! |
remove ignored dependencies |
skip test internet access.patch | (download) |
activesupport/Rakefile |
2 1 + 1 - 0 ! |
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 ! |
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 ! |
skip the railties test which needs postgresql instance |
ignore test stuck.patch | (download) |
railties/test/generators/app_generator_test.rb |
2 2 + 0 - 0 ! |
ignore test which goes stuck Ignore the test case which makes test stuck. |
adapt to babel7.patch | (download) |
activestorage/.babelrc |
8 0 + 8 - 0 ! |
adapt to babel7 |
replace webdrivers.patch | (download) |
railties/lib/rails/generators/rails/app/templates/Gemfile.tt |
2 0 + 2 - 0 ! |
replace webdrivers webdrivers can only go to contrib section |
disable rack mini profiler gem.patch | (download) |
railties/lib/rails/generators/rails/app/templates/Gemfile.tt |
2 1 + 1 - 0 ! |
disable rack-mini-profiler We haven't packaged this yet and it is disturbing our tests. |
temporarily disable encoded key cache behavior test.patch | (download) |
activesupport/test/cache/behaviors/encoded_key_cache_behavior.rb |
24 12 + 12 - 0 ! |
temporarily disable flaky tests Upstream discovered several race conditions in their tests. This test is flaky. Most of the time it works. Let's ignore it for now to be able to do the transition. https://github.com/rails/rails/pull/43718/files |
activesupport skip flaky tests.patch | (download) |
activesupport/test/cache/behaviors/cache_store_behavior.rb |
4 2 + 2 - 0 ! |
activesupport: skip flaky tests These tests fail randomly on the Debian CI system. This is supposed to be fixed in rails 7. |
replace uglifier terser.patch | (download) |
Gemfile |
2 1 + 1 - 0 ! |
--- |
rollup 3.patch | (download) |
activestorage/rollup.config.js |
9 5 + 4 - 0 ! |
fix for rollup3 |
rails ruby3.1.patch | (download) |
actionmailbox/actionmailbox.gemspec |
3 3 + 0 - 0 ! |
[patch] merge pull request #44083 from rails/rm-temporary-mail-fix Temporarily add net-gems as dependencies of frameworks that use mail Backported-by: Antonio Terceiro <terceiro@debian.org> |
CVE 2024 54133.patch | (download) |
actionpack/lib/action_dispatch/http/content_security_policy.rb |
25 21 + 4 - 0 ! |
[patch] add csp directive validation Validate directives to make sure they don't include semicolons or whitespace. These are special and denote lists and termination of directives. [CVE-2024-54133] |