[pacman-dev] [PATCH] Verbose package list now show if packages are explicit or dependencies

Allan McRae allan at archlinux.org
Mon Jun 9 06:59:45 EDT 2014

On 07/06/14 23:03, Andrew Gregory wrote:
> On 05/10/14 at 04:48pm, Guillaume Bouchard wrote:
>> When verbose package is activated, the table is displayed two times,
>> once for explicit packages and a second time for dependencies.
>> This helps understanding the upgrade process. You can focus on on
>> explicit package and gives less attention to dependencies.
>> Design choices:
>> -- If a table does not fit in terminal width, it fallbacks to traditional
>> compact display, but this fallback can happen on none, one or both
>> tables

None, or both.  I don't like the half-way here.

>> -- The header name stay short, "Package" and "Dependancies". This is to
>> avoid too long column name, but i think it is enough explicit as is.
>> ---
>>  src/pacman/util.c | 59 +++++++++++++++++++++++++++++++++++++++++++------------
>>  1 file changed, 46 insertions(+), 13 deletions(-)
> I'm not a fan of having two independent tables, especially when one
> might be printed as a table and the other a list, but I do like the
> idea of making it easy to pick out the packages I actually care about.
> The patch needs a few fixes, but I'll give the overall change a +1
> unless somebody has a better way to provide the information.

I'm not a fan of two tables either.  And there is constantly a request
to highlight new dependencies so we need a third...

I do not think there is a good answer to this problem.


More information about the pacman-dev mailing list