From aaron.trevena at gmail.com Wed Dec 3 02:50:40 2008 From: aaron.trevena at gmail.com (Aaron Trevena) Date: Wed, 3 Dec 2008 10:50:40 +0000 Subject: [DCPM] autobundle gotchas? In-Reply-To: <491C9CB2.2080406@technocool.net> References: <4912EBAD.3080203@technocool.net> <491C9CB2.2080406@technocool.net> Message-ID: 2008/11/13 Simon Waters : > I probably should just turn all the modules into Debian packages, but > that requires me to learn stuff as well as working hard.... Did that at avbrief. There are several things that make it easier - cpan2dist and the cpan debian repo. Once we'd sorted out all our packages it actually made life a lot easier, of course setting it up and sorting everything out was not much fun. A. -- http://www.aarontrevena.co.uk LAMP System Integration, Development and Hosting From aaron.trevena at gmail.com Wed Dec 3 11:23:24 2008 From: aaron.trevena at gmail.com (Aaron Trevena) Date: Wed, 3 Dec 2008 19:23:24 +0000 Subject: [DCPM] So who from 'round these parts made it to LPW ? Message-ID: I saw mattb's name down on the list when I signed in, but didn't spot him. Also failed to say hello to virtualsue - btw have you subscribed yet sue ? A. -- http://www.aarontrevena.co.uk LAMP System Integration, Development and Hosting From matthewbrowning at gmail.com Wed Dec 3 14:22:06 2008 From: matthewbrowning at gmail.com (Matthew Browning) Date: Wed, 3 Dec 2008 22:22:06 +0000 Subject: [DCPM] So who from 'round these parts made it to LPW ? In-Reply-To: References: Message-ID: <2bfa7e30812031422id8f39e0q14548b97f5d0f64@mail.gmail.com> On Wed, Dec 3, 2008 at 7:23 PM, Aaron Trevena wrote: > I saw mattb's name down on the list when I signed in, but didn't spot him. > Regret I was 'otherwise engaged' at the last moment. It would have been good to see you, TeeJay! I'm still very much a Perl guy; likely to be in Lisbon next year. Many of my colleagues were there at the weekend. Let's catch up some time. MB From aaron.trevena at gmail.com Thu Dec 4 04:45:11 2008 From: aaron.trevena at gmail.com (Aaron Trevena) Date: Thu, 4 Dec 2008 12:45:11 +0000 Subject: [DCPM] So who from 'round these parts made it to LPW ? In-Reply-To: <2bfa7e30812031422id8f39e0q14548b97f5d0f64@mail.gmail.com> References: <2bfa7e30812031422id8f39e0q14548b97f5d0f64@mail.gmail.com> Message-ID: 2008/12/3 Matthew Browning : > On Wed, Dec 3, 2008 at 7:23 PM, Aaron Trevena wrote: >> I saw mattb's name down on the list when I signed in, but didn't spot him. >> > > Regret I was 'otherwise engaged' at the last moment. It would have > been good to see you, TeeJay! Yes. I failed to meet a bunch of people :( Still a good day though. > I'm still very much a Perl guy; likely to be in Lisbon next year. > Many of my colleagues were there at the weekend. > > Let's catch up some time. I was thinking we should have a local social soon. Can you make it down to Truro ? A. -- http://www.aarontrevena.co.uk LAMP System Integration, Development and Hosting From aaron.trevena at gmail.com Thu Dec 4 04:46:06 2008 From: aaron.trevena at gmail.com (Aaron Trevena) Date: Thu, 4 Dec 2008 12:46:06 +0000 Subject: [DCPM] social in Truro Message-ID: Hello all, Don't suppose any body fancies a perl social in Truro some evening soon ? Non perlers welcome :) A. -- http://www.aarontrevena.co.uk LAMP System Integration, Development and Hosting From steve at devon-it.co.uk Fri Dec 5 05:00:04 2008 From: steve at devon-it.co.uk (Steve Marvell) Date: Fri, 5 Dec 2008 13:00:04 +0000 Subject: [DCPM] social in Truro In-Reply-To: References: Message-ID: <20081205130004.GA29489@devon-it.co.uk> Aaron Trevena wrote: > Don't suppose any body fancies a perl social in Truro some evening soon ? > > Non perlers welcome :) 2 hour car journey and hance no beer. Therehad better be dancing girls! Steve From aaron.trevena at gmail.com Fri Dec 5 05:41:17 2008 From: aaron.trevena at gmail.com (Aaron Trevena) Date: Fri, 5 Dec 2008 13:41:17 +0000 Subject: [DCPM] social in Truro In-Reply-To: <20081205130004.GA29489@devon-it.co.uk> References: <20081205130004.GA29489@devon-it.co.uk> Message-ID: 2008/12/5 Steve Marvell : > Aaron Trevena wrote: > >> Don't suppose any body fancies a perl social in Truro some evening soon ? >> >> Non perlers welcome :) > > 2 hour car journey and hance no beer. Therehad better be dancing > girls! My wife trained in classical ballet, jazz and music at the Performing Arts school in herts for many years.. unfortunately she has no interest in meeting any more geeks :) A. -- http://www.aarontrevena.co.uk LAMP System Integration, Development and Hosting From simon at technocool.net Fri Dec 5 14:14:10 2008 From: simon at technocool.net (Simon Waters) Date: Fri, 05 Dec 2008 22:14:10 +0000 Subject: [DCPM] autobundle gotchas? In-Reply-To: References: <4912EBAD.3080203@technocool.net> <491C9CB2.2080406@technocool.net> Message-ID: <4939A7B2.60208@technocool.net> Aaron Trevena wrote: > 2008/11/13 Simon Waters : >> I probably should just turn all the modules into Debian packages, but >> that requires me to learn stuff as well as working hard.... > > Did that at avbrief. Hmm, I use to deal with some aviation stuff at the Met Office many moons ago. > There are several things that make it easier - cpan2dist and the cpan > debian repo. Looked at that briefly. I assume that the CPAN Debian Repo is dead, as it always reports the same date in January 2008 for all content. There is no shortage of tools for converting CPAN to Debs, it is more a case of fitting my head around what is appropriate to do, and exactly how painful it is, versus the benefits. > Once we'd sorted out all our packages it actually made life a lot > easier, of course setting it up and sorting everything out was not > much fun. Main pain is reproducing the correct config, but since we largely only have test and live, it isn't a huge win for us. Were you doing it for a large number of target servers, or just to get a sensibly reproducible build process? The CPAN Snapshot bundle approach is messy. From aaron.trevena at gmail.com Sun Dec 7 05:57:27 2008 From: aaron.trevena at gmail.com (Aaron Trevena) Date: Sun, 7 Dec 2008 13:57:27 +0000 Subject: [DCPM] Perl Mongers social in Truro : who can make Sunday Evening on the 13th December ? Message-ID: Hi LUG, and PM, Following the better than expected interest in a Social in Truro - can I have a show of hands on who could make sunday evening on the 13th of December. Any recomendations for a good pub ? I haven't gone out in Truro for too long.. and tend to go to cafe/bistro places rather than pubs and bars. Of course a cafe or bistro open sunday evening would be good too - most provide a fairly good selection of drinks, and at least they can provide munchies and decent coffee. Cheers, A. -- http://www.aarontrevena.co.uk LAMP System Integration, Development and Hosting From matthewbrowning at gmail.com Sun Dec 7 06:10:14 2008 From: matthewbrowning at gmail.com (Matthew Browning) Date: Sun, 7 Dec 2008 14:10:14 +0000 Subject: [DCPM] Perl Mongers social in Truro : who can make Sunday Evening on the 13th December ? In-Reply-To: References: Message-ID: <2bfa7e30812070610x359013f7p76efddc6e824e948@mail.gmail.com> Thirteenth is a Saturday, but I could make the fourteenth. MB On Sun, Dec 7, 2008 at 1:57 PM, Aaron Trevena wrote: > Hi LUG, and PM, > > Following the better than expected interest in a Social in Truro - can > I have a show of hands on who could make sunday evening on the 13th of > December. > > Any recomendations for a good pub ? I haven't gone out in Truro for > too long.. and tend to go to cafe/bistro places rather than pubs and > bars. > > Of course a cafe or bistro open sunday evening would be good too - > most provide a fairly good selection of drinks, and at least they can > provide munchies and decent coffee. > > Cheers, > > A. > > -- > http://www.aarontrevena.co.uk > LAMP System Integration, Development and Hosting > _______________________________________________ > Devoncornwall-pm mailing list > Devoncornwall-pm at pm.org > http://mail.pm.org/mailman/listinfo/devoncornwall-pm > From steve at devon-it.co.uk Sun Dec 7 06:21:45 2008 From: steve at devon-it.co.uk (Steve Marvell) Date: Sun, 7 Dec 2008 14:21:45 +0000 Subject: [DCPM] Perl Mongers social in Truro : who can make Sunday Evening on the 13th December ? In-Reply-To: References: Message-ID: <20081207142145.GA15856@devon-it.co.uk> Aaron Trevena wrote: > Following the better than expected interest in a Social in Truro - can > I have a show of hands on who could make sunday evening on the 13th of > December. No good for me, I'll catch you next time. Steve From aaron.trevena at gmail.com Wed Dec 10 12:25:06 2008 From: aaron.trevena at gmail.com (Aaron Trevena) Date: Wed, 10 Dec 2008 20:25:06 +0000 Subject: [DCPM] Perl Mongers / LUG social in Truro Sunday 14th December Message-ID: Hi All, Sorry for the short notice and lack of organisation.. Date : 14th December Time : 1930 ( ish I may be 10 mins late depending on when we get the toddler to bed) Location : Wig & Pen, Francis St, Truro http://www.beerintheevening.com/pubs/s/52/5206/Wig_and_Pen/Truro Cheers, A. -- http://www.aarontrevena.co.uk LAMP System Integration, Development and Hosting From aaron.trevena at gmail.com Sun Dec 14 00:40:58 2008 From: aaron.trevena at gmail.com (Aaron Trevena) Date: Sun, 14 Dec 2008 08:40:58 +0000 Subject: [DCPM] Probably won't be able to make Truro Perl social Message-ID: Hi All, Toddler is in hospital so I won't be coming tonight. Cheers, A. -- http://www.aarontrevena.co.uk LAMP System Integration, Development and Hosting From henry.bremridge at xobie.com Sun Dec 14 02:06:24 2008 From: henry.bremridge at xobie.com (Henry Bremridge) Date: Sun, 14 Dec 2008 10:06:24 +0000 Subject: [DCPM] Probably won't be able to make Truro Perl social In-Reply-To: References: Message-ID: <20081214100624.GV10696@newdebian.science> Who is coming this evening? (I assume otherwise event is postphoned) Hope toddler gets better soon -- Henry Photocopies or faxes of my signature are not binding. This email has been signed with an electronic signature in accordance with subsection 7(3) of the Electronic Communications Act 2000. Digital Key Signature: GPG RSA 0xFB447AA1 Sun Dec 14 10:06:12 GMT 2008 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 315 bytes Desc: Digital signature URL: From aaron.trevena at gmail.com Tue Dec 30 07:35:59 2008 From: aaron.trevena at gmail.com (Aaron Trevena) Date: Tue, 30 Dec 2008 15:35:59 +0000 Subject: [DCPM] New testing module Message-ID: Hi all, I've written a new testing module for a client, based on Test::HTML::Content but skipping the xpath code, and making it faster by re-using parse trees. That means you can do funky tests like .. text_ok($filename,'foo bar','found text : foo bar'); # check text found in file no_text($filename,'Concert','no text matching : Concert'); # check text found in file image_ok($filename,'/images/error.gif','matching image found image in HTML'); link_ok($filename,'/foo/bar.cgi?id=123','Found link in HTML'); For added coolness, it also provides some new functions so that you can test forms easily such as : form_field_value_ok($filename,'category_id', 10297, undef, 'category_id matches'); form_select_field_ok($filename,{ field_name => $field_name, selected => $field_value, form_name => $form_name}, $description); Once I've got permission from the client I'll package it up for CPAN. I was thinking of naming it Test::HTML A. -- http://www.aarontrevena.co.uk LAMP System Integration, Development and Hosting From matthewbrowning at gmail.com Tue Dec 30 09:57:41 2008 From: matthewbrowning at gmail.com (Matthew Browning) Date: Tue, 30 Dec 2008 17:57:41 +0000 Subject: [DCPM] New testing module In-Reply-To: References: Message-ID: <2bfa7e30812300957v25c5f6c7ja7ba9d644c5a8004@mail.gmail.com> On Tue, Dec 30, 2008 at 3:35 PM, Aaron Trevena wrote: > Hi all, > > I've written a new testing module for a client, based on > Test::HTML::Content but skipping the xpath code, and making it faster > by re-using parse trees. > Let's have a look then ;) MB > That means you can do funky tests like .. > > text_ok($filename,'foo bar','found text : foo bar'); # check text found in file > no_text($filename,'Concert','no text matching : Concert'); # check > text found in file > image_ok($filename,'/images/error.gif','matching image found image in HTML'); > link_ok($filename,'/foo/bar.cgi?id=123','Found link in HTML'); > > For added coolness, it also provides some new functions so that you > can test forms easily such as : > > form_field_value_ok($filename,'category_id', 10297, undef, > 'category_id matches'); > form_select_field_ok($filename,{ field_name => $field_name, selected > => $field_value, form_name => $form_name}, $description); > > Once I've got permission from the client I'll package it up for CPAN. > > I was thinking of naming it Test::HTML > > A. > > -- > http://www.aarontrevena.co.uk > LAMP System Integration, Development and Hosting > _______________________________________________ > Devoncornwall-pm mailing list > Devoncornwall-pm at pm.org > http://mail.pm.org/mailman/listinfo/devoncornwall-pm > From aaron.trevena at gmail.com Tue Dec 30 11:27:54 2008 From: aaron.trevena at gmail.com (Aaron Trevena) Date: Tue, 30 Dec 2008 19:27:54 +0000 Subject: [DCPM] New testing module In-Reply-To: <2bfa7e30812300957v25c5f6c7ja7ba9d644c5a8004@mail.gmail.com> References: <2bfa7e30812300957v25c5f6c7ja7ba9d644c5a8004@mail.gmail.com> Message-ID: 2008/12/30 Matthew Browning : > On Tue, Dec 30, 2008 at 3:35 PM, Aaron Trevena wrote: >> Hi all, >> >> I've written a new testing module for a client, based on >> Test::HTML::Content but skipping the xpath code, and making it faster >> by re-using parse trees. >> > > Let's have a look then ;) Waiting for the OK from slando - in the meantime you can have another snippet from the synopsis : form_select_field_ok($filename,{ field_name => $field_name, selected => $field_value, form_name => $form_name}, $description); Hopefully will have it on CPAN in the new year, once I've got the OK, repackaged it for CPAN, and added full radio/checkbox support. Currently, I'm finding adding a huge number of tests to the workflow code rather satisfying, and it's already caused me to find some duplicate fields that could cause bugs, before I even start on testing specific failures and edge cases. A. -- http://www.aarontrevena.co.uk LAMP System Integration, Development and Hosting