in reply to Re: Exclude files and directories in tarfile for CPAN upload
in thread Exclude files and directories in tarfile for CPAN upload

I went canonical and read both don't really mention ExtUtils::MakeMaker, Module::Build, Dist::Zilla, and Minilla

As a side note: Confusingly did Module::Starter create a README, but PAUSE says not to upload one...

Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery

  • Comment on Re^2: Exclude files and directories in tarfile for CPAN upload

Replies are listed 'Best First'.
Re^3: Exclude files and directories in tarfile for CPAN upload
by Discipulus (Canon) on Oct 25, 2024 at 10:21 UTC
    So do you used Module::Starter ?

    The short documentation of the module says:

    The ignores_type is a new feature that allows one to create SCM-specif +ic ignore files. These are the mappings: ignores_type => 'generic' # default, creates 'ignore.txt' ignores_type => 'cvs' # creates .cvsignore ignores_type => 'git' # creates .gitignore ignores_type => 'hg' # creates .hgignore ignores_type => 'manifest' # creates MANIFEST.SKIP

    Go canonical and use my guide ;)

    L*

    PS the above module ships with the module-starter program inside /bin and this is the suggested method to follow. The program has the option --ignores=type the sets the above mentioned ignores_type internal option. It defaults to txt creating ignore.txt

    There are no rules, there are no thumbs..
    Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.
      > So do you used Module::Starter ?

      well yes, but I think it's for getting started only and not for publishing.

      > Go canonical and use my guide ;)

      Grazie mille,

      Tho I'm performing under pressure now to get my bohemian rapsody uploaded...

      Cheers Rolf
      (addicted to the Perl Programming Language :)
      see Wikisyntax for the Monastery

        > not for publishing.

        I created all my distributions with Module::Starter and I always just run

        make dist
        and upload the result to PAUSE. What more do you need for publishing?

        map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
Re^3: Exclude files and directories in tarfile for CPAN upload
by hippo (Archbishop) on Oct 25, 2024 at 12:50 UTC
    Confusingly did Module::Starter create a README, but PAUSE says not to upload one...

    The PAUSE document is advising you not to upload a separate README file individually outside of the distribution tarball. That's a totally different thing from including a README inside the tarball which you absolutely should do.


    🦛

      What you shouldn't do, on the other hand, is to upload a README.pod file. It gets installed into a wrong path by cpan, see for example here.

      map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]