[Bug 1293788] Re: Output of list --manifest is inconsistent with info command
Colin Watson
cjwatson at canonical.com
Tue Mar 18 10:03:43 UTC 2014
Using libclick for this should include _directory, albeit not
_removable. But yes, I'll fix this, thanks.
--
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/1293788
Title:
Output of list --manifest is inconsistent with info command
Status in “click” package in Ubuntu:
New
Bug description:
The following bit of JSON is output with "click list --manifest" for
the weather app:
{
"_directory": "/usr/share/click/preinstalled/.click/users/@all/com.ubuntu.weather",
"_removable": 1,
"description": "Weather application",
"framework": "ubuntu-sdk-13.10",
"hooks": {
"weather": {
"apparmor": "apparmor.json",
"desktop": "com.ubuntu.weather_weather.desktop",
"urls": "com.ubuntu.weather_weather.url-dispatcher"
}
},
"icon": "weather-app at 30.png",
"installed-size": "5415",
"maintainer": "Ubuntu App Cats <ubuntu-touch-coreapps at lists.launchpad.net>",
"name": "com.ubuntu.weather",
"title": "weather",
"version": "1.1.219",
"x-source": {
"vcs-bzr": "lp:ubuntu-weather-app",
"vcs-bzr-revno": "219"
},
"x-test": {
"autopilot": "ubuntu_weather_app"
}
}
However, "click info com.ubuntu.weather" shows the following:
{
"description": "Weather application",
"framework": "ubuntu-sdk-13.10",
"hooks": {
"weather": {
"apparmor": "apparmor.json",
"desktop": "com.ubuntu.weather_weather.desktop",
"urls": "com.ubuntu.weather_weather.url-dispatcher"
}
},
"icon": "weather-app at 30.png",
"installed-size": "5415",
"maintainer": "Ubuntu App Cats <ubuntu-touch-coreapps at lists.launchpad.net>",
"name": "com.ubuntu.weather",
"title": "weather",
"version": "1.1.219",
"x-source": {
"vcs-bzr": "lp:ubuntu-weather-app",
"vcs-bzr-revno": "219"
},
"x-test": {
"autopilot": "ubuntu_weather_app"
}
}
As you can see, the _removable and _directory fields are not present
in the "info" output. The same is true when using libclick to get the
information, instead of the click command line tool. It should be
possible to get this information for a specific click package, without
having to get the info for all packages, and then parse the output to
find the package one cares about.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/click/+bug/1293788/+subscriptions
More information about the foundations-bugs
mailing list