Re: [Fink-devel] Re: Stopping Spotlight

2005-05-26 Thread Kinako


On 2005/05/26, at 4:01, Dave Vasilevsky wrote:



On May 25, 2005, at 2:34 PM, kinako wrote:


The "build" suffix can be found in /System/Library/Find/StopExts.



I'm really not sure that /System/Library/Find is related to Spotlight.
I could be wrong though. :-)


I found that the excluded directories seem to be hard coded in mds by  
typing `strings  /System/Library/Frameworks//CoreServices.framework/ 
Versions/A/Frameworks/Metadata.framework/Versions/A/Support/mds` .
So I am more possible to be wrong, and /System_Library/Find/* are  
supposed to be relating to old FindByContents.


kinako



---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] Re: Stopping Spotlight

2005-05-25 Thread Chris Zubrzycki

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On May 25, 2005, at 3:54 PM, kinako wrote:



On May 26, 2005, at 4:41, Chris Zubrzycki wrote:


One more thing:Slowing build down also occurs, and I am  
experiencing, when

using ccache if ccache creates new file.





Good point, that's another place we have a lot of small files. As  
far as I know, Spotlight never actually imports the ccache files  
though. I'm not sure what the performance differences are between





Don't know either, but I wonder how hard apple thought about this,  
with developers building using ccache/distcc. It seems like some  
regex patterns would help. Or else patch ccache to  
use .ccache.build :-)




No need to patch. Just set the environment variable CCACHE_DIR to  
ccache.build under

fink's build environment.


If you want it to be default, you could. not everything that uses  
ccache is built by fink :-) but yes,the ENV VAR would work too.


- -chris zubrzycki
- - --
PGP public key: http://homepage.mac.com/beren/publickey.txt
ID: 0xA2ABC070
Fingerprint: 26B0 BA6B A409 FA83 42B3  1688 FBF9 8232 A2AB C070


Remember: it's a "Microsoft virus", not an "email virus",
a "Microsoft worm", not a "computer worm".


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (Darwin)
Comment: Please sign reply-http://www.gnupg.org

iEYEARECAAYFAkKU5UwACgkQ+/mCMqKrwHAMYQCg0bQ9ont6MbSiZvFSxyfAxZ5V
B/EAoIOc5ZiO0Bv7HBbWA3hgrle2ot1Z
=4XUq
-END PGP SIGNATURE-


---
SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate
online with coworkers and clients while avoiding the high cost of travel and
communications. There is no equipment to buy and you can meet as often as
you want. Try it free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] Re: Stopping Spotlight

2005-05-25 Thread kinako


On May 26, 2005, at 4:41, Chris Zubrzycki wrote:

One more thing:Slowing build down also occurs, and I am  
experiencing, when

using ccache if ccache creates new file.




Good point, that's another place we have a lot of small files. As  
far as I know, Spotlight never actually imports the ccache files  
though. I'm not sure what the performance differences are between




Don't know either, but I wonder how hard apple thought about this,  
with developers building using ccache/distcc. It seems like some  
regex patterns would help. Or else patch ccache to  
use .ccache.build :-)


No need to patch. Just set the environment variable CCACHE_DIR to  
ccache.build under

fink's build environment.

kinako


---
SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate
online with coworkers and clients while avoiding the high cost of travel and
communications. There is no equipment to buy and you can meet as often as
you want. Try it free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] Re: Stopping Spotlight

2005-05-25 Thread Chris Zubrzycki

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On May 25, 2005, at 3:01 PM, Dave Vasilevsky wrote:



On May 25, 2005, at 2:34 PM, kinako wrote:


The "build" suffix can be found in /System/Library/Find/StopExts.



I'm really not sure that /System/Library/Find is related to  
Spotlight. I could be wrong though. :-)



One more thing:Slowing build down also occurs, and I am  
experiencing, when

using ccache if ccache creates new file.



Good point, that's another place we have a lot of small files. As  
far as I know, Spotlight never actually imports the ccache files  
though. I'm not sure what the performance differences are between


Don't know either, but I wonder how hard apple thought about this,  
with developers building using ccache/distcc. It seems like some  
regex patterns would help. Or else patch ccache to use .ccache.build :-)


- -chris zubrzycki
- - --
PGP public key: http://homepage.mac.com/beren/publickey.txt
ID: 0xA2ABC070
Fingerprint: 26B0 BA6B A409 FA83 42B3  1688 FBF9 8232 A2AB C070

"Of course, you realize this means war."
- -B. Bunny


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (Darwin)
Comment: Please sign reply-http://www.gnupg.org

iEYEARECAAYFAkKU1OMACgkQ+/mCMqKrwHBl+QCfWTAz3YmaGKTHM4iwVRUKNk87
IU4AoIYBLQuHnxpwCEEnP5LGH9/TVXix
=LK+6
-END PGP SIGNATURE-


---
SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate
online with coworkers and clients while avoiding the high cost of travel and
communications. There is no equipment to buy and you can meet as often as
you want. Try it free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


[Fink-devel] Re: Stopping Spotlight

2005-05-25 Thread Dave Vasilevsky


On May 25, 2005, at 2:34 PM, kinako wrote:

The "build" suffix can be found in /System/Library/Find/StopExts.


I'm really not sure that /System/Library/Find is related to  
Spotlight. I could be wrong though. :-)


One more thing:Slowing build down also occurs, and I am  
experiencing, when

using ccache if ccache creates new file.


Good point, that's another place we have a lot of small files. As far  
as I know, Spotlight never actually imports the ccache files though.  
I'm not sure what the performance differences are between


1) Not indexing a directory (eg: /sw/src/fink.build)
2) Indexing, but never importing (ccache)
3) Indexing and importing (/sw/src)

Is the difference between 1 and 2 very significant? If so, we should  
probably hide both ccache and finkinfodb dirs.


Dave


PGP.sig
Description: This is a digitally signed message part


[Fink-devel] Re: Stopping Spotlight

2005-05-25 Thread Dave Vasilevsky


On May 25, 2005, at 10:43 AM, Kinako wrote:

Adding sw into /System/Library/Find/SkipFolders might work.


In my testing it doesn't.

Dave


PGP.sig
Description: This is a digitally signed message part


Re: [Fink-devel] Re: Stopping Spotlight

2005-05-25 Thread Jean-François Mertens

On 25 May 2005, at 18:20, Chris Zubrzycki wrote:
That's probbably because fink doesn't expect a symlink, but a real  
dir for the builddir config.


Clear.
But readlink doesn't exist for nothing..

JF


---
SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate
online with coworkers and clients while avoiding the high cost of travel and
communications. There is no equipment to buy and you can meet as often as
you want. Try it free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] Re: Stopping Spotlight

2005-05-25 Thread Chris Zubrzycki

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On May 25, 2005, at 12:15 PM, Jean-François Mertens wrote:


On 25 May 2005, at 16:50, Daniel Macks wrote:

On Wed, May 25, 2005 at 04:48:45PM +0200, Jean-François Mertens  
wrote:



On 25 May 2005, at 16:28, Daniel E. Macks wrote:


On 25 May 2005, at 04:49, Dave Vasilevsky wrote:

If you have a custom build path, Fink will warn you that this  
might

be slowing down your builds, and offer to append .build--if you
decline, Fink will never bother you about it again.


It's supposed to save state in fink.conf so only root can set
it...OTOH, some of those commands run as root.


No change to fink.conf even after having made it world-writeable
and re-running one of those commands.


The writing mechanism appears to check for "being root" not "file
writability", but...


(Furher, I do run many of those commands as root.)


D'oh.



Another small point: to get rid of this for the moment, I answered  
'yes' once.

This added the lines
Buildpath: /sw/bld.build
Flags: SpotlightWarning
in fink.conf, and stopped the questions, but
the previous symlink /sw/bld -> /classic/bld is unchanged, as well  
as its target,

and a new directory /sw/bld.build has been created...


That's probbably because fink doesn't expect a symlink, but a real  
dir for the builddir config. It worked as advertised.


- -chris zubrzycki
- - --
PGP public key: http://homepage.mac.com/beren/publickey.txt
ID: 0xA2ABC070
Fingerprint: 26B0 BA6B A409 FA83 42B3  1688 FBF9 8232 A2AB C070


"Sadly, text alone cannot convey the depths of my sarcasm."


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (Darwin)
Comment: Please sign reply-http://www.gnupg.org

iEYEARECAAYFAkKUpc4ACgkQ+/mCMqKrwHDJGwCg545lA8MjBsP3Bb7bfvVA+Dcj
joAAnjStMUPMIs7ckm5Jpn7s8+9TuzBu
=RynD
-END PGP SIGNATURE-


---
SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate
online with coworkers and clients while avoiding the high cost of travel and
communications. There is no equipment to buy and you can meet as often as
you want. Try it free.http://ads.osdn.com/?ad_idt02&alloc_id135&op=click
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] Re: Stopping Spotlight

2005-05-25 Thread Jean-François Mertens

On 25 May 2005, at 16:50, Daniel Macks wrote:

On Wed, May 25, 2005 at 04:48:45PM +0200, Jean-François Mertens wrote:

On 25 May 2005, at 16:28, Daniel E. Macks wrote:

On 25 May 2005, at 04:49, Dave Vasilevsky wrote:
If you have a custom build path, Fink will warn you that this  
might

be slowing down your builds, and offer to append .build--if you
decline, Fink will never bother you about it again.

It's supposed to save state in fink.conf so only root can set
it...OTOH, some of those commands run as root.

No change to fink.conf even after having made it world-writeable
and re-running one of those commands.

The writing mechanism appears to check for "being root" not "file
writability", but...

(Furher, I do run many of those commands as root.)

D'oh.


Another small point: to get rid of this for the moment, I answered  
'yes' once.

This added the lines
Buildpath: /sw/bld.build
Flags: SpotlightWarning
in fink.conf, and stopped the questions, but
the previous symlink /sw/bld -> /classic/bld is unchanged, as well as  
its target,

and a new directory /sw/bld.build has been created...

JF


---
SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate
online with coworkers and clients while avoiding the high cost of travel and
communications. There is no equipment to buy and you can meet as often as
you want. Try it free.http://ads.osdn.com/?ad_idt02&alloc_id135&op=click
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] Re: Stopping Spotlight

2005-05-25 Thread Daniel Macks
On Wed, May 25, 2005 at 04:48:45PM +0200, Jean-Fran?ois Mertens wrote:
> On 25 May 2005, at 16:28, Daniel E. Macks wrote:
> >>On 25 May 2005, at 04:49, Dave Vasilevsky wrote:
> >>>If you have a custom build path, Fink will warn you that this might
> >>>be slowing down your builds, and offer to append .build--if you
> >>>decline, Fink will never bother you about it again.
> >It's supposed to save state in fink.conf so only root can set
> >it...OTOH, some of those commands run as root.
> 
> No change to fink.conf even after having made it world-writeable
> and re-running one of those commands.

The writing mechanism appears to check for "being root" not "file
writability", but...

> (Furher, I do run many of those commands as root.)

D'oh.

dan

-- 
Daniel Macks
[EMAIL PROTECTED]
http://www.netspace.org/~dmacks



---
SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate
online with coworkers and clients while avoiding the high cost of travel and
communications. There is no equipment to buy and you can meet as often as
you want. Try it free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] Re: Stopping Spotlight

2005-05-25 Thread Jean-François Mertens

On 25 May 2005, at 16:28, Daniel E. Macks wrote:

On 25 May 2005, at 04:49, Dave Vasilevsky wrote:

If you have a custom build path, Fink will warn you that this might
be slowing down your builds, and offer to append .build--if you
decline, Fink will never bother you about it again.

It's supposed to save state in fink.conf so only root can set
it...OTOH, some of those commands run as root.


No change to fink.conf even after having made it world-writeable
and re-running one of those commands.
(Furher, I do run many of those commands as root.)

JF


---
SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate
online with coworkers and clients while avoiding the high cost of travel and
communications. There is no equipment to buy and you can meet as often as
you want. Try it free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel


[Fink-devel] Re: Stopping Spotlight

2005-05-25 Thread Daniel E. Macks
Jean-François Mertens <[EMAIL PROTECTED]> said:
>
> On 25 May 2005, at 04:49, Dave Vasilevsky wrote:
>
>> If you have a custom build path, Fink will warn you that this might  
>> be slowing down your builds, and offer to append .build--if you  
>> decline, Fink will never bother you about it again.
>
> I declined _ since I have spotlight turned off _, but I've been asked  
> this question already
> half a dozen times _ at least at every fink index, selfupdate,  
> list, ... command.

It's supposed to save state in fink.conf so only root can set
it...OTOH, some of those commands run as root.

OT3H, since this is a new feature in a new fink, maybe it should be
asked as part of the fink package postinst instead of during a normal
fink run.

dan

-- 
Daniel Macks
[EMAIL PROTECTED]
http://www.netspace.org/~dmacks




---
SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate
online with coworkers and clients while avoiding the high cost of travel and
communications. There is no equipment to buy and you can meet as often as
you want. Try it free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel