I can not promise that this is not cargo-cult programming,
or that it is complete, but here goes for my cygwin setup:

$ pwd
/home/Administrator/.cpanreporter

$ cat config.ini
debug=1
edit_report=default:ask/no pass/na:no
[email protected]
send_report=default:ask/yes pass/na:yes
smtp_auth_pass=******
[email protected]
smtp_server=smtp.gmail.com
transport=Net::SMTP::TLS User [email protected] Password ******



$ pwd
/home/Administrator/.cpan/CPAN

$ cat MyConfig.pm

$CPAN::Config = {
  'applypatch' => q[],
  'auto_commit' => q[0],
  'build_cache' => q[2],
  'build_dir' => q[/home/Administrator/.cpan/build],
  'build_dir_reuse' => q[1],
  'build_requires_install_policy' => q[ask/yes],
  'bzip2' => q[/usr/bin/bzip2],
  'cache_metadata' => q[1],
  'check_sigs' => q[0],
  'colorize_output' => q[0],
  'commandnumber_in_prompt' => q[1],
  'connect_to_internet_ok' => q[0],
  'cpan_home' => q[/home/Administrator/.cpan],
  'curl' => q[/usr/bin/curl],
  'ftp' => q[],
  'ftp_passive' => q[1],
  'ftp_proxy' => q[],
  'getcwd' => q[cwd],
  'gpg' => q[],
  'gzip' => q[/usr/bin/gzip],
  'halt_on_failure' => q[1],
  'histfile' => q[/home/Administrator/.cpan/histfile],
  'histsize' => q[100],
  'http_proxy' => q[],
  'inactivity_timeout' => q[0],
  'index_expire' => q[1],
  'inhibit_startup_message' => q[0],
  'keep_source_where' => q[/home/Administrator/.cpan/sources],
  'load_module_verbosity' => q[v],
  'lynx' => q[/usr/bin/lynx],
  'make' => q[],
  'make_arg' => q[],
  'make_install_arg' => q[],
  'make_install_make_command' => q[],
  'makepl_arg' => q[],
  'mbuild_arg' => q[],
  'mbuild_install_arg' => q[],
  'mbuild_install_build_command' => q[./Build],
  'mbuildpl_arg' => q[],
  'ncftp' => q[],
  'ncftpget' => q[],
  'no_proxy' => q[],
  'pager' => q[/usr/bin/less],
  'patch' => q[],
  'prefer_installer' => q[MB],
  'prefs_dir' => q[/home/Administrator/.cpan/prefs],
  'prerequisites_policy' => q[follow],
  'scan_cache' => q[atstart],
  'shell' => q[],
  'show_unparsable_versions' => q[0],
  'show_upload_date' => q[0],
  'show_zero_versions' => q[0],
  'tar' => q[/usr/bin/tar],
  'tar_verbosity' => q[v],
  'term_is_latin' => q[1],
  'term_ornaments' => q[1],
  'test_report' => q[1],
  'unzip' => q[],
  'urllist' => [q[http://192.168.2.3/~A/.minicpan/],
q[http://mirrors.24-7-solutions.net/pub/CPAN/]],
  'use_sqlite' => q[0],
  'wget' => q[/usr/bin/wget],
  'yaml_load_code' => q[0],
  'yaml_module' => q[YAML],
};
1;
__END__


$ pwd
/home/Administrator/.cpan/prefs

$ cat never.yml
---
comment: |
  Things not to test at all
disabled: 1
match:
  distribution: |
    /(?x:
    .^   # never matches, only purpose is to let things align nicely
    |(?:emb|syb|bio)?perl-\d
    |(?:parrot|ponie|kurila|Perl6-Pugs)-\d
    |Perl-Dist- # don't test perl builders
    |perl-?5\.004
    |perl_mlb\.zip
    |Acme-Mom-Yours
    |HTTP-Engine
    |LaTeX
    |Latex
    |Pod-POM
    |DBD
    |DBI
    |FreeHAL  # huge!
    )|


maybe you could put this, or better yet what works for you, on the wiki.

http://wiki.cpantesters.org/wiki/CPANConfiguration

Maybe someone who knows can explain why my files are hilarious!
Or which one I forgot.

You might find that gmail and cpan testers play nicely together now.
At least one bug has been reported and fixed in TLS, and I think gmail
has a new, more lenient antispam policy that only blocks senders who
have a rate of more than about 12 per minute.

I have sent programmatically about 11,000 reports and never had a
stall due to gmail, so I can not comment on captcha- never seen it,
and I use the free service.  After a bug was fixed in the test tool
chain at TLS, I have not had any problem.

Your mileage may vary, but my mileage is great.   And if you do have a
problem, this list is great.



On Wed, Jun 24, 2009 at 7:30 PM, Chris
Marshall<[email protected]> wrote:
> I'm trying to use Test::Reporter with Net::SMTP::TLS
> and having no luck.  If someone has gotten this to
> work (especially with gmail smtp), I would appreciate
> the working template for use.
>
> Thanks in advance,
> Chris
>
> M W487 wrote:
>>
>> I use a dedicated gmail account, and NET::SMTP::TLS, and
>>
>> minismokebox --debug --indices --backend CPAN::Reporter > CP_42.txt 2>&1 &
>>
>>
>> ------------------------------------------------------------------------
>>
>>
>> No virus found in this incoming message.
>> Checked by AVG - www.avg.com Version: 8.5.359 / Virus Database:
>> 270.12.90/2200 - Release Date: 06/24/09 12:49:00
>>
>
>

Reply via email to