Your message dated Wed, 12 Jul 2023 20:47:12 +0000
with message-id <e1qjgjw-007j5h...@fasolo.debian.org>
and subject line Bug#1040257: fixed in schleuder-cli 0.1.0-4+deb12u1
has caused the Debian Bug report #1040257,
regarding schleuder-cli does not work with Ruby >= 3.0.0
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
1040257: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1040257
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: schleuder-cli
Version: 0.1.0-4
Severity: grave
Justification: renders package unusable
Dear Maintainer,
schleuder-cli 0.1.0 was designed for Ruby 2.7 in mind; Ruby 3.0
comes with a breaking change that breaks schleuder-cli. As bookworm
comes with Ruby 3.1, schleuder-cli crashes when used due to this
breaking change:
root@localhost:/# schleuder-cli lists new t...@schleuder.example.org
ad...@example.org /tmp/ad...@example.org.asc
::1 - - [03/Jul/2023:20:56:58 +0000] "POST /lists.json HTTP/1.1" 200 1102
1.5971
List t...@schleuder.example.org successfully created! Don't forget to hook it
into your MTA.
/usr/lib/ruby/vendor_ruby/schleuder-cli/helper.rb:22:in `block in url':
undefined method `escape' for URI:Module (NoMethodError)
"#{URI.escape(k.to_s)}=#{URI.escape(v.to_s)}"
^^^^^^^
from /usr/lib/ruby/vendor_ruby/schleuder-cli/helper.rb:21:in `each'
from /usr/lib/ruby/vendor_ruby/schleuder-cli/helper.rb:21:in `map'
from /usr/lib/ruby/vendor_ruby/schleuder-cli/helper.rb:21:in `url'
from /usr/lib/ruby/vendor_ruby/schleuder-cli/helper.rb:191:in
`import_key'
from /usr/lib/ruby/vendor_ruby/schleuder-cli/helper.rb:170:in
`import_key_and_find_fingerprint'
from /usr/lib/ruby/vendor_ruby/schleuder-cli/lists.rb:30:in `new'
from
/usr/share/rubygems-integration/all/gems/thor-1.2.1/lib/thor/command.rb:27:in
`run'
from
/usr/share/rubygems-integration/all/gems/thor-1.2.1/lib/thor/invocation.rb:127:in
`invoke_command'
from
/usr/share/rubygems-integration/all/gems/thor-1.2.1/lib/thor.rb:392:in
`dispatch'
from
/usr/share/rubygems-integration/all/gems/thor-1.2.1/lib/thor/invocation.rb:116:in
`invoke'
from
/usr/share/rubygems-integration/all/gems/thor-1.2.1/lib/thor.rb:243:in `block
in subcommand'
from
/usr/share/rubygems-integration/all/gems/thor-1.2.1/lib/thor/command.rb:27:in
`run'
from
/usr/share/rubygems-integration/all/gems/thor-1.2.1/lib/thor/invocation.rb:127:in
`invoke_command'
from
/usr/share/rubygems-integration/all/gems/thor-1.2.1/lib/thor.rb:392:in
`dispatch'
from
/usr/share/rubygems-integration/all/gems/thor-1.2.1/lib/thor/base.rb:485:in
`start'
from /usr/bin/schleuder-cli:7:in `<main>'
Upstream has fixed the issue on the main branch, but has not yet
created a new release containing the fix. The fix is quite small,
only two lines diff:
https://0xacab.org/schleuder/schleuder-cli/-/commit/68754cf94cc2d9b2a400ff19d2e48a7ffa2ec1f2
With this patch applied manually, schleuder-cli works as expected:
root@localhost:/# schleuder-cli lists new t...@schleuder.example.org
ad...@example.org /tmp/ad...@example.org.asc
::1 - - [03/Jul/2023:21:33:04 +0000] "POST /lists.json HTTP/1.1" 200 1108
4.6595
List t...@schleuder.example.org successfully created! Don't forget to hook it
into your MTA.
::1 - - [03/Jul/2023:21:33:04 +0000] "POST
/keys.json?list_id=test%40schleuder.example.org HTTP/1.1" 200 327 0.0120
Key 48F817C6EF39DE78AEEF5D0AD6A09061E4E11475: imported
::1 - - [03/Jul/2023:21:33:04 +0000] "POST
/subscriptions.json?list_id=test%40schleuder.example.org HTTP/1.1" 201 - 0.1797
-- System Information:
Debian Release: 12.0
APT prefers stable-security
APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.1.0-9-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages schleuder-cli depends on:
ii ruby 1:3.1
ii ruby-thor 1.2.1-2
schleuder-cli recommends no packages.
schleuder-cli suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: schleuder-cli
Source-Version: 0.1.0-4+deb12u1
Done: Georg Faerber <ge...@debian.org>
We believe that the bug you reported is fixed in the latest version of
schleuder-cli, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1040...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Georg Faerber <ge...@debian.org> (supplier of updated schleuder-cli package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Mon, 10 Jul 2023 16:06:00 +0000
Source: schleuder-cli
Architecture: source
Version: 0.1.0-4+deb12u1
Distribution: bookworm
Urgency: medium
Maintainer: Debian Ruby Team
<pkg-ruby-extras-maintain...@lists.alioth.debian.org>
Changed-By: Georg Faerber <ge...@debian.org>
Closes: 1040257
Changes:
schleuder-cli (0.1.0-4+deb12u1) bookworm; urgency=medium
.
* debian/patches:
- Pull in upstream patch to fix escaping values in Ruby 3.
(Closes: #1040257)
Checksums-Sha1:
d8e46f1e1621bdf6d85fd18df73ed55a64ca81f3 1501 schleuder-cli_0.1.0-4+deb12u1.dsc
9e92ea6b6df8e7b3a18227e9c71ead9d0bf11b0a 24562 schleuder-cli_0.1.0.orig.tar.gz
2a8899518ef0a998ba5219bc71f5887bebb463f4 8260
schleuder-cli_0.1.0-4+deb12u1.debian.tar.xz
24213b1c0d62c25a8f1dbd6a488388384754276f 8906
schleuder-cli_0.1.0-4+deb12u1_amd64.buildinfo
Checksums-Sha256:
c24a6bfa2873fbcfd1b7c8abeba2ea098707541655a68b1c935067915d3c2bcf 1501
schleuder-cli_0.1.0-4+deb12u1.dsc
61c1e22c08f8423386805aaca651be7d11b8a916b701d50f902d749ceb325310 24562
schleuder-cli_0.1.0.orig.tar.gz
5161c812f0e136746c89cba4338774830983932539a6bdc3767daaffd01f9aca 8260
schleuder-cli_0.1.0-4+deb12u1.debian.tar.xz
2f48d71ee0453de3467c27c7f35318a3fc0a47a27570e81f53cc3a9135852adb 8906
schleuder-cli_0.1.0-4+deb12u1_amd64.buildinfo
Files:
9d9f09cb1e786881c242ba8d21b8f5d7 1501 mail optional
schleuder-cli_0.1.0-4+deb12u1.dsc
5c9bc632f4f4223e8cab56276f0da328 24562 mail optional
schleuder-cli_0.1.0.orig.tar.gz
f144d99eeb59e50b62b7d7532afab6f9 8260 mail optional
schleuder-cli_0.1.0-4+deb12u1.debian.tar.xz
81778add5ab156ec4f47987ad505679d 8906 mail optional
schleuder-cli_0.1.0-4+deb12u1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iHUEARYIAB0WIQTEfr/MTlfp/DLKNABGG+5dJAqekQUCZK3pBgAKCRBGG+5dJAqe
kfKLAP9SrN4cVbhqXvCQ71/uWdmEbCqczwLJkIsghY5vFIcEXwD9HVbxr3j3sQOA
VkAFcx44oiPmbbevc68OoCKuwQx97wg=
=Q7IQ
-----END PGP SIGNATURE-----
--- End Message ---