[Bug 1271633] Re: libclick needs API for determining the current supported framework(s)
Colin Watson
cjwatson at canonical.com
Tue Mar 4 13:08:36 UTC 2014
** Tags added: libclick
--
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:
Triaged
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