Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
laziness, impatience, and hubris
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??

I have modules in my distributing, that I don't want to provide to end users. Actually I don't want to provide anything, except, probably, main module (App::MtAws), to end users, as my distribution is not a library, but a program, i.e. it is not for linking with other code.

The only thing should be available for end user is one script to be ran from command line, and some .pod in the future.

Examples of modules, I don't want to "provide" are: App::MtAws::Filter App::MtAws::GlacierRequest (total over 40).

here is the distribution

I have several issues with this.

1) I don't understand what different levels of "providing" a module exist. It seems that I don't want modules to be listed on CPAN pages, don't want it to appear in search, but I do want to "preserve" that namespace.

2) I have "no_index namespace" in my meta (both json and yml) (I've tried no_index directory also):

"no_index" : { "namespace" : [ "App::MtAws" ] },

but it seems it doesn't work, because I see in my meta the following:

"provides" : { "App::MtAws" : { "file" : "lib/App/MtAws.pm", "version" : "0.972" }, "App::MtAws::CheckLocalHashCommand" : { "file" : "lib/App/MtAws/CheckLocalHashCommand.pm" }, ...

3) Seems unneeded modules appear on metacpan pages but not on CPAN pages

4) When I upload new, non-dev version to PAUSE, I am getting the following email shortly:

Status of this distro: Decreasing version number ================================================ The following packages (grouped by status) have been found in the dist +ro: Status: Decreasing version number ================================= module: App::MtAws::CheckLocalHashCommand version: undef in file: lib/App/MtAws/CheckLocalHashCommand.pm status: Not indexed because lib/App/MtAws/CheckLocalHashComm +and.pm in V/VS/VSESPB/App-MtAws-0.962.tar.gz has a higher versio +n number (0) module: App::MtAws::ChildWorker version: undef in file: lib/App/MtAws/ChildWorker.pm status: Not indexed because lib/App/MtAws/ChildWorker.pm in V/VS/VSESPB/App-MtAws-0.962.tar.gz has a higher version number (0)

I believe this is because I previously used M:B version, which reported "version=0" for packages without version: example

and now I use M:B which reports no version in this case: example

Question is how to fix those emails and what else this issue affects in practice (except sending warning over email)?

5) I there a difference (in theory and practice) between

package # hide from pause mymodule

and
meta "no_index"
?


In reply to Understanding CPAN indexing by vsespb

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others making s'mores by the fire in the courtyard of the Monastery: (6)
    As of 2014-04-18 01:00 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      April first is:







      Results (460 votes), past polls