Deutsch English Français Italiano |
<6e1q82dsds.fsf@th-dorner.de> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!umbra.opacus!not-for-mail From: Thomas Dorner <clpm240322.dorner@spamgourmet.com> Newsgroups: comp.lang.perl.misc Subject: Re: Are all CPAN modules supposed to be listed on metacpan.org? Date: Fri, 22 Mar 2024 19:38:07 +0100 Message-ID: <6e1q82dsds.fsf@th-dorner.de> References: <87h6gy8z4l.fsf@vagabond.tim-landscheidt.de> MIME-Version: 1.0 Content-Type: text/plain Injection-Info: solani.org; logging-data="1786575"; mail-complaints-to="abuse@news.solani.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Cancel-Lock: sha1:I4ipQ5v2kwGz5FyT0nk1IAEeVbU= sha1:uSKP9pxN4DN/sjXdWC6eXsSKL+A= X-User-ID: eJwNyMEBwCAIA8CVoJJgx4Eo+4/Q3vOw6FQGwcBgBnjOtb2a7nFYKntlUjau75amaiqLPfefDy1gEm0= Bytes: 2739 Lines: 50 Hi Tim! Tim Landscheidt <tim@tim-landscheidt.de> writes: > Hi, > > I'm looking into broken URLs of Fedora packages of (inter > alia) CPAN modules, in the following picking > https://src.fedoraproject.org/rpms/perl-Config-IniHash as a > random example. > > This Fedora package refers to > https://metacpan.org/release/Config-IniHash which redirects > to https://metacpan.org/dist/Config-IniHash which is 404. > > The source URL however, > https://cpan.metacpan.org/authors/id/J/JE/JENDA/Config-IniHash-3.01.01.tar.gz, > works nicely, as does some metadata file at > https://www.cpan.org/modules/by-authors/id/J/JE/JENDA/Config-IniHash-3.01.01.meta. This use an old standard for the META-spec, which should not be a problem. (I have a very old one also using 1.2 without problems as well.) But the 1st line looks a bit incomplete as the spec says: |The first line of a META.yml file should be a valid YAML document |header like "--- #YAML:1.0". Maybe that's the problem? (Just a wild guess as I'm not really familiar with the old spec's details.) If an author releases a new module (or new version) on PAUSE, an indexer analyses the package including the META-spec (and usually sends a mail to the author that everything went well, what it indexed etc.). But this process can sometimes fail and the author has to restart it manually. (I never had any problems though, I just read about it.) > Does the module author have to click some button to trigger the > inclusion in the database? Normally it gets added fully automatically, if the META-spec is correct and the PAUSE server don't run into problems. > Are all modules available at cpan.org supposed to be listed at > metacpan.org? At least those that appear as "name" in the META-spec, yes. Just my 2 cents. Best regards, Thomas -- Address is only valid for short time!