> > > This is already handled in oda AFAIK.  Specify as many provides requires
> > > or conflicts as you want.
> > 
> > Excellent!  That's what I was hoping to hear.  Question, where are these
> > actual dependence issues dealt with?  In Selector?  If so, are they
> > seperated from the gui code?
> 
> Right now those calculations are being handled by code used in the
> Selectors (normal and in/uninstall).  You'd have to ask Terry about
> whether it could be separated easily or not.
> 
> Jason

Actually, the subroutines which build the dependency tree are fairly
encapsulated and could be moved to new code without too much trouble.  The
main function is called "getDependencyTree" in
$OSCAR_HOME/lib/Qt/SelectorUtils.pm.  There are some supporting subroutines
like getRequiresList, getIsRequiredByList, and getConflictsList.  These are
used as the Selector table is built to determine what needs to be checked or
unchecked.  

The only real problem is that the data structures are inflexible, so any
changes to the way things are specified will require extensive
modifications.  For example, even though the XML file specification allows
for requires/conflicts at different levels (eg. package, file, etc.) the
current selector doesn't make good use of them.  It pretty much only handles
package-level requires/conflicts.  This will be addressed in the next
version of the installer.  And another thing, the Selector as we know it
will most likely go away.  Instead the mechanism for 'selecting' a package
will occur when you 'configure' the package.  That's still being tossed
around here at NCSA.  We'll resolve that eventually.  Since I have other
things to worry about right now, please don't ask for details about the
whole selector/configurator issue.  Thanks. :-)

Terry Fleury
[EMAIL PROTECTED]


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Oscar-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to