Output of list --manifest is inconsistent with info command
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
click (Ubuntu) |
Fix Released
|
Medium
|
Colin Watson |
Bug Description
The following bit of JSON is output with "click list --manifest" for the weather app:
{
"hooks": {
}
},
"icon": "weather-
"name": "com.ubuntu.
"title": "weather",
"version": "1.1.219",
"x-source": {
},
"x-test": {
}
}
However, "click info com.ubuntu.weather" shows the following:
{
"description": "Weather application",
"framework": "ubuntu-sdk-13.10",
"hooks": {
"weather": {
"urls": "com.ubuntu.
}
},
"icon": "weather-
"installed-
"maintainer": "Ubuntu App Cats <email address hidden>",
"name": "com.ubuntu.
"title": "weather",
"version": "1.1.219",
"x-source": {
"vcs-bzr": "lp:ubuntu-weather-app",
},
"x-test": {
}
}
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.
Related branches
- Colin Watson: Approve
- Ubuntu CI managed package branches: Pending requested
-
Diff: 485 lines (+269/-70)11 files modifiedREADME (+1/-0)
click/build.py (+10/-22)
click/framework.py (+138/-0)
click/install.py (+8/-28)
click/paths.py.in (+1/-0)
click/tests/helpers.py (+29/-0)
click/tests/test_build.py (+39/-5)
click/tests/test_install.py (+2/-4)
debian/changelog (+8/-0)
doc/file-format.rst (+1/-2)
doc/index.rst (+32/-9)
summary: |
- _removable flag only output with list command, not info + Output of list --manifest is inconsistent with info command |
Changed in click (Ubuntu): | |
status: | New → Fix Committed |
importance: | Undecided → Medium |
assignee: | nobody → Colin Watson (cjwatson) |
Using libclick for this should include _directory, albeit not _removable. But yes, I'll fix this, thanks.