Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Module-Starter CPAN distribution.

Report information
The Basics
Id: 14270
Status: rejected
Priority: 0/
Queue: Module-Starter

People
Owner: Nobody in particular
Requestors: RandyS [...] ThePierianSpring.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)

Attachments


Subject: Adding files to an existing distribution
After creating the initial distribution, I'd like to be able to say something like: module-starter --module-only Foo::Too and it would create the Foo/Too.pm file only with the proper boilerplate.
From: nmcfarl
I too would like this functionality. I would like it so much that I actually hacked it together. Another vote for this feature. Hopefully I'll be together enough to put a patch together , but my code as it stands is only a working hack - not something I'd release, so clean up will be required. Nathan
From: frag [...] ripco.com
[NMCFARL - Wed Nov 9 14:28:55 2005]: Show quoted text
> I too would like this functionality. I would like it so much that I > actually hacked it together. > Another vote for this feature. > > Hopefully I'll be together enough to put a patch together , but my > code as it stands is only a > working hack - not something I'd release, so clean up will be > required. >
Thirded. I'm willing to help with this, but I don't know if the preference is for a patch, or for a separate plugin that subclasses Module::Starter::Simple. -- Mike F.
From: Ruey-Cheng Chen
Hi, dudes. I've worked out a quick patch for the whole distro. After applying this patch to Module-Starter-1.42, you may add modules in the following ways: (Suppose you have an existing distro named 'Foo') module-starter --module=Foo::Bar,Foo::Bar::More --distro=Foo --append --OR-- module-starter --module=Foo::Bar,Foo::Bar::More --dir=Foo --append NOTE: This patch is supposed to be working with perl 5.8.6 and Module-Starter-1.42. I personally use Module::Starter::PBP and it works as usual.
Download Module-Starter-1.42-patch
application/octet-stream 10.3k

Message body not shown because it is not plain text.

From: Ruey-Cheng Chen
Sorry that the patch format was incorrect. Try this one on your extracted source $ patch -Np1 -d ~/src/Module-Starter-1.42 < ~/Module-Starter-1.42.patch

Message body is not shown because it is too large.

I'm letting this be handled by Dist::Zilla.