Changes between Version 14 and Version 15 of YumDBusAPI

Show
Ignore:
Author:
timlau (IP: 83.92.101.205)
Timestamp:
02/17/11 17:54:18 (7 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • YumDBusAPI

    v14 v15  
    102102 
    103103---- 
    104 === Packages === 
     104== Packages == 
    105105 
    106106=== !GetPackages(pkg_narrow) (DONE) === 
    190190will run the current transaction (Download, signature check, test transaction, transaction) 
    191191 
     192---- 
     193== high-level Methods== 
     194Simple method to emulate yum cli actions 
     195there methods will find packages matching the argument and add them to the transaction 
     196and return the transaction result for confirmation. 
     197The transaction can then be executed by calling RunTransaction 
     198 
     199=== Install(args) === 
     200Do the same as "yum install args" 
     201 
     202=== Remove(args) === 
     203Do the same as "yum remove args" 
     204 
     205=== Update(args) === 
     206Do the same as "yum update args" 
     207 
     208=== Reinstall(args) === 
     209Do the same as "yum reinstall args" 
     210 
     211=== Downgrade(args) === 
     212Do the same as "yum downgrade args" 
    192213 
    193214---- 
    217238 
    218239 
    219 === RPMProgress(self, pkg_id, action, te_current, te_total, ts_current, ts_total) (DONE) === 
     240=== RPMProgress(pkg_id, action, te_current, te_total, ts_current, ts_total) (DONE) === 
    220241package: A package id or simple string of a package name[[BR]] 
    221242action: the action being performed ( install,cleanup .....)[[BR]] 
    225246ts_total: total number of processes in the transaction.[[BR]] 
    226247 
     248=== Progress(action, percent) === 
     249action = action being performed 
     250percent = the progress of the whole transaction in percent 
     251 
     252 
    227253= Comments = 
    228254 * timlau: Change method names to !CamelCase to follow the [http://dbus.freedesktop.org/doc/dbus-specification.html#naming-conventions D-Bus naming convention]