[Rpm-maint] [PATCH 1/2] Add RPMTAG_AUTOINSTALLED

Jeff Johnson n3npq at me.com
Wed Mar 14 14:54:36 UTC 2018


Two other comments on AUTOINSTALLED:

1) Use a string (or string array) with values like "manual" and "auto" rather than bits. The meaning is more intuitive, and avoids lots of fluff everywhere to Name Those Bits! with --query and in bindings.

2) Use a header extension outside of rpm to permit accessing AUTOINSTALLED  with --queryformat. Header extension tables can be chained together to permit callbacks to other routines.
(there may be some minor rpm API resurrections needed, but the basic functionality to chain is likely still intact in rpm even if lightly used).

hth

73 de Jeff


More information about the Rpm-maint mailing list