[SM-Discuss] File filters and haskell spells

Elisamuel Resto samuel at dragonboricua.net
Wed Aug 22 14:35:41 EDT 2007


On Wed, 22 Aug 2007 22:47:53 +0500, Alexander Tsamutali wrote:
> В Wed, 22 Aug 2007 05:40:10 -0700
> Andrew <afrayedknot at thefrayedknot.armory.com> пишет:
> 
> > 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.
> 
> Almost done but another problem arose:
> 
> 1. cast haskell-quickcheck
> 2. cast hasekll-html (at this point we have cached tarball, with cached
> package.conf which knows about haskell-quickcheck)
> 3. dispel haskell-quickcheck (files are removed, and package is
> unregistered in POST_REMOVE)
> 4. cast haskell-html (at this point resurrection occurs, package.conf
> is replaced with old version and still thinks that haskell-quickcheck
> is installed)
> 
> I see 2 solutions: exclude package.conf from other spells or
> backup/restore package.conf in {PRE,POST}_RESURRECT
> 
> And once again i need your suggestions!
> 

Is package.conf a sort of inventory of installed haskell packages? If so,
I'd say that it's excluded as volatile.

-- 
Elisamuel Resto <samuel at dragonboricua.net>
Source Mage GNU/Linux / http://www.sourcemage.org
ID: 0x18615F19 / FP: B66D 1C2A E8EE B922 1D9C D98F D2D5 FB61 1861 5F19
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.ibiblio.org/pipermail/sm-discuss/attachments/20070822/00631f86/attachment.bin 


More information about the SM-Discuss mailing list