Scripts are not normally indexed.  You must either include a dummy .pm file
with a valid package name or you must have a META.* file with a "provides"
that gives a package name for indexing and lists the script file as the
source.

On Tue, Oct 28, 2014 at 6:11 AM, Gabor Szabo <ga...@pti.co.il> wrote:

>
>
> On Tue, Oct 28, 2014 at 11:47 AM, PAUSE <upl...@pause.perl.org> wrote:
>
>> The following report has been written by the PAUSE namespace indexer.
>> Please contact modules@perl.org if there are any open questions.
>>
>>   User: SZABGAB (Gabor Szabo)
>>   Distribution file: CPAN-Test-Dummy-SCO-Missing-0.35.tar.gz
>>   Number of files: 7
>>   *.pm files: 0
>>   README: CPAN-Test-Dummy-SCO-Missing-0.35/README
>>   META-File: CPAN-Test-Dummy-SCO-Missing-0.35/META.json
>>   META-Parser: Parse::CPAN::Meta 1.4404
>>   META-driven index: no
>>   Timestamp of file: Tue Oct 28 09:46:01 2014 UTC
>>   Time of this run: Tue Oct 28 09:47:29 2014 UTC
>>
>> This distribution name can only be used by users with permission for the
>> package CPAN::Test::Dummy::SCO::Missing, which you do not have.
>>
>>
>> __END__
>>
>
>
> This is unclear to my. I have tried to upload a tar.gz file with only a
> script in it.
> No mention of any package.
> Yet it was not indexed.
>
> I am creating this in order to test some feature of the search.cpan.org
> clone
> I have been working on for a while.
>
> There was a distribution called apid that I used to test agains, but it has
> just been removed from CPAN
>
> http://backpan.perl.org/authors/id/T/TL/TLINDEN/apid-0.04.tar.gz
>
> How was that indexed? Why isn't mine indexed?
>
> How should I tweak it to get indexed?
>
> BTW I tried to remove the dashes from the distribution name but that was
> also rejected:
>
>
>
> User: SZABGAB (Gabor Szabo)
>   Distribution file: CPANTestDummySCOMissing-0.36.tar.gz
>   Number of files: 7
>   *.pm files: 0
>   README: CPANTestDummySCOMissing-0.36/README
>   META-File: CPANTestDummySCOMissing-0.36/META.json
>   META-Parser: Parse::CPAN::Meta 1.4404
>   META-driven index: no
>   Timestamp of file: Tue Oct 28 10:00:20 2014 UTC
>   Time of this run: Tue Oct 28 10:01:49 2014 UTC
>
> This distribution name can only be used by users with permission for the
> package CPANTestDummySCOMissing, which you do not have.
>
>
> Gabor
>
>
>


-- 
David Golden <x...@xdg.me> Twitter/IRC: @xdg

Reply via email to