sm-sorcery-bugs AT lists.ibiblio.org
Subject: Bugs for Sorcery are reported here
List archive
[SM-Sorcery-Bugs] [Bug 9822] Full dependency tracking
- From: bugzilla-daemon AT bugs.sourcemage.org
- To: sm-sorcery-bugs AT lists.ibiblio.org
- Subject: [SM-Sorcery-Bugs] [Bug 9822] Full dependency tracking
- Date: Fri, 23 Sep 2005 07:59:56 -0700 (PDT)
http://bugs.sourcemage.org/show_bug.cgi?id=9822
acedit AT armory.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
------- Additional Comments From acedit AT armory.com 2005-09-23 07:59 -------
have you looked at the dependency following feature in devel dispel? It
already
does this, and a while lot more.
you can remove orphans or non-orphans
you can remove parent spells
you can recast parent spells without their optional depends on the current
spell
its recursive in both directions
theres an extremely flexible set of command line options and a menu to select
a
default behavior
from dispel --help
The following parameters effect dependency following, if they are not
specified the default action is to do no dependency following. For
a more in-depth explaination refer to the manual
The following 5 parameters accept one of the following
4 parameters:
ignore, ask-yes, ask-no, always
--orphan Default action for dispelling a newly orphaned child
spell.
--non-orphan Default action for dispelling a dependee of
another spell, that is not an orphan (doing this
will break the spells that still depend on it).
--child Default action for dispelling a child spell that
is either an orphan or non-orphan.
--recast-parent If a spell has a child removed from under it, the
spell is considered broken, if all of the removed
children are optional, the spell may be recast
without those depends. This option controls the
default for this action.
--dispel-parent Default action for dispelling broken parents,
the user is asked for recasting if possible first.
--user-deps Use defaults for dependency following from the
--user-child-deps sorcery menu for child and/or parent dependency
--user-parent-deps following.
Heres a sample:
#dispel --child ask-yes spamassassin
Dispelled spell: spamassassin
db_file is an orphan.
Would you like to dispel it [y] n
razor-agents is an orphan.
Would you like to dispel it [y] n
perl is not an orphan.
Would you like to dispel it [y] n
html-parser is not an orphan.
Would you like to dispel it [y] y
Dispelled spell: html-parser
digest-sha1 is not an orphan.
Would you like to dispel it [y] n
net-dns is not an orphan.
Would you like to dispel it [y] n
perl is not an orphan.
Would you like to dispel it [y] n
html-tagset is not an orphan.
Would you like to dispel it [y] n
You could of course say
dispel --orphan ask-yes --non-orphan ignore spamassasin to do what you
suggested. You can also use the 'always' option and not have questions :-)
*** This bug has been marked as a duplicate of 5259 ***
--
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 9822] Full dependency tracking, bugzilla-daemon, 09/23/2005
Archive powered by MHonArc 2.6.24.