Making My Own CPAN

2,101 views

Published on

Take control of CPAN by maintaining your own version. You control what's in it, so you can add anything you like and put upgrades on your schedule.

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,101
On SlideShare
0
From Embeds
0
Number of Embeds
8
Actions
Shares
0
Downloads
0
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Making My Own CPAN

  1. 1. Making My Own CPAN brian d foy brian@theperlreview.com February 16, 2010 The Perl Review
  2. 2. CPAN The Perl Review
  3. 3. CPAN CPAN The Perl Review
  4. 4. CPAN The Perl Review
  5. 5. CPAN::Mini The Perl Review
  6. 6. CPAN::Mini Local The Perl Review
  7. 7. CPAN::Mini CPAN::Mini::Inject Local The Perl Review
  8. 8. The Perl Review
  9. 9. modules/02packages.details.txt.gz G/GA/GAAS/HTML-Parser-3.60.tar.gz 2 1 CPAN.pm HTML::Parser? CPANPLUS 3 CPAN authors/id/G/GA/GAAS/HTML-Parser-3.60.tar.gz The Perl Review
  10. 10. The Perl Review
  11. 11. HTML::Parser > 3.55 == :( The Perl Review
  12. 12. backpan.perl.org The Perl Review
  13. 13. backpan.perl.org :) :) :) :) :( :( The Perl Review
  14. 14. The Perl Review
  15. 15. The Perl Review
  16. 16. dpan The Perl Review
  17. 17. #!/usr/local/bin/perl # dpan use MyCPAN::App::DPAN; MyCPAN::App::DPAN->run( @ARGV ); The Perl Review
  18. 18. .yaml MyCPAN::Indexer .pm .txt The Perl Review
  19. 19. # Primary package [TAB] version [TAB] dist file [newline] Astro::GCN::Constants 1.1.1.1 A/AA/AALLAN/Astro-GCN-0.1.tar.gz Astro::GCN::Parse 1.1.1.1 A/AA/AALLAN/Astro-GCN-0.1.tar.gz Astro::GCN::Util 1.1.1.1 A/AA/AALLAN/Astro-GCN-0.1.tar.gz txt Astro::GCN::Util::SWIFT 1.1.1.1 A/AA/AALLAN/Astro-GCN-0.1.tar.gz The Perl Review
  20. 20. txt txt CPAN::PackageDetails txt 02packages.details.txt.gz txt The Perl Review
  21. 21. SVN svn export svn export -r REV svn:// Latest Legacy DPAN DPAN file:// file:// http:// CPAN CPAN CPAN CPAN client client client client The Perl Review
  22. 22. DPAN Update Cycle svn add SVN svn rm svn commit svn checkout Stale Fresh Local Local dpan Local DPAN DPAN DPAN minicpan rsync local Real Perl CPAN distros The Perl Review
  23. 23. References • MyCPAN::Indexer • MyCPAN::App::DPAN • BackPAN Archeology (http:// yapc.tv/2008/ye/brian-backpan/) • http://www.pair.com/comdog/ The Perl Review

×