Re: Parsing TAP and getting the failing line number

2007-10-05 Thread Andy Armstrong
On 5 Oct 2007, at 13:50, Mark Fowler wrote: I would like to press a key shortcut in my text editor and have it run the test I'm currently editing. If there are any failures, I'd like to be able to click on them and it go to the line that the failing test was on. Since my current editor is

Re: Searching CPAN repositories in a chain

2007-10-05 Thread Matisse Enzer
On Oct 5, 2007, at 10:45 AM, Sébastien Aperghis-Tramoni wrote: CPAN::Mini::Inject already allows you to do that. I use it at work since a few months. » http://search.cpan.org/dist/CPAN-Mini-Inject/ Excellent - somehow I overlooked that. Think of all the code that has been avoided by the

Re: Searching CPAN repositories in a chain

2007-10-05 Thread Sébastien Aperghis-Tramoni
[ including the list this time ] David Cantrell wrote: > Shlomi Fish wrote: > > > Yes, I also want secondary CPANPLUS repositories > > Any reason you can't use CPAN::Mini? > > >so people can set up their > > own in-house repositories for in-house code

Re: Searching CPAN repositories in a chain

2007-10-05 Thread Andy Lester
> > CPAN::Mini is designed to mirror a public CPAN, not to be part of a > > "search path", which is what I want. > > that's what urllist in the CPAN.pm config is for. On my laptop, where I want to always keep a mini-CPAN lying around, I have my CPAN shell look at file:///minicpan/ and just run

Re: Test::Harness::Straps is going away

2007-10-05 Thread Andy Lester
On Fri, Oct 05, 2007 at 11:22:57AM -0500, brian d foy ([EMAIL PROTECTED]) wrote: > Do you mean that Test::Harness 3.0 won't have it but it will still be > there in earlier releases, or that you're going to remove any trace of > it from CPAN so it looks like it never existed? We're not going to ret

Re: Searching CPAN repositories in a chain

2007-10-05 Thread brian d foy
In article <[EMAIL PROTECTED]>, Matisse Enzer <[EMAIL PROTECTED]> wrote: > CPAN::Mini is designed to mirror a public CPAN, not to be part of a > "search path", which is what I want. that's what urllist in the CPAN.pm config is for.

Re: Searching CPAN repositories in a chain

2007-10-05 Thread brian d foy
In article <[EMAIL PROTECTED]>, Matisse Enzer <[EMAIL PROTECTED]> wrote: > I'd like to be able to; > check mirror-list-number-one (probably all private, inside our > firewall) > check mirror-list-number-two This sounds like the normal behavior of CPAN.pm with a little CPAN::Mini::Inject

Re: Test::Harness::Straps is going away

2007-10-05 Thread brian d foy
In article <[EMAIL PROTECTED]>, Ovid <[EMAIL PROTECTED]> wrote: > Hi all, > > I'm sure that many of you are aware of this, but I wanted to remind you > that with the upcoming release of Test::Harness 3.0, > Test::Harness::Straps is going away. Do you mean that Test::Harness 3.0 won't have it bu

Re: Searching CPAN repositories in a chain

2007-10-05 Thread Matisse Enzer
On Oct 5, 2007, at 8:20 AM, David Cantrell wrote: Shlomi Fish wrote: Yes, I also want secondary CPANPLUS repositories Any reason you can't use CPAN::Mini? >so people can set up their own in-house repositories for in-house code We already do

Re: Searching CPAN repositories in a chain

2007-10-05 Thread David Cantrell
Shlomi Fish wrote: Yes, I also want secondary CPANPLUS repositories Any reason you can't use CPAN::Mini? >so people can set up their own in-house repositories for in-house code We already do that. It's a matter of having some Stuff that appends

Re: Parsing TAP and getting the failing line number

2007-10-05 Thread Andy Armstrong
On 5 Oct 2007, at 14:03, Ovid wrote: That's probably not the answer you wanted, but that's the direction we're heading. I've just uploaded Test::More::Diagnostic to CPAN. It'll be there in an hour or so. It adds *very* simple YAML diagnostics to TAP output - just file and line at the mome

Re: Parsing TAP and getting the failing line number

2007-10-05 Thread Andy Armstrong
On 5 Oct 2007, at 14:03, Ovid wrote: That's probably not the answer you wanted, but that's the direction we're heading. Can anyone guess who's the optimist and who's the pessimist? :) -- Andy Armstrong, Hexten

Re: Parsing TAP and getting the failing line number

2007-10-05 Thread Ovid
--- Mark Fowler <[EMAIL PROTECTED]> wrote: > I would like to press a key shortcut in my text editor and have it > run the test I'm currently editing. If there are any failures, I'd > like to be able to click on them and it go to the line that the > failing test was on. Since my current edi

Re: Parsing TAP and getting the failing line number

2007-10-05 Thread Andy Armstrong
On 5 Oct 2007, at 13:59, Andy Armstrong wrote: To get it working right now you'd need to roll a new version of Test::More that outputs the YAML diagnostics. If you had that I believe everything else is in place - it'd be a 10 liner to analyse the TAP and generate a report TextMate could grok

Re: Parsing TAP and getting the failing line number

2007-10-05 Thread Andy Armstrong
On 5 Oct 2007, at 13:50, Mark Fowler wrote: I would like to press a key shortcut in my text editor and have it run the test I'm currently editing. If there are any failures, I'd like to be able to click on them and it go to the line that the failing test was on. Since my current editor is

Parsing TAP and getting the failing line number

2007-10-05 Thread Mark Fowler
Hello list. I would like to press a key shortcut in my text editor and have it run the test I'm currently editing. If there are any failures, I'd like to be able to click on them and it go to the line that the failing test was on. Since my current editor is TextMate this involves creati

Re: Searching CPAN repositories in a chain

2007-10-05 Thread Shlomi Fish
Hi Matisse! First of all, don't start new threads by replying to existing messages. Write a new message to perl-qa@perl.org On Friday 05 October 2007, Matisse Enzer wrote: > I'd like to be able to; > check mirror-list-number-one (probably all private, inside our > firewall) > check mirro

Test::Harness::Straps is going away

2007-10-05 Thread Ovid
Hi all, I'm sure that many of you are aware of this, but I wanted to remind you that with the upcoming release of Test::Harness 3.0, Test::Harness::Straps is going away. Also posted (with workaround info) at: http://www.perlmonks.org/?node_id=642861 http://use.perl.org/~Ovid/journal/34614 C