Initial refactoring to pull a collectionofprojects role out of ::Git::Repo.
authorTomas Doran <bobtfish@bobtfish.net>
Tue, 15 Dec 2009 21:14:16 +0000 (21:14 +0000)
committerTomas Doran <bobtfish@bobtfish.net>
Tue, 15 Dec 2009 21:14:16 +0000 (21:14 +0000)
commit6b3c0b76e8570b621f4eee9db6ffe12e8b395ac2
tree10c11d7afc3b04c0fa7683834f4c318b3cea22a8
parent77970abcc32451af2219571de859261a1eba83a2
Initial refactoring to pull a collectionofprojects role out of ::Git::Repo.

This now allows ::Git::CollectionOfProjects::FromList to be written which is
what Khisanth wants, and also means that the class whos name we hated
(Gitalist::Git::Repo) naturally gets renamed ::Git::CollectionOfProjects::FromDir
which sounds and feels much better to me. It also means that the config logic
for 'are we working with a dir or list of dirs' becomes the problem of
the Catalyst model code, which feels like a better place for that to be
to me.
lib/Gitalist/Git/CollectionOfProjects.pm [new file with mode: 0644]
lib/Gitalist/Git/Repo.pm