With the exception of patch 5, these are independent patches. However as they overlap in places, posting this as a series of patches, but please ack/nak individually on principle of what each patch does.
Patches 1-3 are just cleanups / minor optimizations, but 1 and 3 can be considered API changes. If you dont want them, no big deal, it'll only require minor adjustments to patches 4/5. Patch 4 is the real meat here, as it unifies the callback key handling into a helper and makes patch 5 to add a new callback mode with txmbr as the sole callback key so trivial. Panu Matilainen (5): Simplify callback file open/close Remove unnecessary "magic number" test Eliminate linear search for names in callback Unify callback key guessworks into helper function Add a new opt-in callback mode where only txmbr is used as the key cli.py | 1 + yum/depsolve.py | 10 +++- yum/rpmtrans.py | 171 +++++++++++++++++++++++++----------------------------- 3 files changed, 89 insertions(+), 93 deletions(-) -- 1.7.4 _______________________________________________ Yum-devel mailing list [email protected] http://lists.baseurl.org/mailman/listinfo/yum-devel
