Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

search.cpan.org, metacpan and PAUSE all broken in different ways?

by Sixes (Novice)
on Jul 19, 2014 at 18:25 UTC ( [id://1094310]=perlmeditation: print w/replies, xml ) Need Help??

Starting with PAUSE, I have uploaded several new modules to PAUSE. Each time, I get a message that says:

This distribution name can only be used by users with permission for the package <My::Package>, which you do not have.

The packages are in new namespaces. As I understand it, simply uploading a new module should allocate that namespace to me on a "first-come" basis. But it isn't.

This doesn't seem to matter to search.cpan.org, when it's working: it still indexes the module so that it can be found and downloaded via the cpan utility.

However that doesn't seem to apply to metacpan. It uses 02packages.details.txt which isn't being updated, presunably because of the PAUSE issue. Thus my modules are not appearing on metacpan in their search. Metacpan's help says:

MetaCPAN uses the PAUSE generated 02packages.details.txt file. If it's not in there, then the module author will need to fix this,

Does anyone know if it's fixable? I have mailed modules@perl.org a couple of times but no response.

Replies are listed 'Best First'.
Re: search.cpan.org, metacpan and PAUSE all broken in different ways? (details)
by tye (Sage) on Jul 19, 2014 at 20:11 UTC

    I guess you just want feedback of a theoretical nature (as I'm pretty sure "My::Package" isn't actually the name of the module involved).

    Had you actually mentioned the real name of the module, then I could have checked if it is actually owned (perhaps because it had previously been uploaded and later removed) via https://pause.perl.org/pause/authenquery?ACTION=peek_perms.

    - tye        

      It was general feedback I was looking for, yes, rather than risking being accused of advertising my wonderful new modules here.

      But, since you ask, the modules involved are Mustache::Simple and Attribute::Boolean. I had already checked the perms on the peek_perms page.

Re: search.cpan.org, metacpan and PAUSE all broken in different ways?
by Haarg (Priest) on Jul 22, 2014 at 21:22 UTC
    There has recently been a change in PAUSE to require permissions on distribution names as well as the packages inside them. You've uploaded your dists to subdirectories of your author dir. I'm guessing that there is a bug in PAUSE's handling of this case. If you uploaded the files to the root of your author dir, things would likely work correctly.
      Thanks for that suggestion. I have tried uploading to the root. I still got an email from the "PAUSE namespace indexer" though:
      This distribution name can only be used by users with permission for the package Attribute::Boolean, which you do not have.
      Let's see if it ends up in 02packages.details.txt though.

        Perhaps you need permission to create a sub name space in the parent name space. In this case, maybe you need to contact the maintainer of Attribute for consent, then cite that consent in an application to register Attribute::Boolean.

        I don't know. Just a thought.

        (I have applied to register a name space within a name space maintained by someone else. No response so far, but when I applied for a PAUSE/CPAN ID, the page said to allow 3 weeks for approval. I suspect the same applies when registering a name space. (when I peek for the name space I want to register, it says no record found))

        Nope. Exactly the same. Not in 02packages.details.txt.

        Any other suggestions or ideas?

        Cliff.

Re: search.cpan.org, metacpan and PAUSE all broken in different ways?
by Anonymous Monk on Jul 20, 2014 at 12:21 UTC
    Especially if your modules are wonderful, you won't (in any case) be "accused" for mentioning them by name. When reporting a problem, details are everything.
Re: search.cpan.org, metacpan and PAUSE all broken in different ways?
by RonW (Parson) on Nov 05, 2014 at 18:31 UTC

    On the PAUSE news page:

    2014-03-26 The registered modules list is being retired. The module list (aka 03modlist.data) stored a curated list of modules with some metadata. It has been superseded by metadata stored in the META.json file. Module registration once provided a means to get feedback before uploading a new distribution. This advice can now be gotten at PrePAN. The module list will cease to contain any module data on or about April 1, 2014.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://1094310]
Approved by AppleFritter
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-04-25 02:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found