On Tue, 26 Oct 2010 18:13:25 +0200
Fabian Groffen <grob...@gentoo.org> wrote:

> On 26-10-2010 17:39:04 +0200, Tomáš Chvátal wrote:
> > So since I would like to have this script replace current eshowkw
> > one I want to ask you for kind help on that script and review it
> > and suggest improvements.

Great work!

> I think you should implement some means of selecting which archs you
> want to plot.  Preferably through some config file thing.  I'd think
> of specifying per arch, and or using predefined sets, e.g. to remove
> all prefix arches, since they spoil any output with huge unreadable
> matrices.

+1.

In fact my adapted version of the /old/ eshowkw already filters
everything after the line '^# Prefix keywords$' in profiles/arch.list,
simply because the entire bunch arch.list entries makes the output
broader than what happens to be my default $COLUMNS of 87, which breaks
the layout, and because I hardly ever need to know about the prefix
keywording.

Alternatively to arch.list, the script might be capable of parsing
profiles.desc in order to establish which arches can go stable, by
using information from the first and third columns, as well as getting
the best option out of the third column, so 'stable' for an arch which
also has 'dev' or 'exp' profiles. That could be used below.

> Have you ever played with rotating the view?  Some keywords are
> awfully long, like sparc64-solaris.  Most versions are shorter.
> In case the number of versions is small, you could even have the
> versions in columnar style (e.g. not vertical, just a column spanning
> a couple of chars), such that it is much better readable.

+1.

> Maybe consider a raw, tab, csv alike output format, for easy parsing
> by other scripts?  Could perhaps handy to render it alternatively as
> xml, latex, etc.

+1.

Combined with the arch masking option, this could easily show a package
maintainer which arches to call on a stabilisation request. All too
often an arch is forgotten or needlessly added, when a script parsing
arch.list/profiles.desc could easily sort it out and even print a list
of a...@gentoo.org aliases.


     jer

Reply via email to