Upgrading a ruby package when the test suite has been removed from the gem file
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hi guys,
I'm preparing the lastest version of asciidoctor and am facing some issues.
Upstream removed the test suite from the gem in
https://github.com/asciidoctor/asciidoctor/pull/3048 to reduce the
size
of the gem.
So I switched the watch file to the github release tarball which has
it and updated the salsa repository.
Now the issue is that during the auto-install dh_ruby calls gem2deb
which, if I understand correctly, don't care about
what's in the current repo and just pull the gem using gem fetch.
I've tried several ways but I still end up with a tree that don't
contain the test files when the ge2deb-test-runner
starts.
I've also tried to add `export DH_RUBY_GEM_INSTALL_WHITELIST_APPEND =
test/*` to debian/rules but I'm not currently
using `export DH_RUBY = --gem-install` as I'm not entirely clear if it
will totally change the install entire
installation tree location in the end.
I could manually copy the tests in the temporary folder but I'm pretty
sure there's a cleaner built-in way to do this
that I'm not seeing.
Any advise on what would be the cleanest way to go on this please?
Currently working on this branch:
https://salsa.debian.org/ruby-team/asciidoctor/tree/asciidoctor2010
Thanks a lot in advance for any advise,
Joseph
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEE6CPaER4i14V+HYZYY/eACiPXslIFAl0BOz0ACgkQY/eACiPX
slIRjQ//Y/lp5P885B+UZyg1EBHNDn1EZF4BKe5Cgve777DESlsQ5oYRy6qPG/x/
vw1dKhbNfur5CqfT12ucEb4f07idHGWSqQlcINJXpnZCnG5S0xW4w5kvZSI/d1D4
65zLqIb42cS2bqqB8YZhXdmmxzdzqg9ld/qUll5s229crS9QmXooO2icZeM1W4Wf
9DYRUcuFEomR1G48OeOcKsmsvQVqspFH1t5+uuvDNM5Q9J6Vl8I/NhJu7yeXwSuf
L8zjgGhQWqhjZdXHX9XQtAC6uBL4K4XGp4emR2R76Y3Q+VTHe7QDD4mJtCJYWqDI
mccStAL3LpWbLQh/8HZcuOm076IHcoDgaoXI87tCqnwpH2bOYCVkOvb9xBA/Q6dZ
0ZGxsyZZCr+yXLD0ZKhMqKmDr0bWxrwuZAKZQu0OGx811bZeERtDLhT7rk92k/02
N/5VfdyHtjKciuBVFgt/TvPKxsK4fJ7OmBRAbzcyfG6j+gvhFpkHpEVRKe7y7PBu
+y3Ijg/8Ljwd6L3ZPfqCh5wyzFMyUvf626WhznCtCHpUJ7BWnGP/JuwL3RXMqhrJ
qV3hRIxs2iWePDjRgcCUlQM96gl7Y9J2IXHU+pPaQL7VfD/zL7RiyX7JNDXJtI+0
/0VhCkj/zTdeGgb2j6Kk62Fz1+LnZ7coDK79s/W11CTASEi9aOI=
=h1A1
-----END PGP SIGNATURE-----
Reply to:
- Prev by Date:
Re: RFS: ruby-vips, ruby-minispec-metadata, ruby-mini-magick/4.9.3
- Next by Date:
RFS: ruby-zeitwerk, qunit-selenium, ruby-thor/0.20.3-1, ruby-bootsnap/1.4.4-1, ruby-redis/4.1.2-1
- Previous by thread:
Re: RFS: ruby-vips, ruby-minispec-metadata, ruby-mini-magick/4.9.3
- Next by thread:
RFS: ruby-zeitwerk, qunit-selenium, ruby-thor/0.20.3-1, ruby-bootsnap/1.4.4-1, ruby-redis/4.1.2-1
- Index(es):