Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] excluded/protected files

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] excluded/protected files
  • Date: Mon, 18 Oct 2004 23:50:28 -0700

On Tue, Oct 19, 2004 at 08:38:29AM +0200, neuron wrote:
> [...]
>
> > Id like to change the files to contain regexps, one per line, that will
> > be |'ed together inside the filter function. Its then up to the author
> > whether or not to put a $ at the end (or not) which indicates if the
> > entry is a file (or a directory). The pattern can of course contain
> > .*'s and all that other regexp goodness.
>
> I think that it's a great idea, it would help much binary spells and
> those things like xorg vs nvidia_driver problem.
>
> From the libtrack file, I think that it's used to filter out lines from
> install log. It's also used in libdispel, which I don't understand well
> what it does :)
libdispel is just code that dispel uses that I have some pretentions of
sharing with other parts of sorcery.

>
> Anyway, I can imagine that we would need two types of excluding:
I think you're extending the definition of excluded in the same direction
I was planning on. In my other post Ive alluded to have spell specific
versions of these files to make sorcery not have to carry them around
and be out of sync with what the grimoire wants excluded.

>
> a) exclude from install log (to prevent later deletion on dispel,
> probably ?)
>
> b) exclude from checking (to prevent errors on binary spells, which
> can't find libraries they were linked to. Example is OpenOffice-bin and
> vmware)

right now excluded is a, and we also have protected which i think
prevents files from being dispeled. I agree that we are lacking b
which would keep files from being checked. This also could easily
segway into some other fixes I want in dispel :-)

>
>
> It may be also handy to have some functions for working with the
> excluded file from spell. Adding will be probably easy, just >>excluded,
> but removing on dispel might not be.
> Or perhaps exclude directory, which would contain per-spell exclude
> file, which would be easilly deleted on dispel ? To get whole exclude
> file, simple 'cat *' might do.

Yep, see above :) this will be included in the installed grimoire,
and I'll probably include some linking of files to make it easy
to cat * all the excluded/protected/no_checking stuff.



--
__________________________________________________________________________
|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: pgp6OmdGWobyr.pgp
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page