[Bug 1271633] Re: libclick needs API for determining the current supported framework(s)
Launchpad Bug Tracker
1271633 at bugs.launchpad.net
Tue Mar 11 19:12:48 UTC 2014
This bug was fixed in the package click - 0.4.18.1
---------------
click (0.4.18.1) trusty; urgency=medium
[ Colin Watson ]
* If a user attempts to install a version of a package that is already
installed in an underlay database, then just register the appropriate
version for them rather than unpacking another copy.
* Make "click hook run-system" and "click hook run-user" consistently use
the bottom-most unpacked copy of a given version of a package, and
update hook symlinks and user registration symlinks if necessary.
click (0.4.18) trusty; urgency=medium
* Give gir1.2-click-0.4 an exact-versioned dependency on libclick-0.4-0.
* Use is_symlink helper method in a few more places.
* Add a similar is_dir helper method.
* Ignore extraneous non-directories when walking a database root in
Click.DB.get_packages and Click.DB.gc.
* Make the PackageKit plugin tolerate the "_removable" dynamic manifest
key being changed to a boolean in the future.
* Document that users of "_removable" should tolerate it being a boolean.
* Use libclick when removing packages, listing packages, or searching
packages via the PackageKit plugin.
* Add libclick interfaces to get package manifests, both individually
(LP: #1287692) and for all installed packages (LP: #1287693).
* Override description-starts-with-package-name Lintian error for click;
this is describing the system as a whole rather than naming the package.
* Add libclick interfaces to get the list of frameworks supported by the
current system (LP: #1271633) and various properties of those frameworks
(LP: #1287694).
-- Ubuntu daily release <ps-jenkins at lists.canonical.com> Tue, 11 Mar 2014 17:22:10 +0000
** Changed in: click (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to click in Ubuntu.
https://bugs.launchpad.net/bugs/1271633
Title:
libclick needs API for determining the current supported framework(s)
Status in “click” package in Ubuntu:
Fix Released
Bug description:
unity-scope-click needs to know the currently supported framework(s)
to send to the click apps server in app searches.
from cjwatson's email on Jan 22 2014:
Please file a bug on the Ubuntu click package about this so that I don't
forget. I think it would be best to add an API for this as part of the
libclick work. In the meantime the following Python code or equivalent
should be safe (although please include a reference to any packages
where you've open-coded this in your bug report on click):
def installed_frameworks():
ext = ".framework"
for name in os.listdir("/usr/share/click/frameworks"):
if name.endswith(ext):
yield name[:-len(ext)]
The corresponding bug for the scope is here:
https://bugs.launchpad.net/ubuntu/+source/unity-scope-click/+bug/1267190
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/click/+bug/1271633/+subscriptions
More information about the foundations-bugs
mailing list