yum.rpmtrans

NoOutputCallBack

class yum.rpmtrans.NoOutputCallBack
errorlog(msg)

takes a simple error msg string

event(package, action, te_current, te_total, ts_current, ts_total)

@param package: A yum package object or simple string of a package name @param action: A yum.constant transaction set state or in the obscure

rpm repackage case it could be the string ‘repackaging’
@param te_current: current number of bytes processed in the transaction
element being processed
@param te_total: total number of bytes in the transaction element being
processed

@param ts_current: number of processes completed in whole transaction @param ts_total: total number of processes in the transaction.

filelog(package, action)

package is the same as in event() - a package object or simple string action is also the same as in event()

scriptout(package, msgs)

package is the package. msgs is the messages that were output (if any).

RPMBaseCallback

class yum.rpmtrans.RPMBaseCallback

Base class for a RPMTransaction display callback class

event(package, action, te_current, te_total, ts_current, ts_total)

@param package: A yum package object or simple string of a package name @param action: A yum.constant transaction set state or in the obscure

rpm repackage case it could be the string ‘repackaging’
@param te_current: Current number of bytes processed in the transaction
element being processed
@param te_total: Total number of bytes in the transaction element being
processed

@param ts_current: number of processes completed in whole transaction @param ts_total: total number of processes in the transaction.

scriptout(package, msgs)

package is the package. msgs is the messages that were output (if any).

SimpleCliCallBack

class yum.rpmtrans.SimpleCliCallBack

Bases: yum.rpmtrans.RPMBaseCallback

_WrapNoExceptions

class yum.rpmtrans._WrapNoExceptions(parent)

RPMTransaction

class yum.rpmtrans.RPMTransaction(base, test=False, display=<class yum.rpmtrans.NoOutputCallBack at 0x1bc73f8>)
ts_all()

write out what our transaction will do

ts_done(package, action)

writes out the portions of the transaction which have completed

ts_done_open()

Open the transaction done file, must be started outside the chroot.

ts_done_write(msg)

Write some data to the transaction done file.

Table Of Contents

Previous topic

yum.rpmsack

Next topic

yum.sqlitesack

This Page