<div dir="ltr"><div class="gmail_extra">On Wed, Mar 19, 2014 at 4:16 PM, Clemens Lang <span dir="ltr">&lt;<a href="mailto:cal@macports.org" target="_blank">cal@macports.org</a>&gt;</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>
&gt; As I understand it, the statistics process arose<br>
&gt; in GSOC 11, right? &nbsp;Is it pretty much as<br>
&gt; described at:<br>
&gt;<br>
</div>&gt; [&hellip;]<br>
<div class="">&gt;<br>
&gt; Is the above accurate? &nbsp;I understand that Popcon<br>
&gt; tracks the last access time (atime) for files in<br>
&gt; a port and that our implementation does not.<br>
<br>
</div>Yes, that&#39;s correct.<br>
<div class=""><br>
<br>
&gt; From what I can see, our tool will not gather<br>
&gt; whether a port was Requested or not. &nbsp;I think<br>
&gt; that&#39;s a key data point. &nbsp;Some libs will get<br>
&gt; installed very frequently as dependencies but<br>
&gt; will seldom be requested.<br>
<br>
</div>That&#39;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>
&gt; Also, this is implemented as a weekly launchd<br>
&gt; job. &nbsp;What happens if there is a problem<br>
&gt; somewhere between the users machine and the<br>
&gt; server receiving the data? &nbsp;Does the user job<br>
&gt; abort gracefully? Try again?<br>
<br>
</div>The job aborts gracefully and will run again next week.<br>
<div class=""><br>
&gt; What is the user<br>
&gt; wants to get rid of MacPorts and deletes<br>
&gt; /opt/local/*. &nbsp;My experience is that launchd will<br>
&gt; _never_ stop trying to run the missing job and<br>
&gt; will spam the Console log with complaints about<br>
&gt; it.<br>
<br>
</div>The files installed by MacPorts in /Library/LaunchDaemons are usually symlinks. If you nuke /opt/local, launchd won&#39;t be able to find the plist and can&#39;t run the job. I don&#39;t know whether that leaves any log messages.<br>


<div class=""><br></div></blockquote><div>&nbsp;</div><div>Depends on whether the job is marked as &quot;Keep Alive&quot; 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="&#39;courier new&#39;, monospace">launchctl: Couldn&#39;t stat(&quot;/Library/LaunchDaemons/org.macports.nonexistingplist.plist&quot;): No such file or directory</font></div>

<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">nothing found to load</font></div></div><div>&nbsp;</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="">
&gt; 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>