[packagekit] packagekit: Branch 'master' - 2 commits
Richard Hughes
hughsient at kemper.freedesktop.org
Thu Jan 31 11:12:12 PST 2008
backends/conary/helpers/conaryBackend.py | 7 +++----
docs/html/pk-authors.html | 4 ++--
2 files changed, 5 insertions(+), 6 deletions(-)
New commits:
commit 2e3158cb0ee4294ea0aba79bf0fd3a6c0aef18c3
Author: Ken VanDine <ken at vandine.org>
Date: Thu Jan 31 12:08:17 2008 -0500
Provide summary data
diff --git a/backends/conary/helpers/conaryBackend.py b/backends/conary/helpers/conaryBackend.py
index 6eaa07d..b7e5609 100644
--- a/backends/conary/helpers/conaryBackend.py
+++ b/backends/conary/helpers/conaryBackend.py
@@ -121,13 +121,12 @@ class PackageKitConaryBackend(PackageKitBaseBackend):
name = troveTuple[0]
version = versions.ThawVersion(troveTuple[1])
flavor = deps.ThawFlavor(troveTuple[2])
- # We don't have summary data yet... so leave it blank for now
- summary = " "
+ id = self.get_package_id(name, version, flavor)
+ summary = self._get_metadata(id, 'shortDesc') or " "
troveTuple = tuple([name, version, flavor])
installed = self.check_installed(troveTuple)
if self._do_filtering(name,fltlist,installed):
- id = self.get_package_id(name, version, flavor)
self.package(id, installed, summary)
def _do_update(self, applyList, apply=False):
@@ -346,7 +345,7 @@ class PackageKitConaryBackend(PackageKitBaseBackend):
def _show_package(self,name, version, flavor, status):
''' Show info about package'''
id = self.get_package_id(name, version, flavor)
- summary = ""
+ summary = self._get_metadata(id, 'shortDesc') or ""
self.package(id, status, summary)
def _get_status(self, notice):
commit eeaa1aaace3118b47bce6bf91819b1e281b6a253
Author: Luke Macken <lmacken at redhat.com>
Date: Wed Jan 30 15:21:08 2008 -0500
Add my description.
diff --git a/docs/html/pk-authors.html b/docs/html/pk-authors.html
index 388c3d3..03b490f 100644
--- a/docs/html/pk-authors.html
+++ b/docs/html/pk-authors.html
@@ -139,12 +139,12 @@
<tr>
<td>
- <img src="img/author-unknown.png" alt="[img]"/><!-- image should be 120px wide -->
+ <img src="img/author-lmacken.png" alt="[img]"/>
</td>
<td>
<h2>Luke Macken</h2>
<p>
- Details needed...
+ Luke works on the Yum backend of PackageKit, as well as the general Python backend code. He hacks on Fedora full-time and contributes to various open-source projects such as <a href="http://linux.duke.edu/projects/yum/">yum</a>, <a href="http://fedorahosted.org/func">func</a>, and <a href="http://fedorahosted.org/bodhi">bodhi</a>. Luke recently graduated from <a href="http://rit.edu">RIT</a> with a degree in Computer Science, and has been working for <a href="http://redhat.com">Red Hat, Inc.</a> since 2005.
</p>
<p>
<b>Responsible for: yum backend</b>
More information about the PackageKit
mailing list