These are internal only for now to allow us gain soem more confidence on the design.
rpmlogOnce allows showing a log message only once. rpmlogReset allows purging the list of known message keys for a given domain. This allows for different live times e.g. per transaction or per package. Use in handleHdrVS. This does not add a new test case but various existing test cases fail when the NOKEY message is omited or shown more than once. The code uses the pointer to the rpmts object as a domain and resets it when the rpmts is freed. Resolves: #3336 Resolves: #3333 You can view, comment on, or merge this pull request online at: https://github.com/rpm-software-management/rpm/pull/3417 -- Commit Summary -- * Add rpmlogOnce() and rpmlogReset() -- File Changes -- M lib/package.cc (31) M lib/rpmts.cc (2) M rpmio/rpmlog.cc (45) A rpmio/rpmlog_internal.hh (23) -- Patch Links -- https://github.com/rpm-software-management/rpm/pull/3417.patch https://github.com/rpm-software-management/rpm/pull/3417.diff -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/3417 You are receiving this because you are subscribed to this thread. Message ID: <rpm-software-management/rpm/pull/3...@github.com>
_______________________________________________ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint