module-starter icon indicating copy to clipboard operation
module-starter copied to clipboard

Need an easy way to add a link to Git/Github

Open scottchiefbaker opened this issue 1 year ago • 2 comments

I wanted Metacpan to link to the Github repository which requires a change to Makefile.PL. I couldn't find anything in the documentation about how to add it, so I had to ask on IRC. This is not particularly novice friendly. Is there a less manual way to solve this problem?

I think a simple solution would be to add the sample git/repo links in Makefile.PL but comment the lines out?

Just so it's written down this is the commit where I solved the problem.

scottchiefbaker avatar Jan 22 '23 01:01 scottchiefbaker

It could be reasonable to generate a META_MERGE section in the default Makefile.PL

Grinnz avatar Jan 22 '23 04:01 Grinnz

Maybe we could trigger off the --git flag as well? That would certainly indicate the user's intention and we could pre-populate that section of the Makefile.

scottchiefbaker avatar Jan 22 '23 16:01 scottchiefbaker