Your message dated Mon, 10 Jul 2023 16:27:38 +0000
with message-id <e1qitje-00f0tt...@fasolo.debian.org>
and subject line Bug#1040257: fixed in schleuder-cli 0.1.0-5
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-5
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 15:45:25 +0000
Source: schleuder-cli
Architecture: source
Version: 0.1.0-5
Distribution: unstable
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-5) unstable; urgency=medium
.
* debian/patches:
- Pull in upstream patch to fix escaping values in Ruby 3.
(Closes: #1040257)
Checksums-Sha1:
c77558cf22f9c67a3ebffac82f9a17f52626e09e 1469 schleuder-cli_0.1.0-5.dsc
9e92ea6b6df8e7b3a18227e9c71ead9d0bf11b0a 24562 schleuder-cli_0.1.0.orig.tar.gz
982a93fe798d5e445ef74fb55083429a1ed7255f 8252
schleuder-cli_0.1.0-5.debian.tar.xz
fca18ab6522e9f07f5fa3165e9f8753e7f8cb7e0 8979
schleuder-cli_0.1.0-5_amd64.buildinfo
Checksums-Sha256:
518d48a72651130ecdecc430568d46b364cdd2503a63651f2cc6d8fc8b260bf3 1469
schleuder-cli_0.1.0-5.dsc
61c1e22c08f8423386805aaca651be7d11b8a916b701d50f902d749ceb325310 24562
schleuder-cli_0.1.0.orig.tar.gz
bcfa8e2d253986d3e0a5b66be097f6f3ac281fb26382ed16c5281346334e0147 8252
schleuder-cli_0.1.0-5.debian.tar.xz
7f6930367e7923cfa8e48464b654cb9eb0985e64b3017c6cbe41b918e3812b6a 8979
schleuder-cli_0.1.0-5_amd64.buildinfo
Files:
5c9b40014f8a4560a44aa579820012a0 1469 mail optional schleuder-cli_0.1.0-5.dsc
5c9bc632f4f4223e8cab56276f0da328 24562 mail optional
schleuder-cli_0.1.0.orig.tar.gz
37da712b12fcfcebae650ab91a494258 8252 mail optional
schleuder-cli_0.1.0-5.debian.tar.xz
ac1671255938280d6d0122b537fcec77 8979 mail optional
schleuder-cli_0.1.0-5_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iHUEARYIAB0WIQTEfr/MTlfp/DLKNABGG+5dJAqekQUCZKwp1QAKCRBGG+5dJAqe
kT/uAQDs243a67O2y2V8kAA4AQD9EFkE9LFkK+ImVnyVR3WJcwEAsFM6626ZuA+I
5bqOAw/MSQF7OQQQVHmVuWxUuvsM2QY=
=GRxF
-----END PGP SIGNATURE-----
--- End Message ---