Skip to Content.
Sympa Menu

sm-grimoire - Re: [SM-Grimoire] Version Dependancy

sm-grimoire AT lists.ibiblio.org

Subject: Discussion of Spells and Grimoire items

List archive

Chronological Thread  
  • From: Arwed von Merkatz <v.merkatz AT gmx.net>
  • To: sm-grimoire AT lists.ibiblio.org
  • Subject: Re: [SM-Grimoire] Version Dependancy
  • Date: Tue, 24 Jun 2003 00:13:27 +0200

On Mon, Jun 23, 2003 at 03:10:17PM -0700, Eric Sandall wrote:
> Jason Flatt said:
> > I think that implementing optional_requires is far more useful than
> > versioning. There. I said it. Happy? :^)
>
> I am very much agreed. Is optional_requires hard to implement? Shouldn't
> it be relatively easy; just use optional_depends (I'm not a bash hacker,
> so my opinion is uneducated)?

While we're on that issue, shouldn't we just drop the difference between
depends and requires? Just replace everything by depends and
optional_depends and have sorcery look for a provides when the
dependency isn't known as a spell.

Another thing about requires/provides, how about having a file
/var/state/sorcery/provides that lists all spells that 'provide'
something with the services they provide? With new entries added when a
spell with provides is installed. That would make using provides much
faster than it is now (takes quite some time to search all grimoires for
a specific required service).

--
Arwed v. Merkatz
Grimoire Guru for video
Sourcemage GNU/Linux
http://www.sourcemage.org




Archive powered by MHonArc 2.6.24.

Top of Page