jquelin/dist-zilla-plugin-git — Issue #19: Default repository location
Author: friedo
Created: 2011-10-31 02:37:52+00:00
State: open

Right now all the Git plugins initialize Git::Wrapper with a hardcoded '.' for the repository location. This doesn't work, however, if you have a project where one Git repo holds many separate distributions.

I was thinking of adding a 'repository' attribute to each one (Check, Commit, CommitBuild, etc.) which would default to '.', probably via a role, although I'm still a little unclear on how dzil passes config data to plugins. Would it be fairly straightforward to add a single dist.ini line that could set the repo location? If so, I'll be glad to write the feature and tests; just not sure where to start looking.