Having statistics for module installations would be very nice. However, I must agree with most people here that giving users 10 seconds to opt out is not enough. Lots of people go and have a cup of coffee while the installation runs. Like swngnmonk, I immediately thought about Pine. That program lets you opt in and send a message the first time you use it. But you have to say "yes" explicitly.
I think it wouldn't be so bad if your installer asked "Do you want to send statistics? (n)" and wait indefinitely. Some people wouldn't like it because the installation wouldn't be completely automated anymore, but many modules already do that kind of thing (usually for asking if you want to enable certain features) and we survive. LWP asks you if you want to run some tests which require using the network and whether you want to install certain scripts; the Template Toolkit asks you if you want to install certain libraries and examples; etc.
I propose a compromise solution:
Let's all agree on a special environment value, which I'll call PERL_INSTALL_PHONE_HOME in this discussion. Participating modules will agree on the following:
CPAN.pm has configuration settings for passing options (such as PREFIX) during compilation and installation, so the user could either set the preference there or define an actual environment variable.
Of course, this requires cooperation from several parties, but I'm afraid any mutually acceptable solution will. The Perl community is used to developing conventions, idioms, and agreements (such as the standard install and import procedures) so it might be possible.
This is in spirit like the Robots Exclusion Standard. It works if people follow it. Of course "nasty" modules might not follow it, but any module can do nasty things if it wants. I'm sure the community can police itself to ensure that CPAN modules don't abuse it
In reply to Re: Gathering module usage statistics - a compromise solution?
by itub
in thread Gathering module usage statistics
by Juerd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |