Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

You will inherit some money or a small piece of land.


comp / comp.lang.perl.misc / Re: Are all CPAN modules supposed to be listed on metacpan.org?

SubjectAuthor
* Are all CPAN modules supposed to be listed on metacpan.org?Tim Landscheidt
+* Re: Are all CPAN modules supposed to be listed on metacpan.org?Thomas Dorner
|`- Re: Are all CPAN modules supposed to be listed on metacpan.org?Eric Pozharski
`- Re: Are all CPAN modules supposed to be listed on metacpan.org?Bouras George

1
Subject: Are all CPAN modules supposed to be listed on metacpan.org?
From: Tim Landscheidt
Newsgroups: comp.lang.perl.misc
Organization: https://www.tim-landscheidt.de/
Date: Fri, 22 Mar 2024 08:11 UTC
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: tim@tim-landscheidt.de (Tim Landscheidt)
Newsgroups: comp.lang.perl.misc
Subject: Are all CPAN modules supposed to be listed on metacpan.org?
Date: Fri, 22 Mar 2024 08:11:22 +0000
Organization: https://www.tim-landscheidt.de/
Lines: 32
Message-ID: <87h6gy8z4l.fsf@vagabond.tim-landscheidt.de>
Mime-Version: 1.0
Content-Type: text/plain
X-Trace: individual.net O5UeHTPGXbMTvHtr3z9H+wer/gxt9I4DkUBOgw9gyxe+O1Awt/
Cancel-Lock: sha1:3J1q4p7cCHWG6ol5WFaW+rXtHwo= sha1:LnzvJOeTdZDYPGIiPYHFEcYBP44= sha256:XJ/todp5f1vrnWZQ6EcWSqHN8Uts+2gp8Rn5o44ulvA=
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.3 (gnu/linux)
View all headers

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.

If I go to https://metacpan.org/author/JENDA, Config-IniHash
is not listed there. If I search for "Config-IniHash"
(https://metacpan.org/search?size=20&q=Config-IniHash) or
"Config::IniHash"
(https://metacpan.org/search?size=20&q=Config%3A%3AIniHash)
on metacpan.org, I don't get any pertinent results.

Therefore I'm interested if this is the expected result or
some fault at (meta)cpan.org and thus who I need to contact
to get it fixed. Does the module author have to click some
button to trigger the inclusion in the database? Are all
modules available at cpan.org supposed to be listed at
metacpan.org?

TIA,
Tim

Subject: Re: Are all CPAN modules supposed to be listed on metacpan.org?
From: Thomas Dorner
Newsgroups: comp.lang.perl.misc
Date: Fri, 22 Mar 2024 18:38 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!umbra.opacus!not-for-mail
From: clpm240322.dorner@spamgourmet.com (Thomas Dorner)
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=
View all headers

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!

Subject: Re: Are all CPAN modules supposed to be listed on metacpan.org?
From: Eric Pozharski
Newsgroups: comp.lang.perl.misc
Organization: A noiseless patient Spider
Date: Sat, 23 Mar 2024 16:03 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: apple.universe@posteo.net (Eric Pozharski)
Newsgroups: comp.lang.perl.misc
Subject: Re: Are all CPAN modules supposed to be listed on metacpan.org?
Date: Sat, 23 Mar 2024 16:03:07 +0000
Organization: A noiseless patient Spider
Lines: 35
Message-ID: <slrnuvtv9r.2ou.apple.universe@freight.zombinet>
References: <87h6gy8z4l.fsf@vagabond.tim-landscheidt.de>
<6e1q82dsds.fsf@th-dorner.de>
Injection-Info: dont-email.me; posting-host="2b32e618170a7fc8cad7c10bfdf8f28a";
logging-data="3999026"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19bec8VqrcjlBZxJGlg8dhp"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:jQ4m2PWazatSNFsa+JycQpTGw5w=
View all headers

with <6e1q82dsds.fsf@th-dorner.de> Thomas Dorner wrote:
> Tim Landscheidt <tim@tim-landscheidt.de> writes:

>> 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.
*SKIP* [ 14 lines 2 levels deep]
>|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.)

Disclaimer: I'm not affiliated with cpan-people either, what follows is
my speculation. Config-IniHash has been added to CPAN ~20070125 and
about ~201712## it has been "removed". However, what "removed" means in
Perl-land is "removed from indexes" or de-indexed. Files themselves
must be scheduled for purge by author (it means: personally by author).
That act of care has never happened.

From Perl, perl, and CPAN perspective Config-IniHash doesn't exist. It
is possible that some cruft has been accumulated in various places on
the span of 15y. I'm pretty much certain there's more.

*CUT* [ 15 lines 2 levels deep]

--
Torvalds' goal for Linux is very simple: World Domination
Stallman's goal for GNU is even simpler: Freedom

Subject: Re: Are all CPAN modules supposed to be listed on metacpan.org?
From: Bouras George
Newsgroups: comp.lang.perl.misc
Organization: A noiseless patient Spider
Date: Mon, 20 May 2024 06:52 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: g-bouras@otenet.gr (Bouras George)
Newsgroups: comp.lang.perl.misc
Subject: Re: Are all CPAN modules supposed to be listed on metacpan.org?
Date: Mon, 20 May 2024 09:52:54 +0300
Organization: A noiseless patient Spider
Lines: 41
Message-ID: <v2es0p$3s0ts$1@dont-email.me>
References: <87h6gy8z4l.fsf@vagabond.tim-landscheidt.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 20 May 2024 08:53:14 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="d21705497033fe18f477611ff0ae7abd";
logging-data="4064188"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/A/y7tjprXkwdNy3+KLT9BczM6TKfzsH0="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:kmQrSgX3A6pSjTZaYDe/SdScn60=
In-Reply-To: <87h6gy8z4l.fsf@vagabond.tim-landscheidt.de>
Content-Language: en-US
View all headers

On 22/3/2024 10:11 π.μ., Tim Landscheidt wrote:
> 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.
>

no problem here

cpanm --version
cpanm (App::cpanminus) version 1.7046 (/usr/bin/vendor_perl/cpanm)
perl version 5.038002 (/usr/bin/perl)

cpanm --test-only Config::IniHash

! Finding Config::IniHash on cpanmetadb failed.
--> Working on Config::IniHash
Fetching
http://cpan.metacpan.org/authors/id/J/JE/JENDA/Config-IniHash-3.01.01.tar.gz
.... OK
Configuring Config-IniHash-3.01.01 ... OK
==> Found dependencies: Hash::Case, Hash::WithDefaults
--> Working on Hash::Case
Fetching
http://www.cpan.org/authors/id/M/MA/MARKOV/Hash-Case-1.05.tar.gz ... OK
Configuring Hash-Case-1.05 ... OK
Building and testing Hash-Case-1.05 ... OK
Successfully tested Hash-Case-1.05
--> Working on Hash::WithDefaults
Fetching
http://www.cpan.org/authors/id/J/JE/JENDA/Hash-WithDefaults-0.04.tar.gz
.... OK
Configuring Hash-WithDefaults-0.04 ... OK
Building and testing Hash-WithDefaults-0.04 ... OK
Successfully tested Hash-WithDefaults-0.04
Building and testing Config-IniHash-3.01.01 ... OK
Successfully tested Config-IniHash-3.01.01

1

rocksolid light 0.9.8
clearnet tor