[tpm] Separating modules with Dist::Zilla and Github?

Matthew Phillips mattp at cpan.org
Sat Aug 17 10:57:17 PDT 2013


I think what you're trying to do is probably a bad idea, although being in
one or two git repositories doesn't have much to do with it. Why would you
produce two separate dists from the same logical grouping of files? i.e.,
both dists would include the same tests etc? If that is the case you would
probably want Tools::Inflate::Tire in the same dist as Tools::Inflate. If
they are separate than I'd recommend just having two sub folders in one git
repo and two separate dist.ini's to produce each dist - no separate repo
required.

Cheers,
Matt

(Sorry for the double email Bobby, forgot to reply-all)


On Sat, Aug 17, 2013 at 1:25 PM, J. Bobby Lopez <jbl at jbldata.com> wrote:

> Lets say you have a project with a couple of modules:
>
>
> bin/
> lib/Tools/Inflate/
> lib/Tools/Inflate.pm
> lib/Tools/Inflate/Tire.pm
>
>
> Tools::Inflate::Tire depends on Tools::Inflate, but they are both in the
> same git repo.
>
> You're now interested in using Dist::Zilla to prepare the package, but we
> have two packages we'd like to build, Tools::Inflate, and
> Tools::Inflate::Tire.
>
> Would it be wise to separate the two modules into separate git repos?  Is
> that necessary?
>
> Would Dzil know how to prepare and deploy two separate modules from a
> single lib/ directory tree (therefore allowing me to keep both modules in
> the same git repo)?
>
>
> Thanks,
> -Bobby
>
>
> --
> J. Bobby Lopez
> http://www.jbldata.com/
>
> ______________________________**_________________
> toronto-pm mailing list
> toronto-pm at pm.org
> http://mail.pm.org/mailman/**listinfo/toronto-pm<http://mail.pm.org/mailman/listinfo/toronto-pm>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/toronto-pm/attachments/20130817/f664629a/attachment.html>


More information about the toronto-pm mailing list