BinGOs's Journal http://use.perl.org/~BinGOs/journal/ BinGOs's use Perl Journal en-us use Perl; is Copyright 1998-2006, Chris Nandor. Stories, comments, journals, and other submissions posted on use Perl; are Copyright their respective owners. 2012-01-25T02:17:42+00:00 pudge pudge@perl.org Technology hourly 1 1970-01-01T00:00+00:00 BinGOs's Journal http://use.perl.org/images/topics/useperl.gif http://use.perl.org/~BinGOs/journal/ Late to the party, but I brought bottles http://use.perl.org/~BinGOs/journal/40397?from=rss <p>Published over at <a href="http://blogs.perl.org/users/bingos/2010/06/late-to-the-party-but-i-brought-bottles.html">blogs.perl.org</a> </p> BinGOs 2010-06-15T12:07:25+00:00 journal Smokebrew - It is like perlbrew but different http://use.perl.org/~BinGOs/journal/40386?from=rss <p>Published over at <a href="http://blogs.perl.org/users/bingos/2010/06/smokebrew---it-is-like-perlbrew-but-different.html">blogs.perl.org</a> </p> BinGOs 2010-06-08T14:50:38+00:00 journal New CPANPLUS::Dist::Build dev release http://use.perl.org/~BinGOs/journal/38437?from=rss <p>As mentioned in <a href="http://use.perl.org/~dagolden/journal/38432">Dave Golden's journal</a> I have hacked up a revised version of <a href="http://search.cpan.org/~bingos/CPANPLUS-Dist-Build-0.06_03/">CPANPLUS::Dist::Build</a> and uploaded to CPAN.</p><p>Happy, happy, joy, joy.</p> BinGOs 2009-02-09T22:15:58+00:00 journal CPANPLUS in a box http://use.perl.org/~BinGOs/journal/38247?from=rss <p>For a while now <a href="http://search.cpan.org/dist/CPANPLUS/">CPANPLUS</a> has shipped with a very cool feature called <b>cpanp-boxed</b> </p><p> <b>cpanp-boxed</b> will let an individual use CPANPLUS from it's distribution directory without having to install it or to use CPANPLUS to boot-strap install itself and it's dependencies.</p><p>I think this is rather groovey</p><blockquote><div><p> <tt>$ wget http://www.cpan.org/authors/id/K/KA/KANE/CPANPLUS-0.84.tar.gz<br> <br>$ tar zxf CPANPLUS-0.84.tar.gz &amp;&amp; rm CPANPLUS-0.84.tar.gz &amp;&amp; cd CPANPLUS-0.84/<br> <br>$ perl bin/cpanp-boxed<br> <br>CPANPLUS::Shell::Default -- CPAN exploration and module installation (v0.84)<br>*** Please report bugs to &lt;bug-cpanplus@rt.cpan.org&gt;.<br>*** Using CPANPLUS::Backend v0.84.&nbsp; ReadLine support disabled.<br> <br>*** Type 'p' now to show start up log<br> <br>Did you know...<br>&nbsp; &nbsp; Many operations take options, like '--verbose', '--force' or '--skiptest'<br>CPAN Terminal&gt; s conf cpantest 1; s conf email bingos@cpan.org<br> <br>CPAN Terminal&gt; i YAML::Tiny; i Test::Reporter; s selfupdate dependencies; i CPANPLUS</tt></p></div> </blockquote><p>And there you have it, cpanp-boxed will boot-strap install all it's dependencies and itself and submit CPAN Test reports as it goes along.</p><p>Of course, you can just use cpanp-boxed as is to install any module you want without having to install it.</p> BinGOs 2009-01-09T11:04:25+00:00 journal Announcement: CPANPLUS::YACSmoke 0.27_01 http://use.perl.org/~BinGOs/journal/38105?from=rss <p>There is a developer release of <a href="http://search.cpan.org/~bingos/CPANPLUS-YACSmoke-0.27_01/">CPANPLUS::YACSmoke</a> available on CPAN. If you are a CPAN Tester using <a href="http://search.cpan.org/dist/CPANPLUS/">CPANPLUS</a> to smoke test then can you give it a go.</p><p>It has been tested against both the current release <i>0.84</i> and current development release <i>0.85_04</i> of CPANPLUS without any problems</p><p>The big improvement in this release is to CPANPLUS::Dist::YACSmoke, the CPANPLUS distribution class that integrates CPAN testing services into CPANPLUS, which now will <i>trust</i> the build directory for a distribution if it has previously been prepared, built and tested successfully.</p><p>This feature gives a considerable boost to the speed of CPAN smoke testing and brings to CPANPLUS based smoke testing functionality that CPAN/CPAN::Reporter have had for a while now.</p><p>There is still an issue with fetching and extraction of distributions and a patch to resolve this issue has been <a href="https://rt.cpan.org/Public/Bug/Display.html?id=41760">upstreamed</a> to CPANPLUS.</p> BinGOs 2008-12-17T10:01:20+00:00 journal Playing with WWW::UsePerl::Journal http://use.perl.org/~BinGOs/journal/38052?from=rss <p>Playing with <a href="http://search.cpan.org/dist/WWW-UsePerl-Journal/">WWW::UsePerl::Journal</a> </p><p>If this works, then I'll start posting more regularly.</p> BinGOs 2008-12-09T12:52:31+00:00 journal The perl.org mail exchanger hates me http://use.perl.org/~BinGOs/journal/37667?from=rss <p>Subject pretty much says it all. My MX and the perl.org MX have had a falling out. Now all I get is this:</p><blockquote><div><p> <tt>[canker:~]$ telnet mx.develooper.com 25<br>Trying 63.251.223.176...<br>Connected to mx.develooper.com.<br>Escape character is '^]'.<br>451 Sorry, too many connections from &lt;censored&gt;, try again later<br>Connection closed by foreign host.<br>[canker:~]$</tt></p></div> </blockquote><p>Can't find anyone to fix it. Too tired to wait around for it to fix itself.</p><p>So the smokers have had their plugs pulled.</p> BinGOs 2008-10-14T22:30:17+00:00 journal The fizzy got bizzy: CPAN Testing Reconfiguration http://use.perl.org/~BinGOs/journal/37583?from=rss <p>So I finally got around to tearing down and rebuilding all the CPAN smokers that I have on my <a href="http://www.netbsd.org/">NetBSD</a> 3.1 box.</p><p>This is a smoker that pretty much runs unattended, getting new CPAN updates via <a href="http://search.cpan.org/uploads.rdf">RSS</a> </p><p>As it had been running a long while the perl installations had picked up cruft along the way. Module::Build based distributions had for example installed M::B via the Module::Build::Compat passthrough Makefile.PL. I also noticed that some pesky distribution has managed to install LWP in a similiar fashion. Not good.</p><p>It too me two days of work to build, install and configure 10 separate perls. So I wasn't looking forward to pesky CPAN authors adding cruft to my prestine smokers.</p><p>Then it hit me. Lets separate out the CPANPLUS configuration/build directories from the perl installation directories and then <i>chown</i> the perl installation directories to <i>root</i>. Oh, yes, that would work indeedy.</p><p>So I have.</p><blockquote><div><p> <tt>-bash-3.2$ ls -l rel<br>total 44<br>drwxr-xr-x&nbsp; 12 cpan&nbsp; users&nbsp; 512 Sep 30 16:30 conf<br>drwxr-xr-x&nbsp; &nbsp;5 root&nbsp; users&nbsp; 512 Sep 30 09:54 perl-5.10.0<br>drwxr-xr-x&nbsp; &nbsp;5 root&nbsp; users&nbsp; 512 Sep 30 09:54 perl-5.6.2<br>drwxr-xr-x&nbsp; &nbsp;5 root&nbsp; users&nbsp; 512 Sep 30 09:54 perl-5.8.1<br>drwxr-xr-x&nbsp; &nbsp;5 root&nbsp; users&nbsp; 512 Sep 30 09:54 perl-5.8.2<br>drwxr-xr-x&nbsp; &nbsp;5 root&nbsp; users&nbsp; 512 Sep 30 09:54 perl-5.8.3<br>drwxr-xr-x&nbsp; &nbsp;5 root&nbsp; users&nbsp; 512 Sep 30 09:54 perl-5.8.4<br>drwxr-xr-x&nbsp; &nbsp;5 root&nbsp; users&nbsp; 512 Sep 30 09:54 perl-5.8.5<br>drwxr-xr-x&nbsp; &nbsp;5 root&nbsp; users&nbsp; 512 Sep 30 09:54 perl-5.8.6<br>drwxr-xr-x&nbsp; &nbsp;5 root&nbsp; users&nbsp; 512 Sep 30 09:54 perl-5.8.7<br>drwxr-xr-x&nbsp; &nbsp;5 root&nbsp; users&nbsp; 512 Sep 30 09:54 perl-5.8.8<br>-bash-3.2$</tt></p></div> </blockquote><p>Other noteworthy stuff that I did during the rebuilds:</p><ul> <li>Module::Build 0.30 is installed in all the smokers now</li><li>CPANPLUS::Dist::Build is installed in all the smokers, this is the patched version from svn which includes a fix for capturing the output from <i>Build</i> and <i>Build test</i> phases</li><li>All toolchain modules such as ExtUtils::MakeMaker are fully up to date</li></ul><p>I am rolling these changes in <i>working practises</i> across all my smokers as they come up in the rotation</p> BinGOs 2008-10-01T15:49:19+00:00 journal I'm not sure who to blame, but I am not bloody happy http://use.perl.org/~BinGOs/journal/37507?from=rss <p>I run a few smokers that use the RSS recent uploads feed from <a href="http://search.cpan.org/uploads.rdf">search.cpan.org</a> </p><p>These have been happily running years without problems until a couple of days ago.</p><p>Now I am seeing:</p><p> <code> [search-cpan-recent] [!!] Failed to parse RSS XML: reference to invalid character number at line 580, column 58, byte 28109 at<nobr> <wbr></nobr>/Library/Perl/5.8.6/darwin-thread-multi-2level/XML/Parser.pm line 187 </code> </p><p>WTF.</p><p>So who is to blame.</p><p>I start trailing backwards through the twisted dependencies to how I got here.</p><p>So, I'm using <a href="http://search.cpan.org/dist/POE-Component-RSSAggregator/">POE::Component::RSSAggregator</a>, which is using <a href="http://search.cpan.org/dist/XML-RSS-Feed/">XML::RSS::Feed</a>, which is using <a href="http://search.cpan.org/dist/XML-RSS/">XML::RSS</a>, which is using <a href="http://search.cpan.org/dist/XML-Parser/">XML::Parser</a>. Nothing obviously wrong anywhere there.</p><p>Okay, let's look at the actual RDF file.</p><p>Aha. On the line 580 of that we have a <i>&#x1;</i> character. Which leads me to <a href="http://search.cpan.org/~cfaerber/Unicode-Stringprep-1.00_20080919/">here</a>.</p><p>So now I am bashing my head of the keyboard, cursing.</p><p>Pesky edge cases.</p><p> <b>Update:</b> I reported the problem and Graham has swiftly resolved the issue. Many thanks, Graham.</p> BinGOs 2008-09-22T12:02:04+00:00 journal I am changing email address http://use.perl.org/~BinGOs/journal/37425?from=rss <p>Well, I'm changing the email address that CPAN test reports will be coming from.</p><p>It is currently the same as what appears on <a href="http://search.cpan.org/~bingos/">CPAN</a>, but what with <a href="http://use.perl.org/~barbie/journal/37411">the changes to CPAN Testers</a> and the fact that the <a href="http://www.nntp.perl.org/group/perl.cpan.testers/">web-based mailing list</a> strips the email address down to just <i>chris</i>, I thought it was about time to switch to my CPAN address, <i>bingos@cpan.org</i>, which gets shortened to <i>bingos</i> and hey there is a dude on CPAN and IRC with that id.</p> BinGOs 2008-09-12T14:28:15+00:00 journal Rumbles from the Machinery of FAIL http://use.perl.org/~BinGOs/journal/37389?from=rss <p>First off a developer release of POE::Component::SmokeBox should be hitting CPAN mirrors.</p><p>POE::Component::SmokeBox is a unified POE based CPAN smoke testing framework. It will eventually replace <a href="http://search.cpan.org/dist/POE-Component-CPANPLUS-YACSmoke/">POE::Component::CPANPLUS::YACSmoke</a>, <a href="http://search.cpan.org/dist/POE-Component-CPAN-YACSmoke/">POE::Component::CPAN::YACSmoke</a> and <a href="http://search.cpan.org/dist/POE-Component-CPAN-Reporter/">POE::Component::CPAN::Reporter</a>.</p><p>Production smoker-wise, work is ongoing to update configurations to use the latest <a href="http://search.cpan.org/dist/CPANPLUS-YACSmoke/">CPANPLUS::YACSmoke</a> and <a href="http://search.cpan.org/dist/Test-Reporter/">Test::Reporter</a>. The long running smokers on Darwin and NetBSD 3.1 have already been updated, the Vmware based smokers are being updated as boxen come up in the rotation.</p><p>As mentioned during my talk at YAPC::EU in Copenhagen, I'm still working on code to perform auto-rolling of smoker configurations. I have worked through some proof-of-concept scripts that seem to do the job, but the end goal ( in my mind ) is to get this auto-rolling working with what will eventually become <i>smokebox</i> so that the whole process setting up the smoker and actually smoking CPAN modules can be fully automatic.</p><p>Some of the stages the auto-rolling will deal with are (assuming a CPANPLUS based smoker):</p><ul> <li>Take a number of parameters: <ul> <li>perl version (5.6.2, 5.8.8, etc.)</li><li>path to install the perl (prefix)</li><li>working directory (build)</li><li>cpan mirror url (url)</li><li>perl configure options (options) [arrayref]</li><li>email address (email)</li><li>mail exchanger (mx)</li></ul></li><li>Build and install specified perl: <ul> <li>get source (fetch from url, rsync etc.)</li><li>extract (if applicable)</li><li>run <i>Configure</i> with options</li><li>run <i>make</i> </li><li>run <i>make test</i> </li><li>run <i>make install</i> </li></ul></li><li>If CPANPLUS isn't already installed (ie. perl is less than 5.9.5): <ul> <li>Fetch CPANPLUS distribution</li><li>Extract</li><li>Run Makefile.PL with new perl executable</li><li>Run <i>bin/cpanp-boxed -s selfupdate dependencies</i> with the new perl</li></ul></li><li>Setup CPANPLUS for smoke testing: <ul> <li>Configure: <ul> <li>o conf verbose 1</li><li>o conf email $email</li><li>o conf cpantest 1</li><li>o conf cpantest_mx $mx</li><li>o conf buildflags uninst=1</li><li>o conf makeflags UNINST=1</li></ul></li><li>Install modules for testing: <ul> <li>YAML::Tiny</li><li>Test::Reporter</li><li>CPANPLUS::YACSmoke</li></ul></li></ul></li> <li>Done &gt;:)</li></ul><p>The trick now is to wrap up all this into a module.</p> BinGOs 2008-09-08T14:46:32+00:00 journal Various YAPC Things http://use.perl.org/~BinGOs/journal/37188?from=rss <p>Enjoying myself at YAPC::EU in the lovely city of Copenhagen</p><p>Gave my first proper <a href="http://www.yapceurope2008.org/ye2008/talk/1359">YAPC talk</a> about CPAN Testing, the slides for which are <a href="http://www.kidney-bingos.demon.co.uk/CPAN_Testing/">here</a> </p><p>I've uploaded a few pictures I've taken to <a href="http://picasaweb.google.co.uk/bingosnet/YAPCEU2008">my Picasa album</a> </p><p>Must sleep</p> BinGOs 2008-08-14T23:26:05+00:00 journal CPAN Testers BOF at YAPC::EU 2008 http://use.perl.org/~BinGOs/journal/37080?from=rss <p>YAPCs are always a good opportunity to meet other perl users. As the organisers of this year's <a href="http://www.yapceurope2008.org/ye2008/">YAPC::EU</a> in Copenhagen have been good enough to allow me to <a href="http://www.yapceurope2008.org/ye2008/talk/1359">do a talk</a> on CPAN Testing, <a href="http://use.perl.org/~barbie/">Barbie</a> and myself will be arranging a CPAN Testers Birds of Feather (BOF) session.</p><p>Barbie's original announcement:</p><p><div class="quote"><p>This BOF is for anyone who is or wants to be a CPAN Tester. A chance to air any thoughts for improving CPAN testing and highlight any common pitfalls experienced by current testers. Also a chance for testers and authors to meet face to face, if they haven't already done so. Any contributions to improve the http://cpantest.grango.org/ are also welcome. I would also like to take this opportunity to get group photo of all the CPAN Testers attending. Last year we had http://perl.grango.org/images/dscf9239.jpg, so please come along and get your face on the front page of the http://perl.grango.org/ site<nobr> <wbr></nobr>:)</p></div><p>This will very likely be at the end of the first day of the conference, ie. the Wednesday.</p><p>If you are attending YAPC::EU and are interested in CPAN Testing, please add your name to the <a href="http://www.yapceurope2008.org/ye2008/wiki?node=CPANTestersBOF">wiki page</a> </p> BinGOs 2008-08-01T15:34:03+00:00 journal Environment variables that CPAN Testers use http://use.perl.org/~BinGOs/journal/37030?from=rss <p>Maybe not a definitive list, but this is what I have gleamed:</p><ul> <li> <b>AUTOMATED_TESTING</b> - Set by an automated CPAN Tester to indicate, erm, that we are running automated tests.</li><li> <b>PERL_MM_USE_DEFAULT</b> - Set so that we take the defaults to prompts in Makefile.PL and Build.PL</li><li> <b>PERL5_CPAN_IS_RUNNING</b> - CPAN.pm appears to set this to process ID of the CPAN process.</li><li> <b>PERL5_CPANPLUS_IS_RUNNING</b> - CPANPLUS sets this to the process ID of the CPANPLUS process, note also check <b>PERL5_CPAN_IS_RUNNING</b>, as CPAN also sets this variable</li><li> <b>PERL5_CPANPLUS_IS_VERSION</b> - Set by CPANPLUS to indicate the version that is running</li><li> <b>PERL5_CPANPLUS_VERBOSE</b> - Set by CPANPLUS to indicate whether it is generating verbose output</li></ul><p>Kindly pointed out by <a href="http://use.perl.org/~dagolden/">Dave Golden</a>:</p><ul> <li> <b>PERL5OPT</b> - used by CPAN::Reporter to load Devel::Autoflush to force output from PL and test files that don't set autoflush themselves. (This has been a headache and is still in active development to find a workable solution.)</li><li> <b>PERL5LIB</b> - may or may not be set, depending on the test setup</li><li> <b>PERL_CPAN_REPORTER_DIR</b> - if set, this directory is used in place of the default<nobr> <wbr></nobr>.cpanreporter directory; this will affect not only the location of the default config.ini, but also the location of the CPAN::Reporter::History database and any other files that live in that directory</li><li> <b>PERL_CPAN_REPORTER_CONFIG</b> - if set, this file is used in place of the default config.ini file; it may be in any directory, regardless of the choice of configuration directory</li></ul><p>Added by <a href="http://use.perl.org/~kane/">Jos Boumans</a>:</p><ul> <li> <b>PERL5_CPANPLUS_IS_EXECUTING</b> -- set by CPANPLUS to the full path of either Build.PL or Makefile.PL while it's executing this file. This helps Module::Install understand that it is running under CPANPLUS and can delegate prereqs up to the parent process</li></ul><p>Added by <a href="http://use.perl.org/~janus/">Simon Bertrang</a>:</p><ul> <li> <b>TEST_POD</b> - enables testing of documentation</li><li> <b>TEST_AUTHOR</b> - in a few cases this enables testing in general</li><li> <b>PERL_TEST_POD</b> - another name to enable documentation tests</li><li> <b>PERL_TEST_CRITIC</b> - used to enable critic testing</li><li> <b>AUTHOR_TESTING</b> - a few authors hide tests with this, mostly documentation tests</li></ul> BinGOs 2008-07-28T14:49:10+00:00 journal I've seen a dragonfly http://use.perl.org/~BinGOs/journal/37024?from=rss <p>Set up a new smokebox this weekend, <a href="http://www.dragonflybsd.org/index.shtml">Dragonfly BSD 2.0</a>.</p><p>Tidy.</p> BinGOs 2008-07-27T21:44:55+00:00 journal There is a new CPAN Smoke Tester in town http://use.perl.org/~BinGOs/journal/36949?from=rss <p>I uploaded <a href="http://search.cpan.org/dist/CPANPLUS-YACSmoke/">CPANPLUS::YACSmoke</a> recently, along with <a href="http://search.cpan.org/dist/POE-Component-CPANPLUS-YACSmoke/">POE::Component::CPANPLUS::YACSmoke</a>, to CPAN.</p><p>So what is the fuss and how is it so different from <a href="http://search.cpan.org/dist/CPAN-YACSmoke/">CPAN::YACSmoke</a> ?</p><p>Well, it is a port/reimplementation of CPAN::YACSmoke to use a <a href="http://search.cpan.org/perldoc?CPANPLUS::Dist">CPANPLUS::Dist</a> distribution class called CPANPLUS::Dist::YACSmoke. This backend deals with all the stuff that CPAN::YACSmoke used to deal with, such as munging test reports, deciding whether to send reports if we have sent them already, etc, etc.</p><p>And it also handles checking whether we have reported a PASS grade already for a <i>prereq</i> and if so it skips running the test-suite for that <i>prereq</i> again.</p><p>This functionality has been in <a href="http://search.cpan.org/perldoc?CPAN">CPAN.pm</a> for a little while, and I felt it should be easy to implement with CPANPLUS.</p><p>That said, I did have lots of advice and patience from Jos Boumans to assist me. Cheers!</p><p>Seems good in initial testing. I'm starting to migrate my smokers over to using it and so far the speed of smoke testing has increased considerably.</p><p>Hurrah.</p> BinGOs 2008-07-18T10:58:54+00:00 journal Nine month project, bears fruit http://use.perl.org/~BinGOs/journal/36827?from=rss <p> <a href="http://gumbynet.org.uk/images/niamh/">Niamh Olivia Williams</a> was born on the 25th June, 4 days ahead of schedule. &gt;:)</p><p>Sleep is a distant memory.</p><p>Also, <a href="http://xkcd.com/441/">this</a> made me choke myself laughing.</p> BinGOs 2008-07-01T06:47:58+00:00 journal POE-1.0 Released http://use.perl.org/~BinGOs/journal/36018?from=rss <p>Rocco Caputo has <a href="http://www.nntp.perl.org/group/perl.poe/2008/03/msg4193.html">announced </a>that <a href="http://search.cpan.org/dist/POE/">POE</a> 1.0 is out.</p><p>And it isn't an April Fools</p> BinGOs 2008-04-01T07:30:29+00:00 journal No more email delivery of cpan-testers http://use.perl.org/~BinGOs/journal/35631?from=rss <p> <a href="http://use.perl.org/~drhyde">DrHyde</a> pointed out on #cpantesters-discuss channel that there has been <a href="http://log.perl.org/2008/02/no-more-email-d.html">an announcement</a> by Robert Spiers regarding the <a href="http://www.nntp.perl.org/group/perl.cpan.testers/">cpan-testers mailing list</a>.</p><p>For those who receive their recent uploads notifications via email, this may be a PITA.</p><p>Some alternative mechanisms already exist:</p><ul> <li> <a href="http://search.cpan.org/dist/POE-Component-SmokeBox-Uploads-RSS/">POE::Component::SmokeBox::Uploads::RSS</a> </li><li> <a href="http://search.cpan.org/dist/POE-Component-SmokeBox-Uploads-NNTP/">POE::Component::SmokeBox::Uploads::NNTP</a> </li><li> <a href="http://search.cpan.org/dist/POE-Component-WWW-PAUSE-RecentUploads/">POE::Component::WWW::PAUSE::RecentUploads</a> </li><li> <a href="http://search.cpan.org/dist/POE-Component-WWW-PAUSE-RecentUploads-Tail/">POE::Component::WWW::PAUSE::RecentUploads::Tail</a> </li><li> <a href="http://search.cpan.org/dist/WWW-PAUSE-RecentUploads/">WWW::PAUSE::RecentUploads</a> </li></ul><p>Those are the ones I can think of off the top of my head.</p> BinGOs 2008-02-11T19:14:49+00:00 journal One Millionth CPAN Test Report http://use.perl.org/~BinGOs/journal/35550?from=rss <p>Earlier this week, <a href="http://use.perl.org/~drhyde">Dave Cantrell</a> sent the <a href="http://www.nntp.perl.org/group/perl.cpan.testers/2008/01/msg1000000.html">one millionth CPAN Test Report</a>.</p> BinGOs 2008-02-01T07:24:42+00:00 journal Dearest, darling, CPAN author...... http://use.perl.org/~BinGOs/journal/35331?from=rss <p>I need to get some things off my chest that I have observed during CPAN smoke testing:</p><p> <b>WHY OH WHY?!</b> do you insist on writing your own prompting mechanisms in your Makefile.PL? ExtUtils::MakeMaker, Module::Install and even Module::Build have a <i>prompt</i> function/method. Please use it. Either that or check whether <b>AUTOMATED_TESTING</b> and/or <b>PERL_MM_USE_DEFAULT</b> environment variables are set and provide default values accordingly. </p><p>Does everyone who tests or installs your module really, really have to install Test::Pod and Test::Pod::Coverage just to run your testsuite? Does anyone else, but you really care? Please learn to skip.</p><p>And finally, please, please, please don't try and install modules from your Makefile.PL using the CPAN API. I don't test using CPAN and I don't want your favourite module installed in my smoke testing perl, thank you very much. Oh and you are assuming that I have configured CPAN in the first place. Wrong. Wrong. Wrong.</p><p>Love BinGOs</p> BinGOs 2008-01-08T16:22:12+00:00 journal Warning: CPAN smoking can damage your health http://use.perl.org/~BinGOs/journal/34948?from=rss <p>Or rather smoking certain CPAN modules can damage your perl</p><p>Andreas K&#246;nig spotted it <a href="http://rt.cpan.org/Public/Bug/Display.html?id=30404">first</a>, but I have had two smokers destroyed in the past two days by smoke testing <a href="http://search.cpan.org/dist/Perl-Dist/">Perl::Dist</a>.</p><p>If you are using a CPANPLUS/CPAN::YACSmoke smoker I would advise excluding 'Perl-Dist' for the moment using a <i>cpansmoke.ini</i> file:</p><blockquote><div><p> <tt>[CONFIG]<br>exclude_dists=&lt;&lt;HERE<br>^Perl-Dist<br>HERE</tt></p></div> </blockquote><p>Thank you for your attention.</p> BinGOs 2007-11-21T13:38:13+00:00 journal CPANPLUS and blead perl: revised http://use.perl.org/~BinGOs/journal/34890?from=rss <p>Recent <a href="http://search.cpan.org/src/KANE/CPANPLUS-0.83_08/ChangeLog">changes</a> to <a href="http://search.cpan.org/dist/CPANPLUS/">CPANPLUS</a> and the dependencies that it now has for test reporting mean that I thought it was a good time to revisit my previous <a href="http://use.perl.org/~BinGOs/journal/33270">journal</a> regarding smoke testing with blead.</p><p> <a href="http://search.cpan.org/~kane/">Jos Boumans</a> kindly made some changes to CPANPLUS::Internals::Report that I had suggested:</p><blockquote><div><p> <tt>Changes for 0.83_02&nbsp; &nbsp; &nbsp;Tue Oct&nbsp; 9 13:46:48 2007<br>================================================<br>&lt;snip&gt;<br>* Address #29430: Remove LWP as a dependency for CPANPLUS::Internals::Report<br>&nbsp; it now uses File::Fetch, like the rest of CPANPLUS. Thanks to BinGOs for<br>&nbsp; reporting<br>* Apply patch #29218: Patch to use YAML::Tiny instead of YAML for<br>&nbsp; test reporting<br>&lt;/snip&gt;</tt></p></div> </blockquote><p>I have made a number of alterations to CPAN::YACSmoke to remove its dependencies on LWP and URI and that is available from <a href="http://gumbynet.org.uk/smoke/blead/CPAN-YACSmoke-0.03_07.tar.gz">here</a> </p><p>Revised blead smoking:</p><p>First off install <a href="http://search.cpan.org/dist/POE-Component-CPAN-YACSmoke/">POE::Component::CPAN::YACSmoke</a> in your <i>system</i> perl using either cpan or cpanp. It is advised that <a href="http://search.cpan.org/dist/Proc-ProcessTable/">Proc::ProcessTable</a> is installed when prompted. This will install the <i>minismoker</i> script which we will use later on.</p><p>Okay. Let's install blead perl.</p><p>I usually install my testing perl in the home directory of a non-privileged user account.</p><blockquote><div><p> <tt>$ mkdir -p blead/bin<br>$ mkdir -p build/bleadperl<br>$ cd build/bleadperl<br>$ rsync -avz --delete rsync://ftp.linux.activestate.com/perl-current/<nobr> <wbr></nobr>.</tt></p></div> </blockquote><p>This will pull blead perl source down to the current directory. Then run<nobr> <wbr></nobr><i>./Configure</i>. Take the defaults ( or change to taste, such as enabling threading, etc. ), except when prompted for the installation prefix.</p><blockquote><div><p> <tt>$<nobr> <wbr></nobr>./Configure<br>Installation prefix to use? (~name ok) [/usr/local]<nobr> <wbr></nobr>/home/chris/blead</tt></p></div> </blockquote><p>Then compile, run the testsuite and install</p><blockquote><div><p> <tt>$ make &amp;&amp; make test &amp;&amp; make install</tt></p></div> </blockquote><p>Assuming everything went okay we should have blead perl installed under<nobr> <wbr></nobr><i>/home/chris/blead</i> </p><blockquote><div><p> <tt>$ cd<br>$ export APPDATA=/home/chris/blead/</tt></p></div> </blockquote><p>Setting <i>APPDATA</i> forces CPANPLUS to locate its<nobr> <wbr></nobr>.cpanplus directory under<nobr> <wbr></nobr>/home/chris/blead/. Now let's configure <i>cpan</i> ( only answers different to the defaults are shown ):</p><blockquote><div><p> <tt>$<nobr> <wbr></nobr>/home/chris/blead/bin/cpan<br>Would you like me to configure as much as possible automatically? [yes] no<br>CPAN build and cache directory? [/home/chris/.cpan]<nobr> <wbr></nobr>/home/chris/blead/.cpan<br>Policy on building prerequisites (follow, ask or ignore)? [ask] follow<br>Parameters for the 'make install' command?<br>Your choice:&nbsp; [] UNINST=1<br>Parameters for the './Build install' command?<br>Your choice:&nbsp; [] --uninst 1</tt></p></div> </blockquote><p>Okay, cpan is configured. Let's install a few required modules:</p><blockquote><div><p> <tt>cpan&gt; install YAML::Tiny<br>cpan&gt; install Test::Reporter<br>cpan&gt; quit</tt></p></div> </blockquote><p>Okay, we are finished with cpan. Let's configure cpanp ( again only changes to the defaults are shown ):</p><blockquote><div><p> <tt>$<nobr> <wbr></nobr>/home/chris/blead/bin/cpanp<br>CPAN Terminal&gt; s reconfigure<br>Section to configure: [1]: 1<br>Type of configuration file [1]: 1<br>Section to configure: [1]: 2<br>Where can I find your 'sudo' utility? (Enter a single space to disable) [Path to your 'sudo'] &lt;space&gt;<br>Section to configure: [1]: 3<br>Section to configure: [1]: 4<br>Which email address shall I use? [1]: 3<br>Email address: myemail@domain.com<br>Section to configure: [1]: 5<br>Should I be verbose? [y/N]: y<br>Follow prerequisites? [3]: 2<br>Report test results? [y/N]: y<br>Shall I check module signatures? [Y/n]: n<br>Section to configure: [1]: 6<br>make flags? UNINST=1<br>Build.PL and Build flags? uninst=1<br>Section to configure: 9<br>CPAN Terminal&gt; quit</tt></p></div> </blockquote><p>If you need to configure cpanp to send test reports through a particular mail relay open up an editor and edit the file:<nobr> <wbr></nobr>/home/chris/blead/.cpanplus/lib/CPANPLUS/Config/User.pm</p><p>Alter the line <i>$conf-&gt;set_conf( cpantest_mx =&gt; '' );</i> to specify the dns name or IP address of a suitable relay. Save the file.</p><p>Right, back into cpanp and we'll install CPAN::YACSmoke. The current development release of CPAN::YACSmoke won't use our hacked<nobr> <wbr></nobr>.cpanplus directory so we have to install a hacked version. Also Regexp::Assemble prior to 0.29 fails it's tests on blead, so make sure that you use version 0.29 or greater. ( Thanks to <a href="http://use.perl.org/~grinder/">grinder</a> for fixing that.</p><blockquote><div><p> <tt>$<nobr> <wbr></nobr>/home/chris/blead/bin/cpanp<br>CPAN Terminal&gt; i http://gumbynet.org.uk/smoke/blead/CPAN-YACSmoke-0.03_07.tar.gz<br>CPAN Terminal&gt; quit</tt></p></div> </blockquote><p> That's it. We're ready to smoke.</p><blockquote><div><p> <tt>$ cd<br>$ mkdir tmp &amp;&amp; cd tmp<br>$ minismoker --debug --perl<nobr> <wbr></nobr>/home/chris/blead/bin/perl</tt></p></div> </blockquote><p>And we are smoking!</p> BinGOs 2007-11-13T09:22:35+00:00 journal So it had to happen eventually http://use.perl.org/~BinGOs/journal/34811?from=rss <p>Yes, I have finally succumb and installed <a href="http://www.debian.org/">Debian</a> after resisting the urge for 10 years.</p><p>My dependable <a href="http://h18000.www1.hp.com/products/quickspecs/10398_na/10398_na.html">Compaq AlphaServer DS-10</a> decided to blow its disk drive. I have been running <a href="http://www.gentoo.org/">Gentoo</a> on it up until that point. But after cobbling together a decidedly "<a href="http://en.wikipedia.org/wiki/Heath_Robinson">Heath Robinson</a>" disk array together, Gentoo refused to play ball.</p><p>So Debian to the rescue and the alpha is back up and running and busy smoking CPAN uploads.</p><p>Hurrah!</p> BinGOs 2007-11-01T16:20:15+00:00 journal CPAN Testers Discussion IRC Channel http://use.perl.org/~BinGOs/journal/34375?from=rss <p>So, I had already created a channel on IRC for reporting CPAN Testers reports as they happened, but it has become a little hard to have a conversation in there with all the smoke reports</p><p>So <a href="http://use.perl.org/~drhyde">DrHyde</a> suggested a discussion channel</p><p>Both channels are on <b> <i>irc.perl.org</i> </b> and are called:</p><ul> <li>#cpantesters</li><li>#cpantesters-discuss</li></ul> BinGOs 2007-09-07T19:14:14+00:00 journal It had to be done http://use.perl.org/~BinGOs/journal/34356?from=rss <p> <a href="http://gumbynet.org.uk/images/smoking.png">heh</a> </p><p>&gt;=]</p> BinGOs 2007-09-05T15:09:33+00:00 journal YAPC::EU 2007 Photos http://use.perl.org/~BinGOs/journal/34331?from=rss <p>I finally got my YAPC::EU 2007 photos online</p><p>They are available <a href="http://gumbynet.org.uk/images/yapceu2007/">here</a> </p> BinGOs 2007-09-04T08:19:26+00:00 journal YAPC::EU 2007 POE Hackthon Slides http://use.perl.org/~BinGOs/journal/34279?from=rss <p>The slides I used for the POE Hackathon Intro and the POE Hackathon are available on line, <a href="http://gumbynet.org.uk/hackintro/">here</a> and <a href="http://gumbynet.org.uk/hackathon/">here</a></p> BinGOs 2007-08-30T10:32:20+00:00 journal It is International CPAN Testers Appreciation Day! http://use.perl.org/~BinGOs/journal/34178?from=rss <p>Or so it would appear from <a href="http://use.perl.org/~ddick/journal/34165">this</a>, <a href="http://use.perl.org/~rjbs/journal/34170">this</a> and <a href="http://use.perl.org/~ajt/journal/34171">this</a>.</p><p>If you are coming to <a href="http://vienna.yapceurope.org/">YAPC::EU</a> come along to the <a href="http://vienna.yapceurope.org/ye2007/wiki?node=CPANTestersBOF">CPAN Testers BOF</a> and show your appreciation further with beer </p><p> <code>&gt;;]</code></p> BinGOs 2007-08-22T13:59:27+00:00 journal I am in your CPAN, smoking http://use.perl.org/~BinGOs/journal/34140?from=rss <p>Always loving a <a href="http://use.perl.org/~drhyde/journal/34078">challenge</a> I decided to ramp up my smoke testing on <a href="http://www.netbsd.org/">NetBSD</a>.</p><p>I've rewritten my RSS feed based smoker script, which uses <a href="http://search.cpan.org/dist/POE-Component-CPAN-YACSmoke/">POE::Component::CPAN::YACSmoke</a> , to smoke against multiple perl installations.</p><p>I then compiled, built, tested, installed and configured perls 5.8.1 through to 5.8.8.</p><p>The smoker was restarted yesterday afternoon and is busily working it's way through the RECENT uploads list, whilst queuing up uploads that have occurred in the meantime.</p><p>I have also been adding perl-5.9.5 installs to my VMware based smoke boxes.</p> BinGOs 2007-08-17T10:58:40+00:00 journal