<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Just wondering whether it would make sense for MacPorts to auto exclude that folder? Does spotlight even provide an API or command that would allow MacPorts to do that?<br><br><div dir="ltr">André-John<div><br></div><div>Sent from my phone. Envoyé depuis mon téléphone. </div></div><div dir="ltr"><br><blockquote type="cite">On 16 Nov 2021, at 21:03, Richard L. Hamilton <rlhamil@smart.net> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><meta http-equiv="Content-Type" content="text/html; charset=utf-8">Good, thanks. Perhaps I wouldn't exclude the whole /opt/local (or whatever install prefix) unless performance is a major issue, but /opt/local/var/macports, which is less likely to be interesting in terms of commands or configuration files or documentation, and both large (mine is 24GiB when the entire /opt/local is only 35GiB - and I frequently remove most inactive ports and run a port clean installed) and active in terms of changes.<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Nov 16, 2021, at 16:06, Chris Jones <<a href="mailto:jonesc@hep.phy.cam.ac.uk" class="">jonesc@hep.phy.cam.ac.uk</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="content-type" content="text/html; charset=utf-8" class=""><div dir="auto" class=""><div dir="ltr" class=""></div><div dir="ltr" class=""><br class=""></div><div dir="ltr" class="">I am not aware of any use macports itself makes of spotlight, so for sure if you don’t plan on using it yourself to search the install prefix, you can disable it.</div><div dir="ltr" class=""><br class=""><blockquote type="cite" class="">On 16 Nov 2021, at 6:26 am, Richard L. Hamilton <<a href="mailto:rlhamil@smart.net" class="">rlhamil@smart.net</a>> wrote:<br class=""><br class=""></blockquote></div><blockquote type="cite" class=""><div dir="ltr" class=""><meta http-equiv="Content-Type" content="text/html; charset=us-ascii" class="">Seems it'd thrash Spotlight a lot less during "port selfupdate" or "port upgrade outdated" to exclude /opt/local, as long as that wouldn't break anything (obviously one couldn't then use Spotlight to search /opt/local, but that's ok with me).<br class=""><div class=""><br class="webkit-block-placeholder"></div><div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class=""><br class=""></div></div></div></div></blockquote></div></div></blockquote></div><br class=""><div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div>-- <br class="">eMail:<span class="Apple-tab-span" style="white-space: pre;">                          </span><a href="mailto:rlhamil@smart.net" class="">mailto:rlhamil@smart.net</a></div><div><br class=""></div></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br class=""></div></blockquote></body></html>