[packagekit] Yum backend RequireReboot

David Zeuthen david at fubar.dk
Wed Oct 3 10:44:17 PDT 2007


On Wed, 2007-10-03 at 18:14 +0100, Richard Hughes wrote:
> Yes, we need this for GetUpdateDetail:
> 
>     <signal name="UpdateDetail">
>       <arg type="s" name="tid" direction="out"/>
>       <arg type="s" name="package_id" direction="out"/>
>       <arg type="s" name="updates" direction="out"/>
>       <arg type="s" name="obsoletes" direction="out"/>
>       <arg type="s" name="url" direction="out"/>
>       <arg type="s" name="restart" direction="out"/>
                  ^^
Should probably s/s/b/ and s/restart/requires_restart/ here.

>       <arg type="s" name="update_text" direction="out"/>
>     </signal>
> 
> We can extend this as required. Yell if you want to add anything.

This is hard to extend as it would require changing the signature for
the UpdateDetail() signal and thus break the ABI. 

You probably want to use key/value pairs (basically a dict: string ->
any) for optional stuff (e.g. no need to stuff 'tid', 'updates',
'obsoletes' etc. into the dict).

      David





More information about the PackageKit mailing list