Skip Menu |
 
rt.cpan.org will be shut down on March 1st, 2021.

This queue is for tickets about the Cache-Cache CPAN distribution.

Report information
The Basics
Id: 67717
Status: rejected
Priority: 0/
Queue: Cache-Cache

People
Owner: Nobody in particular
Requestors: carnil [...] debian.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



From salvatore.bonaccorso [...] gmail.com Sat Apr 23 15: 16:16 2011
MIME-Version: 1.0
X-Spam-Status: No, score=-6.111 tagged_above=-99.9 required=10 tests=[AWL=-0.002, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_HI=-5, RFC_ABUSE_POST=0.001, SPF_NEUTRAL=0.779, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham
Content-Disposition: inline
X-Spam-Flag: NO
X-Virus-Checked: Checked by ClamAV on 16.mx.develooper.com
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="4SFOXa2GPu3tIq4H"
Message-ID: <20110423191606.GA2749 [...] elende>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Spam-Score: -6.111
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id BEE242419DC for <cpan-bug+Cache-Cache [...] hipster.bestpractical.com>; Sat, 23 Apr 2011 15:16:16 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5t-2eYKXbNUv for <cpan-bug+Cache-Cache [...] hipster.bestpractical.com>; Sat, 23 Apr 2011 15:16:15 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id A349E2418F7 for <bug-Cache-Cache [...] rt.cpan.org>; Sat, 23 Apr 2011 15:16:14 -0400 (EDT)
Received: (qmail 1775 invoked by uid 103); 23 Apr 2011 19:16:14 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 23 Apr 2011 19:16:14 -0000
Received: from mail-ew0-f50.google.com (HELO mail-ew0-f50.google.com) (209.85.215.50) by 16.mx.develooper.com (qpsmtpd/0.80/v0.80-19-gf52d165) with ESMTP; Sat, 23 Apr 2011 12:16:11 -0700
Received: by ewy10 with SMTP id 10so423178ewy.9 for <bug-Cache-Cache [...] rt.cpan.org>; Sat, 23 Apr 2011 12:16:08 -0700 (PDT)
Received: by 10.213.108.147 with SMTP id f19mr680199ebp.9.1303586168448; Sat, 23 Apr 2011 12:16:08 -0700 (PDT)
Received: from elende (elende.valinor.li [188.40.94.203]) by mx.google.com with ESMTPS id s50sm1476396eeh.22.2011.04.23.12.16.07 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 23 Apr 2011 12:16:07 -0700 (PDT)
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Authentication-Results: hipster.bestpractical.com (amavisd-new); domainkeys=pass header.sender=salvatore.bonaccorso [...] gmail.com
Delivered-To: cpan-bug+Cache-Cache [...] hipster.bestpractical.com
User-Agent: Mutt/1.5.21 (2010-09-15)
Subject: [PATCH] Use Digest::SHA instead of Digest::SHA1
Return-Path: <salvatore.bonaccorso [...] gmail.com>
Domainkey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; b=veO/tj786lkcWlTsRgg1nL9g3qBCwFzfcxbXrwLq/CLWdusXDbv/l1BgCAkPSzAJKa jM/U/nOMPFDwW+RGGN1U03Op2YtIOT26+o6rxSVXtV7iA2bsVPgaIwkvBIubB8CUKHAQ lPpLQmsQfcs8V24lg2X1aWlfUSiBzDk9pbvXY=
X-RT-Mail-Extension: cache-cache
X-Original-To: cpan-bug+Cache-Cache [...] hipster.bestpractical.com
X-Spam-Check-BY: 16.mx.develooper.com
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:date:from:to:subject:message-id :mime-version:content-type:content-disposition:user-agent; bh=59pwOlX86j1JJ3d1IqMHb0OFXcaNSRyrzjq1R8Y/LRo=; b=WzXEHUfYMi6cnC7h+IPEiYNqHGIIs/kxTtHVlcy+CaKo/k6+4v8sQQw5NyNxh5pgCm xB8tM6JXxTjIYNVWM+Ls4oMHoyv4IlO8Rnt09Te9v94IABO6EmVIgtCpU+NOHPNSDsDs yz5f1Z6rEK/MVlLtcLqopHS1fIIlvGB4uSilY=
Sender: Salvatore Bonaccorso <salvatore.bonaccorso [...] gmail.com>
Date: Sat, 23 Apr 2011 21:16:06 +0200
X-Spam-Level:
To: bug-Cache-Cache [...] rt.cpan.org
From: Salvatore Bonaccorso <carnil [...] debian.org>
Content-Length: 0
Content-Type: multipart/mixed; boundary="jRHKVT23PllUwdXP"
Content-Disposition: inline
Content-Length: 0
content-type: text/plain; charset="utf-8"
Content-Disposition: inline
X-RT-Original-Encoding: us-ascii
Content-Length: 284
Download (untitled) / with headers
text/plain 284b
Hi Attached patch changes the module to use Digest::SHA instead of Digest::SHA1. igest::SHA is part of the standard perl distribution since perl v5.9.3 so this reduces the number of external dependencies by one. Please consider applying it for the next release. Regards, Salvatore
Content-Type: text/x-diff; charset=us-ascii
content-disposition: attachment; filename="use-Digest-SHA.patch"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: us-ascii
Content-Length: 1268

Message body is not shown because sender requested not to inline it.

Content-Description: Digital signature
content-type: application/pgp-signature; name="signature.asc"
Content-Disposition: inline
Content-Length: 836
Download signature.asc
application/pgp-signature 836b

Message body not shown because it is not plain text.

From swartz [...] pobox.com Sat Apr 23 20: 12:33 2011
MIME-Version: 1.0 (Apple Message framework v1084)
X-Spam-Status: No, score=-6.121 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_NEUTRAL=0.779] autolearn=ham
In-Reply-To: <rt-3.8.HEAD-18809-1303586177-1168.67717-4-0 [...] rt.cpan.org>
X-Mailer: Apple Mail (2.1084)
X-Spam-Flag: NO
References: <RT-Ticket-67717 [...] rt.cpan.org> <20110423191606.GA2749 [...] elende> <rt-3.8.HEAD-18809-1303586177-1168.67717-4-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Content-Type: text/plain; charset="utf-8"
Message-ID: <2A910735-A84F-447E-9651-C6953F698E04 [...] pobox.com>
X-Sasl-Enc: K3GNxzWbQiZq2aYhUbLnFKCsQFxSZ27vrgAE91vKbKgi 1303603942
X-RT-Original-Encoding: utf-8
X-Spam-Score: -6.121
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] messagingengine.com
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 45C4061E010 for <cpan-bug+Cache-Cache [...] hipster.bestpractical.com>; Sat, 23 Apr 2011 20:12:33 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WywO2UOnvmij for <cpan-bug+Cache-Cache [...] hipster.bestpractical.com>; Sat, 23 Apr 2011 20:12:31 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 2BED761E003 for <bug-Cache-Cache [...] rt.cpan.org>; Sat, 23 Apr 2011 20:12:30 -0400 (EDT)
Received: (qmail 25189 invoked by uid 103); 24 Apr 2011 00:12:30 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 24 Apr 2011 00:12:30 -0000
Received: from out4.smtp.messagingengine.com (HELO out4.smtp.messagingengine.com) (66.111.4.28) by 16.mx.develooper.com (qpsmtpd/0.80/v0.80-19-gf52d165) with ESMTP; Sat, 23 Apr 2011 17:12:26 -0700
Received: from compute5.internal (compute5.nyi.mail.srv.osa [10.202.2.45]) by gateway1.messagingengine.com (Postfix) with ESMTP id DEB162093C for <bug-Cache-Cache [...] rt.cpan.org>; Sat, 23 Apr 2011 20:12:23 -0400 (EDT)
Received: from frontend1.messagingengine.com ([10.202.2.160]) by compute5.internal (MEProxy); Sat, 23 Apr 2011 20:12:23 -0400
Received: from [192.168.180.137] (h-74-0-120-187.snfccasy.static.covad.net [74.0.120.187]) by mail.messagingengine.com (Postfix) with ESMTPSA id 1FC25402B44 for <bug-Cache-Cache [...] rt.cpan.org>; Sat, 23 Apr 2011 20:12:21 -0400 (EDT)
Delivered-To: cpan-bug+Cache-Cache [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #67717] [PATCH] Use Digest::SHA instead of Digest::SHA1
Return-Path: <swartz [...] pobox.com>
Dkim-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=content-type:mime-version:subject:from:in-reply-to:date:content-transfer-encoding:message-id:references:to; s=smtpout; bh=yNcadYFZAr3MaeCwNBTppqf18gQ=; b=bw7q3ZXlg4cYm643KzPw/uxPBz/kS+GiuNPb3LIzA3nfL3bHPml//Wm0RJvMQRfHOm3Isc4w8SAeBlKxDbNLZEN+ch0TOh1uGlCmwmjhU58mWKZFaT35TrZyPz2kaGli/uIsAjeidMgjTzBiCCLfgQak4ZvdfD1+5KIV96wTAjk=
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: cpan-bug+Cache-Cache [...] hipster.bestpractical.com
X-RT-Mail-Extension: cache-cache
Date: Sat, 23 Apr 2011 17:09:16 -0700
X-Spam-Level:
To: bug-Cache-Cache [...] rt.cpan.org
Content-Transfer-Encoding: quoted-printable
From: Jonathan Swartz <swartz [...] pobox.com>
RT-Message-ID: <rt-3.8.HEAD-18810-1303603954-151.67717-0-0 [...] rt.cpan.org>
Content-Length: 2287
Download (untitled) / with headers
text/plain 2.2k
Hi Salvatore, Cache::Cache isn't really maintained anymore. Have you looked at its successor, CHI? Of course that may have too many dependencies for you, too. :) Best Jon On Apr 23, 2011, at 12:16 PM, Salvatore Bonaccorso via RT wrote: Show quoted text
> Sat Apr 23 15:16:17 2011: Request 67717 was acted upon. > Transaction: Ticket created by carnil@debian.org > Queue: Cache-Cache > Subject: [PATCH] Use Digest::SHA instead of Digest::SHA1 > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: carnil@debian.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=67717 > > > > Hi > > Attached patch changes the module to use Digest::SHA instead of > Digest::SHA1. igest::SHA is part of the standard perl distribution since > perl v5.9.3 so this reduces the number of external dependencies by one. > > Please consider applying it for the next release. > > Regards, > Salvatore > > Index: lib/Cache/FileBackend.pm > =================================================================== > --- lib/Cache/FileBackend.pm (revision 73321) > +++ lib/Cache/FileBackend.pm (working copy) > @@ -12,7 +12,7 @@ > > use strict; > use Cache::CacheUtils qw( Assert_Defined Build_Path Freeze_Data Thaw_Data ); > -use Digest::SHA1 qw( sha1_hex ); > +use Digest::SHA qw( sha1_hex ); > use Error; > use File::Path qw( mkpath ); > use File::Temp qw( tempfile ); > Index: META.yml > =================================================================== > --- META.yml (revision 73321) > +++ META.yml (working copy) > @@ -5,7 +5,6 @@ > version_from: lib/Cache/Cache.pm > installdirs: site > requires: > - Digest::SHA1: 2.02 > Error: 0.15 > File::Spec: 0.82 > Storable: 1.014 > Index: Makefile.PL > =================================================================== > --- Makefile.PL (revision 73321) > +++ Makefile.PL (working copy) > @@ -10,7 +10,6 @@ > my $COMPRESS = 'gzip'; > my $SUFFIX = '.gz'; > my $DEFAULT_PREREQ_PM = { > - Digest::SHA1 => '2.02', > File::Spec => '0.82', > Storable => '1.014', > IPC::ShareLite => '0.09', > <signature.asc>
MIME-Version: 1.0
X-Spam-Flag: NO
X-Virus-Checked: Checked by ClamAV on 16.mx.develooper.com
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="9jxsPFA5p3P2qPhR"
X-Spam-Score: -6.115
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Authentication-Results: hipster.bestpractical.com (amavisd-new); domainkeys=pass header.sender=salvatore.bonaccorso [...] gmail.com
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id C1BF3241819 for <cpan-bug+Cache-Cache [...] hipster.bestpractical.com>; Sun, 24 Apr 2011 03:52:00 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RdgIku3SDIOP for <cpan-bug+Cache-Cache [...] hipster.bestpractical.com>; Sun, 24 Apr 2011 03:51:59 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id B67702417E3 for <bug-Cache-Cache [...] rt.cpan.org>; Sun, 24 Apr 2011 03:51:58 -0400 (EDT)
Received: (qmail 24349 invoked by uid 103); 24 Apr 2011 07:51:57 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 24 Apr 2011 07:51:57 -0000
Received: from mail-ew0-f50.google.com (HELO mail-ew0-f50.google.com) (209.85.215.50) by 16.mx.develooper.com (qpsmtpd/0.80/v0.80-19-gf52d165) with ESMTP; Sun, 24 Apr 2011 00:51:56 -0700
Received: by ewy10 with SMTP id 10so491108ewy.9 for <bug-Cache-Cache [...] rt.cpan.org>; Sun, 24 Apr 2011 00:51:52 -0700 (PDT)
Received: by 10.213.97.30 with SMTP id j30mr1314399ebn.20.1303631512340; Sun, 24 Apr 2011 00:51:52 -0700 (PDT)
Received: from elende (elende.valinor.li [188.40.94.203]) by mx.google.com with ESMTPS id q53sm3245284eeh.18.2011.04.24.00.51.50 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 24 Apr 2011 00:51:51 -0700 (PDT)
Delivered-To: cpan-bug+Cache-Cache [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #67717] [PATCH] Use Digest::SHA instead of Digest::SHA1
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:date:from:to:subject:message-id :references:mime-version:content-type:content-disposition :in-reply-to:x-opensource:x-virus:x-operating-system:x-pgp-key :user-agent; bh=W9x4VZNL1mK0NMYgekMOC7HrKPJxpAHtZVXwiisvUeo=; b=K1+q+Q9rdWKjFozs+ge/+hrnUz3FD1/LegYqlBM/5a/k6Aoc62tJS6Y8607EQ9UKwj 7oA64D6acHAJmZoyVPlpoxNK5m0+TdIjQsQzxifT9j7bniwpAP7MzO2X3YwawPLrpq1b Zra7NcIgqb2lCmbu7gRUpanC9Bd5XjOkLWj7I=
X-Spam-Check-BY: 16.mx.develooper.com
X-PGP-Key: https://arda.homelinux.org/~salvi/pubkey.asc
Date: Sun, 24 Apr 2011 09:51:50 +0200
X-Spam-Level:
To: Jonathan Swartz via RT <bug-Cache-Cache [...] rt.cpan.org>
From salvatore.bonaccorso [...] gmail.com Sun Apr 24 03: 52:00 2011
X-Virus: Hi! I am a header virus! Copy me into yours an join the fun!
In-Reply-To: <rt-3.8.HEAD-18810-1303603954-624.67717-6-0 [...] rt.cpan.org>
X-Spam-Status: No, score=-6.115 tagged_above=-99.9 required=10 tests=[AWL=0.004, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_HI=-5, RFC_ABUSE_POST=0.001, SPF_NEUTRAL=0.779] autolearn=ham
Content-Disposition: inline
References: <RT-Ticket-67717 [...] rt.cpan.org> <20110423191606.GA2749 [...] elende> <rt-3.8.HEAD-18809-1303586177-1168.67717-4-0 [...] rt.cpan.org> <2A910735-A84F-447E-9651-C6953F698E04 [...] pobox.com> <rt-3.8.HEAD-18810-1303603954-624.67717-6-0 [...] rt.cpan.org>
X-Operating-System: Debian GNU/Linux
Message-ID: <20110424075150.GA16940 [...] elende>
User-Agent: Mutt/1.5.20 (2009-06-14)
Return-Path: <salvatore.bonaccorso [...] gmail.com>
Domainkey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:x-opensource:x-virus :x-operating-system:x-pgp-key:user-agent; b=UKGOqReSGWk+PkgtsCHHLw5562HOOKTzKVs++OPgOiTa8S/CgAHgJl+BMklm7Qoqj7 EjVa6VfvmvrqYfJhzkFdLO59rIgrYIrjoPYTL+O/4AjQQ796X5WHuh9PwzfwZY48NNAK LAgptn2Cbe4e/dFX5vmsaYQAmLN3+AOpFlPWQ=
X-RT-Mail-Extension: cache-cache
X-Original-To: cpan-bug+Cache-Cache [...] hipster.bestpractical.com
Sender: Salvatore Bonaccorso <salvatore.bonaccorso [...] gmail.com>
X-Opensource: Have a lot of fun!
From: Salvatore Bonaccorso <carnil [...] debian.org>
RT-Message-ID: <rt-3.8.HEAD-18806-1303631521-949.67717-0-0 [...] rt.cpan.org>
Content-Length: 0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: utf-8
Content-Length: 972
Download (untitled) / with headers
text/plain 972b
Hi Jonathan On Sat, Apr 23, 2011 at 08:12:35PM -0400, Jonathan Swartz via RT wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=67717 > > > Hi Salvatore, > > Cache::Cache isn't really maintained anymore. Have you looked at its > successor, CHI? Of course that may have too many dependencies for > you, too. :)
Thank you for your fast reply :-) Indeed we have already too CHI in Debian [1]. Thanks for developing this. The reason you got my request (I did not check first if Cache-Cache has a successor, sorry), was that we have the 'goal' to drop the libdigest-sha1-perl package (which packages Digest::SHA1) so submitting reports for that, as Digest::SHA provides the same functionality. See [2] for more details. [1] http://packages.debian.org/libchi-perl [2] http://bugs.debian.org/594273 So at some point, if libchi-perl replaces libcache-cache-perl, we may remove that package too, thanks for the pointer. So, thanks again, and best regards Salvatore
Content-Description: Digital signature
content-type: application/pgp-signature; name="signature.asc"
Content-Disposition: inline
Content-Length: 836
Download signature.asc
application/pgp-signature 836b

Message body not shown because it is not plain text.



This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.