Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 14380] New: making sorcery sexier!

sm-sorcery-bugs AT lists.ibiblio.org

Subject: Bugs for Sorcery are reported here

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-sorcery-bugs AT lists.ibiblio.org
  • Subject: [SM-Sorcery-Bugs] [Bug 14380] New: making sorcery sexier!
  • Date: 20 Mar 2008 21:37:30 -0000

http://bugs.sourcemage.org/show_bug.cgi?id=14380

Summary: making sorcery sexier!
Product: Sorcery
Version: Untargetted future release
Platform: All
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P2
Component: Feature Request
AssignedTo: sm-sorcery-bugs AT lists.ibiblio.org
ReportedBy: appye AT yahoo.com


Enhancement request:

It would be nice to have some sort of reverse version of cleanse –prune where
instead of looking for dependencies that are no longer needed, it would check
for spells compiled without optional dependencies that were later installed.

For example, many months ago, you cast spell X, and refused optional
dependency
Y. Today, you cast spell Z, which also has a dependency (optional or not) on
Y,
which you do install. It would be nice if there was some automatic mechanism
to
check for and optionally recast spells that have the ability to use Y, since
it
is now going to be on the system anyway.

I realize you can –recast-up for Y, but that would require that you remember
refusing Y many months previous, and remember the same thing for every spell
on
the system.

If I were to try and do something like this using batch files, I would
probably
start with something like:

X has optional dependency Y, do you want to install it?
choice /c:yn Yes, No
if %TheAnswer%=y (set this cast to install Y) ELSE echo
%NameOfSpellX% >
/var/sorcery/refusedoptionals/%NameOfSpellY%

Then, whenever any spell is cast, set it to check if it’s name exists in
/var/sorcery/refusedoptionals, parse the file if it exists and give the option
to install whatever is listed there.

Forgive me, I don’t really remember the proper syntax, but I think this
(crudely) conveys my idea for a place to start... Sandalle mentioned to me
that
there was a /var/sorcery/depends file (I think, I am not at home at the
moment)
that could be parsed for “No” ...

Also, options to handle this could be added to that section of the sorcery
options menu where it talks about recasting broken parents and whatnot. Again
forgive me because I am not in front of a SMGL box and I can't remember
specifically.

--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



  • [SM-Sorcery-Bugs] [Bug 14380] New: making sorcery sexier!, bugzilla-daemon, 03/20/2008

Archive powered by MHonArc 2.6.24.

Top of Page