Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^3: What are the files in a CPAN distribution?

by Tux (Canon)
on Dec 19, 2012 at 19:47 UTC ( [id://1009617]=note: print w/replies, xml ) Need Help??


in reply to Re^2: What are the files in a CPAN distribution?
in thread What are the files in a CPAN distribution?

Most modules are no in some sort of reproducable VCS: svn or git, and most have some sort of preferred way of contributions (github).

If people want to work on a module/distribution, a git clone or svn copy will get you *all* files, including those that - I agree with tobyink here - are listed in .gitignore and MANIFEST.SKIP. I hope at least that the authors are sane enough to have these two in the repository anyway.


Enjoy, Have FUN! H.Merijn
  • Comment on Re^3: What are the files in a CPAN distribution?

Replies are listed 'Best First'.
Re^4: What are the files in a CPAN distribution?
by davido (Cardinal) on Dec 19, 2012 at 19:54 UTC

    I do keep modules in public Git repos, and in the module's POD point to that repo. Nevertheless, when someone looks for a distribution, they look to CPAN, and I try to provide the complete dist there. Anyway, the good thing about Perl is that TIMTOWTDI. :)


    Dave

      The module POD is not the only place where your repo must be linked. The most important place is the distribution metadata: the resources section of META.{yaml,json}

      This is important because the metadata can be processed by programs while the POD is only for humans.

Re^4: What are the files in a CPAN distribution?
by dolmen (Beadle) on Dec 21, 2012 at 13:27 UTC

    We can not rely only on the source repository of the author to get the original source. First, too few authors advertise the place of that repository in their metadata. Then, the author may decide to make it private, or delete it completely. Look at what happened to Marcel Grunauer 200+ modules when he dropped his Github account in August 2011...

    The only reliable archive is the CPAN. This is where the source must be.

    This is why I hate tools that transform the original source : PodWeaver, Dist::Zilla::Plugin::ExtraTests...

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (7)
As of 2024-04-19 14:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found