Honestly, you don't. When you use a decent disabled.yml file, and remove some of the unnecessary delays in CPAN.pm and the testers stuff, like my repo shows, you can burn through all of CPAN in a week.
]]>C:\strawberry\perl\bin\perl.exe -e "$SIG{HUP}=sub{exit}; if( my $fn=shift ){ open my $fh, qq{>$fn}; print {$fh} $$; close $fh;} my $buf; while (sysread(STDIN, $buf, 2048)) { syswrite(STDOUT, $buf); syswrite(STDERR, $buf)}" C:\Users\smoker\AppData\Local\Temp\2\qdJ32OEk0b
Killing one or both of the processes will let the build continue without a problem.
Both of the processes are children of the following where the tested distribution varies, of course.
C:\strawberry\perl\bin\perl.exe -MCPAN -e "$CPAN::Config->{test_report} = 1; test( 'KTAT/Teng-Plugin-SearchBySQLAbstractMore-0.10.tar.gz' )"
I installed Win32::Job and set command_timeout=1000 in my config.ini file, but it doesn't work. The processes will wait forever without being killed.
If a solution can be found to Capture::Tiny's hangs on Windows then smoketesting on Windows could be easy. But right now it requires babysitting.
]]>Shell.Application
was added for WScript and CScript scripts, so the actual functionality should be accessible directly with Win32::API. I'm not sure at the moment what it is calling under the hood.]]>
Win32::IsAdminUser()
to check for elevated privileges? The docs say:
Returns non zero if the account in whose security context the current process/thread is running belongs to the local group of Administrators in the built-in system domain; returns 0 if not. On Windows Vista it will only return non-zero if the process is actually running with elevated privileges. Returns undef and prints a warning if an error occurred. This function always returns 1 on Win9X.
]]>Since we can't read the proposals themselves, does this imply a cryptographic Web of Trust?
I'd love to be able to add a key fingerprint to my CPAN account, get the key signed by other devs as I meet them, and encourage people to make more signed distributions.
]]>