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

J. Bobby Lopez jbl at jbldata.com
Sat Aug 17 11:04:26 PDT 2013


I figured as much, thanks Matt.

I found some instructions on how to cleanly split a Git repo into two 
separate repositories: 
http://www.geekaholic.org/2010/02/splitting-git-repo.html

However in this particular case, I think I'd like to keep the two 
modules in the same Git repo (using separate directories, as you 
mentioned).  That should work well enough!

Bobby

On 13-08-17 01:57 PM, Matthew Phillips wrote:
> 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 
> <mailto: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 <mailto:toronto-pm at pm.org>
>     http://mail.pm.org/mailman/listinfo/toronto-pm
>
>


-- 
J. Bobby Lopez
http://www.jbldata.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/toronto-pm/attachments/20130817/73b97757/attachment.html>


More information about the toronto-pm mailing list