Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] "suggested_depends" . . .

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Jason Flatt <jflatt AT sourcemage.org>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] "suggested_depends" . . .
  • Date: Mon, 26 Sep 2005 22:52:54 -0700

On Monday 26 September 2005 08:33 am, Andrew wrote:
>
> We could have a "suggested_depends" command supplied by sorcery that
> would merely add a spell to the list of spells to cast without incurring
> any actual dependency ordering. The question would only get asked if
> the spell wasnt already installed.
>
> In this case:
> espgs depends on cups
> cups has a suggested depends on espgs (for postscript printing)
>
> Just an idea.
>
> -Andrew

Well, I certainly am not going to suggest potentially unnecessary code for
you
to write, :^) but there are probably many instances where something like
that might be handy. As an example, in working on the Asterisk spells, there
are a couple of add-on spells that optionally depend on the main asterisk
spell. If you don't know about them, however, you're not likely to cast
them. Making them optional_depends on asterisk wouldn't work, but making
them "suggested_depends" of asterisk would at least bring them up during the
cast of asterisk.

--
Jason Flatt
Source Mage GNU/Linux: Linux so advanced, it may as well be magic.
http://www.sourcemage.org/
jflatt AT sourcemage.org

Attachment: pgp_MTf_yY_xU.pgp
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page