interface to get manifest corresponding to file in installed package

Bug #1324853 reported by Colin Watson
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
click (Ubuntu)
Fix Released
High
Michael Vogt

Bug Description

For reporting crashes from click packages, we need an interface to get the package manifest corresponding to a file name in a click package. Currently this requires something like running "click pkgdir FILENAME" and then appending .click/info/PACKAGE-NAME.manifest, which is pretty awkward (not to mention requiring decomposing the directory name from pkgdir to find the package name) and we should wrap this up.

Related branches

Colin Watson (cjwatson)
Changed in click (Ubuntu):
status: New → Triaged
importance: Undecided → High
Revision history for this message
Michael Vogt (mvo) wrote :

As a bit of a drive-by I create a branch that solves this issue. The CLI interface looks like this:
$ click info /opt/click.ubuntu.com/com.ubuntu.calendar/0.4/dateExt.js
{
    "description": "Calendar application for Ubuntu devices"
...
}

if that looks acceptable I will write a integration test. If you prefer a different way of solving this, I'm happy to implement it differently.

Changed in click (Ubuntu):
status: Triaged → In Progress
Colin Watson (cjwatson)
Changed in click (Ubuntu):
status: In Progress → Fix Committed
assignee: nobody → Michael Vogt (mvo)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package click - 0.4.31.2

---------------
click (0.4.31.2) utopic; urgency=medium

  [ Michael Vogt ]
  * Add "click info" interface to get manifest corresponding to file in
    installed package (LP: #1324853).
  * Add support for click package gpg signatures (LP: #1330770).

  [ Colin Watson ]
  * Ugly hack to get coverage reporting working again with gcovr 3.1.

  [ Ubuntu daily release ]
  * New rebuild forced
 -- Ubuntu daily release <email address hidden> Fri, 22 Aug 2014 17:19:06 +0000

Changed in click (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.