Skip to Content.
Sympa Menu

sm-sorcery - [SM-Sorcery] requires problem

sm-sorcery AT lists.ibiblio.org

Subject: Discussion of Sorcery related topics

List archive

Chronological Thread  
  • From: Andrew <afrayedknot AT thefrayedknot.armory.com>
  • To: sm-sorcery AT lists.ibiblio.org
  • Subject: [SM-Sorcery] requires problem
  • Date: Fri, 19 Sep 2003 13:51:58 -0700

Ive noticed something with requires, say two spells both require
something, say x11-libs, each spell will then ask what provider of
x11-libs you want, even if you've already answered the question, but then
if you answer the question the same way twice, sorcery just adds the
spell to the list of depends to resolve again, so you can end up with
xfree86-libs on the list several times, along with xfree86-devel and
xfree86, clearly the resolution needs to work a little better.

Maybe if requires was abstracted back into depends, since a requires
cant share a name as a spell. Then you could reuse some of the same code
in theory. What do people think?

-Andrew

--
________________________________________________________________________
|Andrew D. Stitt | astitt AT sourcemage.org |
|irc: afrayedknot | afrayedknot AT t.armory.com |
|aim: thefrayedknot or iteratorplusplus | |
|Grimoire Guru ham/smgl, Porting Team Lead | ftp://t.armory.com |
|Author and Maintainer of Prometheus | |
-------------------------------------------------------------------------




Archive powered by MHonArc 2.6.24.

Top of Page