sm-discuss AT lists.ibiblio.org
Subject: Public SourceMage Discussion List
List archive
- From: Seth Alan Woolley <seth AT positivism.org>
- To: sm-discuss AT lists.ibiblio.org
- Subject: Re: [SM-Discuss] Improved Sorcery Trigger Support
- Date: Sat, 3 Sep 2005 20:16:36 -0700
I've made a couple changes to openssl so test grimoire on the server
should be good and all working. If anybody has any concerns about this
kind of trigger, please speak up. :)
Any change from 0.9.7x to 0.9.8x (or any other change like that, like
for example backwards) should trigger an automatic recast of all the
spells necessary after openssl itself compiles.
Seth
On Sat, Sep 03, 2005 at 05:02:39PM -0700, Andrew wrote:
>
> Hi, given the recent concerns over the openssl update I decided
> to go ahead and implement the solution I outlined below in devel
> sorcery. Disclaimer: this is in the "proof of concept" phase, its not
> completely ironed out, Im adding it so other interested parties can try it
> out and we can iterate on improvements if need be (bazaar style). Swoolley
> is going to update the openssl spell in test grimoire to try this out.
>
> from the spell maintainers perspective you add a file called "UP_TRIGGERS"
> (for lack of a better name), in it you call a function called "up_trigger"
> for each spell thats going to break due to an abi change (or whatever).
>
> Heres a brief example:
> for each in $(gaze depends $SPELL 1|cut -f1 -d:); do
> up_trigger $each cast_self
> done
>
> This is almost exactly the same as placing a TRIGGERS file in each of
> the spells that depend on openssl, but hopefully easier.
>
> from the users perspective the following will happen: all the spells
> that depend on openssl (in this case) will automatically get added to
> the list of spells to cast. Hopefully after cast completes there wont
> be any spells broken due to ssl update; thats the goal at least.
>
> -Andrew
>
> >
> > * Add a new spell file on the triggerer's side. The file would let the
> > spell generate triggers. For example, zlib could dynamically trigger
> > cast_self on all the spells that depend on it. Other spells with similarly
> > shaky api's could do the same. Perl could trigger a recast on all the
> > installed perl modules.
> >
> > Commentary: Much more powerful interface. However it involves making
> > (possibly bad) assumptions about spells. Leads to further decentralization
> > of information, for example, the triggerer would have to know what spells
> > may be effected by an api change. Overall spell management could become
> > more difficult.
> >
>
> --
> __________________________________________________________________________
> |Andrew D. Stitt | astitt at sourcemage.org |
> |irc: afrayedknot | afrayedknot at t.armory.com |
> |aim: thefrayedknot or iteratorplusplus | acedit at armory.com |
> |Sorcery Team Lead | ftp://t.armory.com/ |
> --------------------------------------------------------------------------
> _______________________________________________
> SM-Discuss mailing list
> SM-Discuss AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-discuss
>
--
Seth Alan Woolley [seth at positivism.org], SPAM/UCE is unauthorized
Quality Assurance Team Leader & Security Team: Source Mage GNU/linux
Linux so advanced, it may as well be magic http://www.sourcemage.org
Secretary Pacific Green Party of Oregon http://www.pacificgreens.org
Key id FDCEE733 = 5302 B414 64C4 6112 3454 E082 99F0 69DC FDCE E733
Attachment:
pgpZajTlp1Mwu.pgp
Description: PGP signature
-
Re: [SM-Discuss] Improved Sorcery Trigger Support,
Andrew, 09/03/2005
-
Re: [SM-Discuss] Improved Sorcery Trigger Support,
Seth Alan Woolley, 09/03/2005
- Re: [SM-Discuss] Improved Sorcery Trigger Support, Seth Alan Woolley, 09/03/2005
-
Re: [SM-Discuss] Improved Sorcery Trigger Support,
Eric Sandall, 09/05/2005
- Re: [SM-Discuss] Improved Sorcery Trigger Support, Andrew, 09/05/2005
-
Re: [SM-Discuss] Improved Sorcery Trigger Support,
Seth Alan Woolley, 09/03/2005
Archive powered by MHonArc 2.6.24.