Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] initscripts location

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Andrew <afrayedknot AT thefrayedknot.armory.com>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] initscripts location
  • Date: Fri, 8 Oct 2004 15:07:56 -0700

Interesting...
I suppose if we were to switch to svn (or arch) or any non-db'ish
scm we may run into this problem. How many other places do we use find
in sorcery on a spell (or sorcery) directory or a grimoire?

I think we may want to stop relying on find when we dont need it, in
the case of init.d/xinetd.d we only have one directory to walk through
so find is kind of overkill.

Another option we have is to filter out .svn and stuff on finds (either
option b, or using a filter function).

I suppose the counterpoint to this is that prospects of
using svn with the grimoire as our standard scm (instead of perforce)
are getting increasingly smaller. So we could always just punt on the issue.
If we go for arch the problem comes back though...

-Andrew

On Fri, Oct 08, 2004 at 11:00:14PM +0200, Vladim?r Marek wrote:
> Hello,
>
> As I converted nearly everything in my home to subversion repository,
> also my codex is there. Now I have small problem with init scripts in
> spells.
>
> In libcast, the relevant line is basically
> find "$SCRIPT_DIRECTORY/init.d/" -type f -not -name "*.conf"
>
> which means for subversion it find lot of .svn/whatever files
>
> could we:
>
> a) add -maxdepth 1
> ( skip all subdirectories )
>
> b) add -not -path "*/.*"
> ( skip all files having dot as first filename character )
>
> c) tell neuron to not bugging us with such nonsense ?
> ( :) )
>
> Thanks
> Neuron
>
> PS:
>
> could we = I'll be happy to implement it for init.d and xinetd.d



> _______________________________________________
> SM-Discuss mailing list
> SM-Discuss AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-discuss


--
__________________________________________________________________________
|Andrew D. Stitt | astitt at sourcemage.org |
|irc: afrayedknot | afrayedknot at t.armory.com |
|aim: thefrayedknot or iteratorplusplus | |
|Sorcery Team Lead, Porting Team Lead | |
|Grimoire Guru ham/smgl | ftp://t.armory.com |
|Author and Maintainer of Prometheus | |
--------------------------------------------------------------------------

Attachment: pgpXiV9rgbuJZ.pgp
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page