We know the message can be improved, but there are many reasons the
permissions might not be known or found, so it's hard to be exact without
being misleading about what to do about it.

I hope to improve the PAUSE docs overall about this soon.

David
On Apr 1, 2015 7:27 PM, "Van de Bugger" <van.de.bug...@gmail.com> wrote:

> Thanks for explanation, I'll try to add 'provides' key.
>
> However, why the message is so cryptic? It would be better to say
> "Cannot find Systemd/Daemon.pm file" rather than complain on permissions
> which I do not have.
>
> —Van
>
> On Wed, 2015-04-01 at 10:00 -0400, David Golden wrote:
> > Because of the way you generate your modules, PAUSE can't find the
> > package "Systemd::Daemon" because there is no .pm file in the lib
> > directory.
> >
> >
> > You need to include a 'provides' section in your META.json and
> > META.yml files using META_ADD that follows this structure:
> > https://metacpan.org/pod/CPAN::Meta::Spec#provides
> >
> >
> > David
> >
> >
> >
> > On Tue, Mar 31, 2015 at 4:11 PM, Van de Bugger
> > <van.de.bug...@gmail.com> wrote:
> >         Hi,
> >
> >         Recently I uploaded my module Systemd::Daemon to PAUSE. Before
> >         uploading, I have search both search.cpan.org and metacpan.org
> >         for both
> >         "Systemd" and "Systemd::Daemon", and find nothing. (The
> >         closest result
> >         "Linux::Systemd::Journal" is in "Linux" namespace).
> >
> >         As described in
> >         http://www.cpan.org/modules/04pause.html#comparison
> >
> >         >  In order for a module to be indexed, the submitting author
> >         must be
> >         the owner or an authorized maintainer for every package
> >         namespace found
> >         (unless the namespace is new, in which case the uploading
> >         author becomes
> >         the owner of it).
> >
> >         I though the "Systemd::Daemon" namespace is new, but I
> >         received PAUSE
> >         report (see below) that I do not have permission for the
> >         package
> >         "Systemd::Daemon". Could you explain Why?
> >
> >         Thanks.
> >         —Van
> >
> >         On Mon, 2015-03-30 at 19:16 +0000, PAUSE wrote:
> >         > The following report has been written by the PAUSE namespace
> >         indexer.
> >         > Please contact modules@perl.org if there are any open
> >         questions.
> >         >
> >         >   User: VDB (Van de Bugger)
> >         >   Distribution file: Systemd-Daemon-0.03.tar.gz
> >         >   Number of files: 19
> >         >   *.pm files: 1
> >         >   README: Systemd-Daemon-0.03/README
> >         >   META-File: Systemd-Daemon-0.03/META.json
> >         >   META-Parser: Parse::CPAN::Meta 1.4404
> >         >   META-driven index: no
> >         >   Timestamp of file: Mon Mar 30 19:15:11 2015 UTC
> >         >   Time of this run: Mon Mar 30 19:16:39 2015 UTC
> >         >
> >         > This distribution name can only be used by users with
> >         permission for the
> >         > package Systemd::Daemon, which you do not have.
> >         >
> >         >
> >         > __END__
> >
> >
> >
> >
> >
> > --
> > David Golden <x...@xdg.me> Twitter/IRC: @xdg
>
>
>

Reply via email to