[Yum-devel] [yum-utils] package-graph

Pierre-Yves pingou at pingoured.fr
Tue Jan 11 20:28:11 UTC 2011


On Fri, 2011-01-07 at 15:46 +0100, Pierre-Yves wrote:
> On Thu, Dec 23, 2010 at 02:07:34PM +0200, Panu Matilainen wrote:
> > 
> > Why are these both shown in the output? Just one of them should be
> visible 
> > (and the other one deprecated but kept around for compatibilitys
> sake):
> >    --show-duplicates     show all versions of packages
> >    --show-dupes          show all versions of packages
> 
> This is a 2 lignes patch which I can do, which option is prefered ?
> (I would go for keeping --show-duplicates)
>  
> > Another pile of redundancies, relevant for this discussion:
> >    --tree-requires       list recursive requirements, in tree form
> >    --tree-conflicts      list recursive conflicts, in tree form
> >    --tree-obsoletes      list recursive obsoletes, in tree form
> >    --tree-whatrequires   list recursive what reqauires, in tree form
> > 
> > There's already --requires, --conflicts etc, and there's --recursive
> too, 
> > so the above should easily collapse to one option to control the
> output 
> > format, eg --tree-requires would be '--requires --recursive
> --output=tree' 
> > or something like that.
> 
> Should I try to look into this ?
> I would replace --recursive by something like --level=[1|2|3|...|all] 
> (keeping --recursive for compatility)
> 
> We would then have:
> --requires/provides/conflicts --level=2 --output=tree --type=[dot|
> ascii]
> 
> Would this be fine ? Or should we remove --type and just play with
> --output=[ascii-tree|dot-tree] ?

I know that I might be a bit impatient but I really would like to see
these features in and I'm willing to spend time to make it happen but I
need your guidance to meet your requirement.

Regards,
Pierre


More information about the Yum-devel mailing list