Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] File filters and haskell spells

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] File filters and haskell spells
  • Date: Wed, 22 Aug 2007 05:40:10 -0700

On Wed, Aug 22, 2007 at 03:51:52PM +0500, Alexander Tsamutali wrote:
> Hi!
>
> I found one problem with recently created haskell section:
>
> astsmtl@alpha:~$ gaze from package.conf
> ghc-6.6.1:/usr/lib/ghc-6.6.1/package.conf
> haskell-html-1.0:/usr/lib/ghc-6.6.1/package.conf
> haskell-mtl-1.0:/usr/lib/ghc-6.6.1/package.conf
> haskell-quickcheck-1.0:/usr/lib/ghc-6.6.1/package.conf
> haskell-x11-1.2.2:/usr/lib/ghc-6.6.1/package.conf
> haskell-x11-extras-0.2:/usr/lib/ghc-6.6.1/package.conf
> astsmtl@alpha:~$
>
> This file is essential because if it's removed on dispel you cannot
> install haskell packages anymore. ruskie suggested that this can be
> solved using excluded/protected/volatiles/configs file filters. But i
> can't understand how to do it right. Personally i think that this file
> should belong to ghc only and should be excluded from install logs of
> other spells. Any suggestions?
>

You dont want to be excluding things, that leads to many
problems. Exclusion filter is a last resort.

Instead protect the file so its not removed on dispel, mark it volatile so
cleanse will understand that it may be modified. Then handle it whatever
way you see best fit in POST_DISPEL.

-Andrew




Archive powered by MHonArc 2.6.24.

Top of Page