Out of the comments generated by a post by grink, I've learned that the location of the distribution's repository can be inserted in the META.yml. Neato!
And when grink asked if someone could come up with a Greasemonkey script to extract that information and show it on the distro's page... well, that's no simian fun I could let pass untackled. The resulting greasemonkey script can be found on userscripts.org.
Re:Installed, but...
grink on 2008-08-13T19:45:55
Yeah, from the other thread, here is one:
with Module::Install, add the following to your Makefile.PL:
resources repository => 'http://...';
with MakeMaker, add the following to WriteMakefile (thanks claes):
EXTRA_META => q{
resources:
repository: http://.../
},
Re:META.yml repository HOWTO
Yanick on 2008-08-14T00:24:31
...and with Module::Build, it's:
meta_merge => {
resources => {
repository => 'http://...',
}
}
Why stop the fun at the repository?
I've augmented the original script to display the bugtracker (if different than rt), homepage and mailinglist advertised in the META.yml as well. This version can be found at http://userscripts.org/scripts/show/31748.
Re:displaying bugtracker, homepage and mailinglist
grink on 2008-08-15T00:10:06
Cool stuff!
Would it be possible to key off something else other than "CPAN Testers"? That particular row doesn't show up unless tests have been run.
Admittedly, it's an edge case, but still...
Here's an example fix:
102c102
< /<tr>\s*<td.*?>CPAN Testers/i,
---
> /<tr>\s*<td.*?>Links/i,
Also, any thought to setting up a github for this script?Re:displaying bugtracker, homepage and mailinglist
Yanick on 2008-08-15T01:54:22
Would it be possible to key off something else other than "CPAN Testers"? That particular row doesn't show up unless tests have been run. Admittedly, it's an edge case, but still...
Good catch. I'll try to fix that as soon as I can. Thanks!
any thought to setting up a github for this script?
Ask, and... well, you know the drill by now.
;-) It's at http://github.com/yanick/greaseyanick/tree/master Re:displaying bugtracker, homepage and mailinglist
Yanick on 2008-08-26T00:02:58
Just to say that I finally got around moving the hook off 'Testers' and on a more trustworthy row. I've made the change to the new CPAN_Meta script, though, considering that it supersede the original CPAN_repository. Enjoy!
:-)