[Rpm-maint] [RFC] Move all informative messages to stderr by default (ticket #31)

Panu Matilainen pmatilai at laiskiainen.org
Tue Oct 25 08:20:14 UTC 2016


On 10/13/2016 09:41 AM, Panu Matilainen wrote:
> Rpm has always spewed all sorts of "informative" messages into stdout
> where it gets mixed up with user requested information such as query
> output, complicating scripts unnecessarily and also breaking unix
> traditions.
>
> Make the user-requested output (namely query and verify output) go to
> stdout by explicitly fprintf()'ing it there, and all of rpmlog()
> output goes to stderr (or other specified logfile).
>
> Fixes rpm.org ticket #31, RhBug:1358861, RhBug:247239, RhBug:439290...
> OTOH it *will* break scripts people use for querying etc. Making
> scripts compatible with both old and new behavior shouldn't be hard, but
> it does require changes and some *will* complain. So obviously not
> 4.13 material, target would be the next major release after that.
>
> Comments, thoughts?

Ping? No comments at all on a proposal that'd likely break half the 
scripts created around rpm queries?

	- Panu -



More information about the Rpm-maint mailing list