From: "Ludovic Courtès" <ludo@gnu.org>
To: Mark H Weaver <mhw@netris.org>
Cc: 35010@debbugs.gnu.org
Subject: bug#35010: Many CPAN download URLs are no longer available
Date: Fri, 29 Mar 2019 16:34:02 +0100 [thread overview]
Message-ID: <87bm1tae51.fsf@gnu.org> (raw)
In-Reply-To: <87tvfmbqg9.fsf@netris.org> (Mark H. Weaver's message of "Thu, 28 Mar 2019 18:10:03 -0400")
Mark H Weaver <mhw@netris.org> skribis:
> Ludovic Courtès <ludo@gnu.org> 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 = #<<upstream-source> package: "perl-uri" version: "1.76" urls: ("mirror://cpan/authors/id/O/OA/OALDERS/URI-1.76.tar.gz") signature-urls: #f input-changes: #<procedure 7fced1c44ca0 at guix/import/cpan.scm:308:7 (x)>>
>>
>> So with a bit of work we could change ‘package-update’ to automatically
>> update the URL.
>>
>> (Time passes…)
>>
>> 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’s what it does, but in practice it simply does a
string substitution on the ‘dirname’ of the URI, which probably 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’.
next prev parent reply other threads:[~2019-03-29 15:35 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-26 21:18 bug#35010: Many CPAN download URLs are no longer available Mark H Weaver
2019-03-27 0:31 ` Tobias Geerinckx-Rice
2019-03-27 14:07 ` Ludovic Courtès
2019-03-27 18:40 ` Tobias Geerinckx-Rice
2019-04-07 1:30 ` Mark H Weaver
2019-03-28 22:10 ` Mark H Weaver
2019-03-29 15:34 ` Ludovic Courtès [this message]
2019-05-01 2:58 ` Mark H Weaver
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bm1tae51.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=35010@debbugs.gnu.org \
--cc=mhw@netris.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.