Skip Menu |

This queue is for tickets about the Test-Chimps CPAN distribution.

Report information
The Basics
Id: 29283
Status: open
Priority: 0/
Queue: Test-Chimps

People
Owner: Nobody in particular
Requestors: gr [...] univie.ac.at
Cc: bobtfish [...] bobtfish.net
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Fwd: Test::Chimps 0.07 patch
Date: Mon, 10 Sep 2007 17:09:02 +0200
To: bug-test-chimps [...] rt.cpan.org
From: Marcel Grünauer <gr [...] univie.ac.at>
Hi, I've tried to install Test::Chimps 0.07 via the CPAN shell on Mac OS X 10.4 and it required Jifty::DBI, so it installed Jifty::DBI 0.43. This version seems to use a new way of declaring a schema, so I had to adapt Test::Chimps::Report and Test::Chimps::Server accordingly. Here is the patch (I hope I sent it in the right format). Thanks for the Test::Chimps family of modules! Regards, Marcel diff -ruN Test-Chimps-0.07.orig/lib/Test/Chimps/Report.pm Test- Chimps-0.07/lib/Test/Chimps/Report.pm --- Test-Chimps-0.07.orig/lib/Test/Chimps/Report.pm 2006-08-14 01:21:43.000000000 +0200 +++ Test-Chimps-0.07/lib/Test/Chimps/Report.pm 2007-09-10 13:22:43.000000000 +0200 @@ -62,27 +62,26 @@ =cut -use base qw/Jifty::DBI::Record/; - -package Test::Chimps::Report::Schema; use Jifty::DBI::Schema; +use Jifty::DBI::Record schema { + column report_html => type is 'text'; + column model_structure => type is 'blob', + filters are 'Jifty::DBI::Filter::Storable', 'Jifty::DBI::Filter::base64'; + column timestamp => type is 'timestamp', + filters are 'Jifty::DBI::Filter::DateTime'; + column total_ok => type is 'integer'; + column total_passed => type is 'integer'; + column total_nok => type is 'integer'; + column total_failed => type is 'integer'; + column total_percentage => type is 'integer'; + column total_ratio => type is 'integer'; + column total_seen => type is 'integer'; + column total_skipped => type is 'integer'; + column total_todo => type is 'integer'; + column total_unexpectedly_succeeded => type is 'integer'; +}; -column report_html => type is 'text'; -column model_structure => type is 'text', - filters are 'Jifty::DBI::Filter::Storable', 'Jifty::DBI::Filter::base64'; -column timestamp => type is 'timestamp', - filters are 'Jifty::DBI::Filter::DateTime'; -column total_ok => type is 'integer'; -column total_passed => type is 'integer'; -column total_nok => type is 'integer'; -column total_failed => type is 'integer'; -column total_percentage => type is 'integer'; -column total_ratio => type is 'integer'; -column total_seen => type is 'integer'; -column total_skipped => type is 'integer'; -column total_todo => type is 'integer'; -column total_unexpectedly_succeeded => type is 'integer'; =head1 AUTHOR diff -ruN Test-Chimps-0.07.orig/lib/Test/Chimps/Server.pm Test- Chimps-0.07/lib/Test/Chimps/Server.pm --- Test-Chimps-0.07.orig/lib/Test/Chimps/Server.pm 2006-08-14 01:21:43.000000000 +0200 +++ Test-Chimps-0.07/lib/Test/Chimps/Server.pm 2007-09-10 14:58:10.000000000 +0200 @@ -219,8 +219,14 @@ if (defined $self->variables_validation_spec) { foreach my $var (keys %{$self->variables_validation_spec}) { - package Test::Chimps::Report::Schema; - column($var, type(is('text'))); + eval " + package Test::Chimps::Report; + use Jifty::DBI::Schema; + use Jifty::DBI::Record schema { + column '$var' => type is 'text'; + }; + "; + die $@ if $@; } }
Subject: Re: [rt.cpan.org #29283] Fwd: Test::Chimps 0.07 patch
Date: Mon, 10 Sep 2007 16:40:33 -0400
To: bug-Test-Chimps [...] rt.cpan.org
From: Zev Benjamin <zev [...] strangersgate.com>
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Thanks for the patch :). I'll apply it and release a new version soon. Zev Marcel Grünauer via RT wrote: Show quoted text
> Mon Sep 10 11:09:34 2007: Request 29283 was acted upon. > Transaction: Ticket created by gr@univie.ac.at > Queue: Test-Chimps > Subject: Fwd: Test::Chimps 0.07 patch > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: gr@univie.ac.at > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=29283 > > > > Hi, > > I've tried to install Test::Chimps 0.07 via the CPAN shell on Mac OS > X 10.4 and it required > Jifty::DBI, so it installed Jifty::DBI 0.43. This version seems to > use a new way of declaring > a schema, so I had to adapt Test::Chimps::Report and > Test::Chimps::Server accordingly. > > Here is the patch (I hope I sent it in the right format). > > Thanks for the Test::Chimps family of modules! > > Regards, > > Marcel > > > > diff -ruN Test-Chimps-0.07.orig/lib/Test/Chimps/Report.pm Test- > Chimps-0.07/lib/Test/Chimps/Report.pm > --- Test-Chimps-0.07.orig/lib/Test/Chimps/Report.pm 2006-08-14 > 01:21:43.000000000 +0200 > +++ Test-Chimps-0.07/lib/Test/Chimps/Report.pm 2007-09-10 > 13:22:43.000000000 +0200 > @@ -62,27 +62,26 @@ > =cut > -use base qw/Jifty::DBI::Record/; > - > -package Test::Chimps::Report::Schema; > use Jifty::DBI::Schema; > +use Jifty::DBI::Record schema { > + column report_html => type is 'text'; > + column model_structure => type is 'blob', > + filters are 'Jifty::DBI::Filter::Storable', > 'Jifty::DBI::Filter::base64'; > + column timestamp => type is 'timestamp', > + filters are 'Jifty::DBI::Filter::DateTime'; > + column total_ok => type is 'integer'; > + column total_passed => type is 'integer'; > + column total_nok => type is 'integer'; > + column total_failed => type is 'integer'; > + column total_percentage => type is 'integer'; > + column total_ratio => type is 'integer'; > + column total_seen => type is 'integer'; > + column total_skipped => type is 'integer'; > + column total_todo => type is 'integer'; > + column total_unexpectedly_succeeded => type is 'integer'; > +}; > -column report_html => type is 'text'; > -column model_structure => type is 'text', > - filters are 'Jifty::DBI::Filter::Storable', > 'Jifty::DBI::Filter::base64'; > -column timestamp => type is 'timestamp', > - filters are 'Jifty::DBI::Filter::DateTime'; > -column total_ok => type is 'integer'; > -column total_passed => type is 'integer'; > -column total_nok => type is 'integer'; > -column total_failed => type is 'integer'; > -column total_percentage => type is 'integer'; > -column total_ratio => type is 'integer'; > -column total_seen => type is 'integer'; > -column total_skipped => type is 'integer'; > -column total_todo => type is 'integer'; > -column total_unexpectedly_succeeded => type is 'integer'; > =head1 AUTHOR > diff -ruN Test-Chimps-0.07.orig/lib/Test/Chimps/Server.pm Test- > Chimps-0.07/lib/Test/Chimps/Server.pm > --- Test-Chimps-0.07.orig/lib/Test/Chimps/Server.pm 2006-08-14 > 01:21:43.000000000 +0200 > +++ Test-Chimps-0.07/lib/Test/Chimps/Server.pm 2007-09-10 > 14:58:10.000000000 +0200 > @@ -219,8 +219,14 @@ > if (defined $self->variables_validation_spec) { > foreach my $var (keys %{$self->variables_validation_spec}) { > - package Test::Chimps::Report::Schema; > - column($var, type(is('text'))); > + eval " > + package Test::Chimps::Report; > + use Jifty::DBI::Schema; > + use Jifty::DBI::Record schema { > + column '$var' => type is 'text'; > + }; > + "; > + die $@ if $@; > } > } > > >
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG5avBlO3j8HLL0+4RAgh6AJ0QWvpJhRGJnz2kGgPTAKT29N0tgwCg90KI e9GgB5J3i7O+pOk66aiEz4c= =zCx5 -----END PGP SIGNATURE-----
Reminder - this is currently stopping anyone else from using Test::Chimps..
On Mon Sep 10 16:41:14 2007, zev@strangersgate.com wrote: Show quoted text
> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Thanks for the patch :). I'll apply it and release a new version soon. >
Any hope for a new release of Test::Chimps? If you point me to a public repository I can checkout and prepare patches for you. If you are using git even better. Thanks,
CC: undisclosed-recipients: ;
Subject: Re: [rt.cpan.org #29283] Fwd: Test::Chimps 0.07 patch
Date: Wed, 27 May 2009 10:02:54 -0400
To: "http://www.simplicidade.org/ via RT" <bug-Test-Chimps [...] rt.cpan.org>
From: jesse <jesse [...] fsck.com>
http://github.com/bestpractical/test-chimps/tree/master http://github.com/bestpractical/test-chimps-anna/tree/master http://github.com/bestpractical/test-chimps-client/tree/master And yes, we're doing new releases. On Wed, May 27, 2009 at 06:13:24AM -0400, http://www.simplicidade.org/ via RT wrote: Show quoted text
> Queue: Test-Chimps > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=29283 > > > On Mon Sep 10 16:41:14 2007, zev@strangersgate.com wrote:
> > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > Thanks for the patch :). I'll apply it and release a new version soon. > >
> > Any hope for a new release of Test::Chimps? > > If you point me to a public repository I can checkout and prepare patches for you. > > If you are using git even better. > > Thanks, > > >
--
Subject: Re: [rt.cpan.org #29283] Fwd: Test::Chimps 0.07 patch
Date: Wed, 27 May 2009 18:34:03 +0400
To: bug-Test-Chimps [...] rt.cpan.org
From: Ruslan Zakirov <ruslan.zakirov [...] gmail.com>
Uploaded Test-Chimps-0.07_01.tar.gz On Wed, May 27, 2009 at 6:03 PM, Jesse via RT <bug-Test-Chimps@rt.cpan.org> wrote: Show quoted text
>       Queue: Test-Chimps >  Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=29283 > > > > > http://github.com/bestpractical/test-chimps/tree/master > http://github.com/bestpractical/test-chimps-anna/tree/master > http://github.com/bestpractical/test-chimps-client/tree/master > > And yes, we're doing new releases. > > On Wed, May 27, 2009 at 06:13:24AM -0400, http://www.simplicidade.org/ via RT wrote:
>>        Queue: Test-Chimps >>  Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=29283 > >> >> On Mon Sep 10 16:41:14 2007, zev@strangersgate.com wrote:
>> > -----BEGIN PGP SIGNED MESSAGE----- >> > Hash: SHA1 >> > >> > Thanks for the patch :).  I'll apply it and release a new version soon. >> >
>> >> Any hope for a new release of Test::Chimps? >> >> If you point me to a public repository I can checkout and prepare patches for you. >> >> If you are using git even better. >> >> Thanks, >> >> >>
> > -- > >
-- Best regards, Ruslan.