From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tobias Geerinckx-Rice Subject: bug#35010: Many CPAN download URLs are no longer available Date: Wed, 27 Mar 2019 01:31:00 +0100 Message-ID: <87zhphi2ff.fsf@nckx> References: <87va05baho.fsf@netris.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:51585) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h8vY3-0008Rc-KD for bug-guix@gnu.org; Tue, 26 Mar 2019 19:32:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h8vY2-0003IP-IN for bug-guix@gnu.org; Tue, 26 Mar 2019 19:32:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47156) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h8vY2-0003IC-4o for bug-guix@gnu.org; Tue, 26 Mar 2019 19:32:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h8vY1-0003Ro-S1 for bug-guix@gnu.org; Tue, 26 Mar 2019 19:32:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <87va05baho.fsf@netris.org> 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 --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Mark, [Quick stream-of consciousness reply on a train, whee.] Mark H. Weaver wrote: > At least some, and probably most, of these URIs were updated=20 > quite > recently. For example, the 'perl-mouse', 'perl-carp-clan', and > 'perl-file-temp' were all updated on March 23, and presumably=20 > the source > URIs worked at that point, but then all three URIs had to be=20 > updated two > days later to fix the broken download links. =2D The wave of Perl updates this March was me, using =E2=80=98guix refresh= =20 -u=E2=80=99 (and manually checking for breakages, of course). I never use =E2=80=98guix refresh=E2=80=99, until after about a year I forg= et why,=20 use =E2=80=98guix refresh=E2=80=99 once, and promptly remember. The updater for CPAN packages is at best caveat-quality. It=20 helpfully downloads the updated tarball to the store, but doesn't=20 update the URL. Since the file is in the store, everything works=20 fine on the updater's machine, then breaks everywhere else. Background: the problem here is that CPAN URLs contain the=20 uploader name, e.g. (Karen?) ETHER(idge) in the case of mirror://cpan/authors/id/E/ET/ETHER/URI-1.76.tar.gz which doesn't change every VERSION (so the problem is somewhat=20 hidden) but more frequently than the author/maintainer would. I'm planning on finally taking care this problem after I get home=20 (and after I finally get the Overdrives set up, cough), either by=20 making the CPAN updater also rewrite URL fields (if possible?), or=20 finding out whether there's a way to construct these URLs without=20 using the uploader name, or=E2=80=A6 well, that's all I have for now. =2D While fixing the remaining fallout from this, I did find a few=20 other broken CPAN links for packages that I hadn't recently=20 touched. Updating them broke others, so I just left them alone.=20 I don't know if these are more broken refreshes from longer ago=20 that went unnoticed (so basically nobody uses these packages),=20 or if there's another unrelated problem. Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXJrERAAKCRANsP+IT1Vt ebGfAQCWx6Z3qQJZAPeyEMV1bqfIyZFhP+/cVgBRZ/KtubWgZwD/aQNFrj1tYzJO jIHETcFkYKUCEEoNBqael4MwG1SfxAA= =p4mt -----END PGP SIGNATURE----- --=-=-=--