[packagekit] [PATCH] Add get-files
S.Çağlar Onur
caglar at pardus.org.tr
Sun Oct 28 17:02:29 PDT 2007
Hi James;
29 Eki 2007 Pts tarihinde, James Bowes şunları yazmıştı:
> Attached is a patch series that implements the new backend call
> get-files, along with sample yum implementation. Also note that
> get-description no longer sends the file list over D-Bus (though
> backends are still expected to return it, so things don't break).
>
> So what's next?
> - Changes to gnome-packagekit to support the new Description and Files
> (next email).
> - Implement get-files for all backends with get-description.
> - Remove the file list from all get-description instances, and associated
> pk-backend/engine code.
> - Documentation updates for get-description.
Seems like
@ 0005-Add-GetFiles-helper-code-for-python-backends.patch
+ def get_description(self, package):
+ '''
+ Implement the {backend}-get-files functionality
+ Needed to be implemented in a sub class
+ '''
+ self.error(ERROR_NOT_SUPPORTED, "This function is not implemented in this backend")
should be
+ def get_files(self, package):
+ '''
+ Implement the {backend}-get-files functionality
+ Needed to be implemented in a sub class
+ '''
+ self.error(ERROR_NOT_SUPPORTED, "This function is not implemented in this backend")
Cheers
--
S.Çağlar Onur <caglar at pardus.org.tr>
http://cekirdek.pardus.org.tr/~caglar/
Linux is like living in a teepee. No Windows, no Gates and an Apache in house!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/packagekit/attachments/20071029/b3cfe20d/attachment-0004.pgp>
More information about the PackageKit
mailing list