Re: cpan as generic installer? + Re: module for finding all git repos under a path

2013-09-19 Thread Leon Timmermans
On Thu, Sep 19, 2013 at 11:06 AM, Matthew Astley wrote: > Now I have another script to add to my grubby collection, which I cast > as a modulino. It should probably go in CPAN. Maybe I should fatpack > it into git-yacontrib? It languishes on a private branch. > I don't see why you would want

Re: cpan as generic installer? + Re: module for finding all git repos under a path

2013-09-19 Thread Olaf Alders
On 2013-09-19, at 5:06 AM, Matthew Astley wrote: > There are other tools for dealing with collections of repositories > http://joeyh.name/code/mr/ > https://metacpan.org/module/GitMeta > https://metacpan.org/module/DINOMITE/App-CmdDirs-1.02/bin/cmddirs > https://metacpan.org/module/Git::Bunch

Re: Conditional installation of XS (or graceful fallback)

2013-09-19 Thread Aldo Calpini
On 09/19/2013 08:20 AM, David Oswald wrote: That's too late, isn't it? If the user types, "cpan install List::BinarySearch", Makefile.PL doesn't get executed until after the target module is pulled in. Prereqs are specified in the distribution's META.* files. By the time Makefile.PL is run, th

Re: module for finding all git repos under a path

2013-09-19 Thread Matthew Astley
On Thu, Sep 19, 2013 at 10:52:31AM +0200, Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯 wrote: > Git::Repository::Find For me, this would mean a tool to run find(1) inside (part of) a Git repository... because I wrote such a thing on the bus this morning, https://github.com/mca-wtsi/git-yacontrib/blob/master/bin/git-find

cpan as generic installer? + Re: module for finding all git repos under a path

2013-09-19 Thread Matthew Astley
On Wed, Sep 18, 2013 at 11:13:34AM -0400, Michael Greb wrote: > I wrote a bit of code last night to find the path of all git repos > under a given directory (such as ~). I wrote one a while back, https://github.com/mca-wtsi/git-yacontrib/blob/master/bin/git-enumerate-repos it's not on CPAN bec

Re: Conditional installation of XS (or graceful fallback)

2013-09-19 Thread Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯
> That's too late, isn't it? No. Proof of concept: use 5.008000; use strict; use warnings FATAL => 'all'; use Module::Build; my $build = Module::Build->new( dist_author => 'David Oswald ', build_requires => { 'English' => '0', 'ExtUtils:

Re: module for finding all git repos under a path

2013-09-19 Thread Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯
Git::Repository::Find Avoid "locate", that's not the standard English word used in user interfaces for this intended action. The reason is that "locate" is ambiguous, it also means to put something into a place. signature.asc Description: PGP signature