<div dir="ltr"><div class="gmail_extra">On Wed, Mar 19, 2014 at 4:16 PM, Clemens Lang <span dir="ltr"><<a href="mailto:cal@macports.org" target="_blank">cal@macports.org</a>></span> wrote:<br><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Craig,<br>
<div class=""><br>
> As I understand it, the statistics process arose<br>
> in GSOC 11, right? Is it pretty much as<br>
> described at:<br>
><br>
</div>> […]<br>
<div class="">><br>
> Is the above accurate? I understand that Popcon<br>
> tracks the last access time (atime) for files in<br>
> a port and that our implementation does not.<br>
<br>
</div>Yes, that's correct.<br>
<div class=""><br>
<br>
> From what I can see, our tool will not gather<br>
> whether a port was Requested or not. I think<br>
> that's a key data point. Some libs will get<br>
> installed very frequently as dependencies but<br>
> will seldom be requested.<br>
<br>
</div>That's actually correct as far as I know, yes. The submission script currently tells the server whether a port is active or inactive, but not whether it was requested. We should add that.<br>
<div class=""><br>
<br>
> Also, this is implemented as a weekly launchd<br>
> job. What happens if there is a problem<br>
> somewhere between the users machine and the<br>
> server receiving the data? Does the user job<br>
> abort gracefully? Try again?<br>
<br>
</div>The job aborts gracefully and will run again next week.<br>
<div class=""><br>
> What is the user<br>
> wants to get rid of MacPorts and deletes<br>
> /opt/local/*. My experience is that launchd will<br>
> _never_ stop trying to run the missing job and<br>
> will spam the Console log with complaints about<br>
> it.<br>
<br>
</div>The files installed by MacPorts in /Library/LaunchDaemons are usually symlinks. If you nuke /opt/local, launchd won't be able to find the plist and can't run the job. I don't know whether that leaves any log messages.<br>
<div class=""><br></div></blockquote><div> </div><div>Depends on whether the job is marked as "Keep Alive" and is still running. If this is the case, and its process is killed, when it tries to respawn itself, it will leave log messages like this:</div>
<div><br></div><div><div><font class="Apple-style-span" face="'courier new', monospace">launchctl: Couldn't stat("/Library/LaunchDaemons/org.macports.nonexistingplist.plist"): No such file or directory</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">nothing found to load</font></div></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">
> Do we have a sample statistics page for a port/all ports?<br>
<br>
</div><a href="http://stats.macports.neverpanic.de/" target="_blank">http://stats.macports.neverpanic.de/</a><br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Clemens Lang<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
macports-users mailing list<br>
<a href="mailto:macports-users@lists.macosforge.org" rel="noreferrer">macports-users@lists.macosforge.org</a><br>
<a href="https://lists.macosforge.org/mailman/listinfo/macports-users" target="_blank">https://lists.macosforge.org/mailman/listinfo/macports-users</a><br>
</div></div></blockquote></div><br></div></div>