[DRE-maint] Bug#974065: rails: nocheck builds should not depend on qunit-selenium

Sven Mueller sven.mueller72 at gmail.com
Mon Nov 9 14:40:15 GMT 2020


Package: rails
Version: 2:6.0.3.4+dfsg-1
Tags: patch

Turns out that this isn't needed and pulls in a lot of dependencies if the
build is done without tests.

The attached patch moves the start of the redis server (only needed for
tests) inside the override_dh_auto_test section in debian/rules (I suspect
that the redis server was also only pulled in via the qunit-selenium
dependency? - without this move, the resulting build failed). The
dependency on qunit-selenium is marked as <!nocheck> so it is now only
pulled in if tests are enabled.

Please consider merging this. The change is trivial and I don't believe it
would create any copyright concerns, but just in case a license would
actually be required, I license this under the Expat license or CC-BY 3.0
or CC-BY-SA-4.0, the choice of license is left to the receiver of the
license and should  be fully compatible with the Debian packaging as well
as upstream (though this only affects the packaging, so I doubt they care).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20201109/dd706700/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rails-nocheck-noselenium.patch
Type: text/x-patch
Size: 1204 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20201109/dd706700/attachment-0001.bin>


More information about the Pkg-ruby-extras-maintainers mailing list