[Yum-devel] [yum-utils] package-graph
seth vidal
skvidal at fedoraproject.org
Wed Jan 12 16:15:42 UTC 2011
On Tue, 2011-01-11 at 21:28 +0100, Pierre-Yves wrote:
> 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.
>
Pierre,
I'm sorry for not replying - this week got busy with other work.
I think having
--requires --level=# --output=ascii-tree|dot-tree
and no --type option makes the most sense to me.
Thank You,
-sv
More information about the Yum-devel
mailing list