recursive query?

csrabak csrabak at bol.com.br
Sat Apr 7 11:19:51 PDT 2007


---------- Início da mensagem original -----------
> 
> Message: 2
> Date: Thu, 05 Apr 2007 17:04:29 -0300
> From: Gustavo Niemeyer <gustavo at niemeyer.net>
> Subject: Re: recursive query?
> To: smart at labix.org, nickbroon at blueyonder.co.uk
> Message-ID: <4615564D.7060305 at niemeyer.net>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> 
> Hello Nick,
> 
> > How do I query the complete set of dependancies for a package?
> >
> > I can easily get the direct dependacies;
> > smart query --show-requires --show-providedby <packagename>
> >
> > but I also want the recursive dependancies of the dependancies.
> > I can achive this using Mandriva's tools;
> > urpmq -d <packagename>
> >
> > How do I achive something similar using smart?
> 
> It's quite easy to do that with code, but I don't think we're
> exposing that feature through the UI in any way right now.  Would
> be an interesting feature to add in the near term.
> 
> Hmm.. you could try to use export relations to prolog with
> "smart query --format=prolog --show-all" and then do the query
> with prolog, but that's for the brave. ;-)

Awesome, Gustavo!

Was this info /available/ in the documentation?

--
Cesar Rabak





More information about the Smart mailing list