[pacman-dev] [PATCH 0/2] Add color support in -Ql and option to output in tree format

Bill Kolokithas freestyler7 at gmail.com
Wed Nov 6 20:07:56 EST 2013


Hello. This is my first contribution.
I Wanted to enhance -Ql output so i prepared 2 patches.
The first one is quite trivial, so i don't think there will be a problem.
The second one i'm not quite sure you'll want it in pacman instead of an
external tool like pkgfile or pactree.
I'm submitting it anyways so you can take a look. Right now you need to pass
2 (or more) -l flags in -Q(uery) to activate it. This is obviously very naive
and it will break some flag combinations.
This is just a proof of concept. If you like it, then a seperate flag like
--tree can be added.

Thanks for any feedback!

Bill Kolokithas (2):
  Make folders appear in bold when listing files owned by a package.
  Add Query flag to list all files contained in a package in a tree format.

 src/pacman/package.c | 84 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 src/pacman/package.h |  1 +
 src/pacman/pacman.c  |  2 +-
 src/pacman/query.c   |  4 ++-
 4 files changed, 89 insertions(+), 2 deletions(-)

--
1.8.4.2



More information about the pacman-dev mailing list