On 12/19/12 12:39, Tim Foster wrote:
...
Sure, the attached shows us running pkg verify/fix and then pkgrepo
verify/fix.
pkgrepo doesn't take the columnar approach that pkg(1) does - partly
because the ERROR column doesn't actually contain anything for pkg(1),
so I don't think it adds much to the output, but also because pkgrepo
can emit WARNING messages too, though there's only one in the code so
far, so it seems like a waste of a column.
pkgrepo(1) also doesn't indent details of the error, but instead
line-separates groups of errors. When we have lots of detail to print
(for example, the pkgrepo error where we've found an invalid signature)
I think this results in more clarity.
pkglint(1) differs from both, in that it always prints the whole message
on a single line, letting the terminal deal with the wrapping. This
makes pkglint(1) easier to script with, but I wouldn't expect either
'pkg verify/fix' or 'pkgrepo verify/fix' to be used that way.
This is all reasonable.
-Shawn
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss