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: neuron <vlmarek AT volny.cz>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] excluded/protected files
  • Date: Tue, 19 Oct 2004 08:38:29 +0200

[...]

> 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 :)

Anyway, I can imagine that we would need two types of excluding:

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)


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.


Those are just quick morning ideas which came to my mind, I'll try to
think about it some more :)

--
Neuron

Attachment: pgpHs936mrpzS.pgp
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page