Your message dated Mon, 09 Oct 2006 07:32:19 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#379296: fixed in irssi-scripts 20061009
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: irssi-scripts
Version: 20060513
Severity: normal
Tags: patch

Hi,

the patch below contains 2 changes for queryresume.pl:

* the first part removes the restriction that it only works for
  queries. Without the && part it also works for channels.

* the second part (more important) fixes the parsing of autolog_path
  for the ${var} syntax which I'm using in my autolog_path because of
  the _ there: /cb/irc/log/${0}_$tag/%Y/${0}-%Y-%m-%d

--- /usr/share/irssi/scripts/queryresume.pl     2003-02-12 14:01:01.000000000 
+0100
+++ ./queryresume.pl    2006-07-22 11:36:26.754436104 +0200
@@ -32,13 +32,14 @@
 
 sub sig_window_item_new ($$) {
     my ($win, $witem) = @_;
-    return unless (ref $witem && $witem->{type} eq 'QUERY');
+    #return unless (ref $witem && $witem->{type} eq 'QUERY');
+    return unless (ref $witem);
     my @data;
     my $filename = Irssi::settings_get_str('autolog_path');
     my $servertag = $witem->{server}->{tag};
     my $name = lc $witem->{name};
-    $filename =~ s/(\$tag|\$1)/$servertag/g;
-    $filename =~ s/\$0/$name/g;
+    $filename =~ s/\$tag\b|\$\{tag\}|\$1\b|\$\{1\}/$servertag/g;
+    $filename =~ s/\$0\b|\$\{0\}/$name/g;
     my @lt = localtime(time);
     my $zone;
     $filename = strftime($filename, @lt, $zone);


If you don't like the first part, remove it - I'm submitting the patch
to fix the ${var} bug.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-2-686
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Christoph
-- 
[EMAIL PROTECTED] | http://www.df7cb.de/

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: irssi-scripts
Source-Version: 20061009

We believe that the bug you reported is fixed in the latest version of
irssi-scripts, which is due to be installed in the Debian FTP archive:

irssi-scripts_20061009.dsc
  to pool/main/i/irssi-scripts/irssi-scripts_20061009.dsc
irssi-scripts_20061009.tar.gz
  to pool/main/i/irssi-scripts/irssi-scripts_20061009.tar.gz
irssi-scripts_20061009_all.deb
  to pool/main/i/irssi-scripts/irssi-scripts_20061009_all.deb



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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Florian Ernst <[EMAIL PROTECTED]> (supplier of updated irssi-scripts 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 [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon,  9 Oct 2006 16:10:48 +0200
Source: irssi-scripts
Binary: irssi-scripts
Architecture: source all
Version: 20061009
Distribution: unstable
Urgency: medium
Maintainer: Florian Ernst <[EMAIL PROTECTED]>
Changed-By: Florian Ernst <[EMAIL PROTECTED]>
Description: 
 irssi-scripts - collection of scripts for irssi
Closes: 367335 379296 379300 379303 379305 379308 379316
Changes: 
 irssi-scripts (20061009) unstable; urgency=medium
 .
   * urgency=medium in order to get this into etch in time
   * trackbar.pl: pick r1.4 from upstream which removed utf-8 support
     (Closes: #367335)
   * queryresume.pl: apply autolog_path fix and suggested generalization
     by Christoph Berg (Closes: #379296)
   * timer.pl: add repeat rate to /timer list, patch by Christoph Berg
     (Closes: #379300)
   * topic-diff.pl: ignore trailing whitespace changes, and also
     recognize ' - ' as separator, patch by Christoph Berg (Closes: #379303)
   * topics.pl: show real time instead of epoch, remove quotes, patch by
     Christoph Berg (Closes: #379305)
   * chanact.pl: add options to shorten channel names, patch by Christoph Berg
     (Closes: #379308)
   * Include script nickident.pl by Christoph Berg to identify to services
     (Closes: #379316)
Files: 
 41fcd0407e3c4f432577fa98f851888d 512 net optional irssi-scripts_20061009.dsc
 a611d1ba3b892b5a28920f57a747343c 686640 net optional 
irssi-scripts_20061009.tar.gz
 a06b0465c8cffc15402052b074c97ea8 681842 net optional 
irssi-scripts_20061009_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFKlkzs3U+TVFLPnwRAtSzAKCECS+3GScs+RAss1Ux6Y5ospcwlwCfTG0Q
n6VddUZCBdvwEBVCAk06GZM=
=qv/r
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to