PrePAN

Sign in to PrePAN

Dist::Zilla::Plugin::PrePAN Set PrePAN URLs in your meta files

Good

Synopsis

In your dist.ini:

[PrePAN]
author = http://prepan.org/user/3Yz7PYrBzQ
module = http://prepan.org/module/429En4oFdi

Description

This is based on Module::Install::PrePAN We'd like to have PrePAN links on MetaCPAN and something like this would make it easier for authors using Dist::Zilla to automatically include links back to PrePAN for module discussion.

In your META.json, for example, you'd see something like this:

"resources" : {
  "X_prepan_author" : "http://prepan.org/user/3Yz7PYrBzQ",
  "X_prepan_module" : "http://prepan.org/module/429En4oFdi",
  "bugtracker" : {
     "web" : "http://github.com/oalders/HTTP-CookieMonster/issues"
  },
  "homepage" : "https://github.com/oalders/http-cookiemonster",
  "repository" : {
     "type" : "git",
     "url" : "https://github.com/oalders/http-cookiemonster.git",
     "web" : "https://github.com/oalders/http-cookiemonster"
  }
},

Comments

Looks good. I'll adjust the keys of MI::PrePAN to it.
I've done it https://metacpan.org/release/KENTARO/Module-Install-PrePAN-0.05
@kentaro Now we've got a couple of dists to test PrePAN links on MetaCPAN. :)
Hmm, wouldn't it be sweeter if prepan handled normal names somehow? I mean sth like prepan.org/user/byname/MEKK and prepan.org/module/byname/HTTP-CookieMonster ? And just a flag like prepan=1 in meta...
It would be nice if the URL weren't obfuscated, but I think there could be cases where the author may change the module name as a side-effect of the PrePAN discussion. In those cases, the URLs as they currently are ensure that the link to the discussion is always valid.

Please sign up to post a review.