Hi! Please consider following me on twitter: @hanekomu.
2009年09月14日
Easy metadata for CPAN modules
Earlier I wrote about how to enhance a CPAN distribution by including metadata about that distribution's place in its infrastructure — where to find its homepage, bug tracker and repository.
There are now Module::Install plugins on CPAN that make
this task easier. Tatsuhiko Miyagawa wrote Module::Install::Repository and I wrote Module::Install::Homepage and Module::Install::Bugtracker. So now your
Makefile.PL can simply include these lines:
auto_set_homepage; auto_set_bugtracker; auto_set_repository;
To set the repository link, your distribution's version control is examined. The distribution's homepage is set to its page on http://search.cpan.org, and the distribution's bugtracker is set to its RT queue on http://rt.cpan.org.
posted at: 10:13 | path: /dev | permalink | 0 comments | 0 trackbacks
Comments are closed for this story.
Trackbacks are closed for this story.