Does MacPorts depend on Spotlight?

Chris Jones jonesc at hep.phy.cam.ac.uk
Wed Nov 17 15:46:10 UTC 2021


Some users might find it useful, and the exact volume to exclude depends 
on the details of the users installation, which would be difficult to 
automate. So I think its fine to just leave it to be done by hand by 
those that wish to.

On 17/11/2021 3:09 pm, André-John Mas wrote:
> 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?
> 
> André-John
> 
> Sent from my phone. Envoyé depuis mon téléphone.
> 
>> On 16 Nov 2021, at 21:03, Richard L. Hamilton <rlhamil at smart.net> wrote:
>>
>> 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.
>>
>>> On Nov 16, 2021, at 16:06, Chris Jones <jonesc at hep.phy.cam.ac.uk 
>>> <mailto:jonesc at hep.phy.cam.ac.uk>> wrote:
>>>
>>>
>>> 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.
>>>
>>>> On 16 Nov 2021, at 6:26 am, Richard L. Hamilton <rlhamil at smart.net 
>>>> <mailto:rlhamil at smart.net>> wrote:
>>>>
>>>> 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).
>>>>
>>>>
>>
>> -- 
>> eMail:mailto:rlhamil at smart.net <mailto:rlhamil at smart.net>
>>
>>
>>
>>


More information about the macports-users mailing list