Tracking the number of downloads

Bradley Giesbrecht brad at pixilla.com
Sun Oct 24 08:47:24 PDT 2010


On Oct 24, 2010, at 2:43 AM, Marko Käning wrote:

>> track-stats {
>> 	option-1
>> 	option-2
>> 	option-3
>> }
> Yep, that sounds interesting, Sott, but more simple proxy log  
> filtering would count everything and could therefore probably more  
> precise and also require no end-user interaction. Here you force the  
> installing user to decided whether he wants to allow talkback for a  
> specific port. This could certainly be handled by a global setting  
> for port, but still…
>
> I think one would have to really compare the pros and cons carefully  
> before putting extra effort into extending the ports command itself  
> with functionality for this purpose.
>
> Just a thought. :)

Have macports conf default "stats_submit yes"
Have a bit in the registry to store if port has ever uploaded  
installed stats.
If it has not submit results of:
port installed
port installed requested

else submit at end of install the requested and dependent ports  
installed.

I think the extra installed/requested info would be useful.

And forget about tracking the user, keep it anonymous. Who cares if I  
install, uninstall and install the same port 20 times. Count it 20  
times, the data is still meaningful.

Brad


More information about the macports-dev mailing list