develooper Front page | perl.perl5.porters | Postings from August 2009

Re: A few questions about setting up a Perl smoker:

Thread Previous | Thread Next
Craig A. Berry
August 21, 2009 14:31
Re: A few questions about setting up a Perl smoker:
Message ID:
On Fri, Aug 21, 2009 at 3:22 PM, Curtis
Jewell<> wrote:
> 1) What can I do if my outbound mail server only supports TLS for
> authentication? (I can get CPAN test reports sent out once I configure
> it for such, but it doesn't look like there's support in Test::Smoke for
> such a mailer.  Should I write such support in?)

I ran into that problem too.  What I ended up doing was using
MIME::Lite with Authen::SASL, which required the addition of three new
config variables for Test::Smoke and minor modifications to its mail
support.  I've attached a patch here which should get you in business
(I'm delinquent in sending this and a pile of other changes I needed
for VMS smoking to Abe).

The new variablles are smtp_auth, which is a boolean ('0' means don't
do authorization, '1' means do it); smtp_user and smtp_password are
strings with the username and password for your smtp server.  N.B.
Not every smtp server will work with the mechanisms in use here, but I
found that it worked with one of the ones available to me and stopped
looking further.

Another caveat is that Test::Smoke will not configure these variables
for you -- you'll have to manually add them to smokecurrent_config or
whatever your config file is named.  Also, you'll need to make sure to
select MIME::Lite as Test::Smoke's mail option.

> 2) How do you automatically pick up the newest snapshots? Any "magic URL?"

If you can get rsync that's the easiest way to stay up-to-date; I
think there is an rsync for  Windows.  Of course there is git for
Windows -- I don't know if other Windows smokers have used it for that
or not.  If you really mean snapshot as in a zipball with a static URL
but one that will always give you the latest of whatever branch you
are smoking, then I don't have a good answer as it looks like the
snapshots available from gitweb are all tied to a commit ID so you
have to know the latest commit.  Ah, wait, github's mirror looks like
it's staying up-to-date now, so you can possibly use (for blead):

but that won't have the .patch file in it so it will be hard to know
what you're smoking unless you parse the name of the file it gives you
(which contains the commit ID).

>Curtis Jewell
>%DCL-E-MEM-BAD, bad memory
>-VMS-F-PDGERS, pudding between the ears

%ME-S-GOODLUCK, wishing you success
-P5P-I-HTH, hope that helps

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About