Include more package information in the progress output
authorPanu Matilainen <pmatilai@redhat.com>
Mon, 19 Mar 2012 06:43:58 +0000 (08:43 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Mon, 19 Mar 2012 06:53:24 +0000 (08:53 +0200)
commit9a15e18a63d1c45a50e866762091f3bb410fbac2
tree274b1229768961ec289b7bf9243a60b33ad6bfdd
parent0d3d3d83f145f99d7a7ffadc18e657932283480f
Include more package information in the progress output

- For non-hashed mode, dump the full NEVRA string. This might break
  programs that are parsing the --percent format, but such programs
  almost certainly need adjusting for the added erasure progress anyway.
- For hashed mode, show package NEVR instead of just name. Otherwise
  somebody will sooner or later file a bug on "confusing output"
  as it might seem it's removing what it just installed in upgrade-mode.
  Full NEVRA would be better still but screen estate is tight as it is...
- Also get rid of headerFormat() call here, use RPMTAG_NEVR(A) extensions
  instead.
lib/rpminstall.c