From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#35010: Many CPAN download URLs are no longer available Date: Fri, 29 Mar 2019 16:34:02 +0100 Message-ID: <87bm1tae51.fsf@gnu.org> References: <87va05baho.fsf@netris.org> <87zhphi2ff.fsf@nckx> <87lg10eez7.fsf@gnu.org> <87tvfmbqg9.fsf@netris.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:51437) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h9tX5-00073u-6Z for bug-guix@gnu.org; Fri, 29 Mar 2019 11:35:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h9tX4-00074l-9T for bug-guix@gnu.org; Fri, 29 Mar 2019 11:35:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50672) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h9tX4-00073k-24 for bug-guix@gnu.org; Fri, 29 Mar 2019 11:35:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h9tX3-0003gV-Rm for bug-guix@gnu.org; Fri, 29 Mar 2019 11:35:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87tvfmbqg9.fsf@netris.org> (Mark H. Weaver's message of "Thu, 28 Mar 2019 18:10:03 -0400") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Mark H Weaver Cc: 35010@debbugs.gnu.org Mark H Weaver skribis: > Ludovic Court=C3=A8s writes: > >> The good news is that the (guix upstream) framework gets to see the >> correct URL: >> >> scheme@(guile-user)> (package-latest-release perl-uri (force %updaters)) >> $6 =3D #< package: "perl-uri" version: "1.76" urls: ("m= irror://cpan/authors/id/O/OA/OALDERS/URI-1.76.tar.gz") signature-urls: #f i= nput-changes: #> >> >> So with a bit of work we could change =E2=80=98package-update=E2=80=99 t= o automatically >> update the URL. >> >> (Time passes=E2=80=A6) >> >> Commit 42314ffa072f31cc1cb44df38b1f8fcca19d9d3c should fix this. > > Nice! I haven't looked closely, but does this somehow update the code > that computes source URLs using 'string-append'? If so, that's > impressive :) Well, yes and no. :-) It looks like that=E2=80=99s what it does, but in practice it simply does a string substitution on the =E2=80=98dirname=E2=80=99 of the URI, which prob= ably works in most cases (it definitely works for CPAN packages.) > In other news, here's another batch of bad source URLs that Hydra > recently failed to fetch: > > mirror://savannah/starfighter/1.7/project-starfighter-1.7-src.tar.gz > mirror://cpan/authors/id/P/PI/PIJLL/DateTime-Calendar-Julian-0.100.tar.= gz > mirror://cpan/authors/id/A/AD/ADAMK/Object-Signature-1.08.tar.gz > mirror://cpan/authors/id/J/JH/JHI/Time-HiRes-1.9760.tar.gz > mirror://cpan/authors/id/F/FR/FREW/Class-C3-Componentised-1.001002.tar.= gz > mirror://cpan/authors/id/R/RG/RGARCIA/base-2.23.tar.gz Thanks! Ludo=E2=80=99.