Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] multiple depends in one line

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Paul Mahon <dufflebunk AT dufflebunk.homeip.net>
  • To: Juuso Alasuutari <iuso AT sourcemage.org>
  • Cc: SM-Discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] multiple depends in one line
  • Date: Thu, 17 Aug 2006 23:17:55 -0700

It is not documented to work like that and isn't supposed to. It's more
than likely a bug cause by something not being quoted as it should,
which means that you'll get inconsistent results... ie the depends
information could say it depends on a spell called "glibc gcc" while
cast may turn that into two spells, cleanse may not which would cause
all sorts of weirdness.

On Fri, 2006-18-08 at 08:53 +0300, Juuso Alasuutari wrote:
> Does this really work like it seems it does?
>
> ====
>
> optional_depends "glibc gcc" "" "" "for great justice"
>
> root@kamayuq:~# cast foo
> Computing previously installed dependencies...
> foo preparing environment...
> foo checking dependencies...
> foo has an optional dependency on glibc gcc (for great justice)
> Do you want to use glibc gcc? [y] y
> glibc No work to do.
> gcc No work to do.
> Collating dependencies...
> Spells are to be cast:
> ---------------------------
> foo
>
> Do you want to cast these spells? [y]
>
> ====
>
> If this is a feature not a bug I'm happy because it's a useful one, and if
> it's a bug please declare it a feature. :)
>
> How does cleanse handle this if one of the listed dependencies are removed?
> Is
> this in stable sorcery?
>
> _______________________________________________
> SM-Discuss mailing list
> SM-Discuss AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-discuss

Attachment: signature.asc
Description: This is a digitally signed message part




Archive powered by MHonArc 2.6.24.

Top of Page