apport-gtk/apport-qt should display version information (e.g. "--version")

Bug #383694 reported by Daniel Hahler
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Fix Released
Wishlist
Marco Rodrigues

Bug Description

Binary package hint: apport

Please provide an option "--version/-v" for apport-qt/apport-gtk (and where appropriate also).

$ /usr/share/apport/apport-qt --version
Usage: apport-qt [options]

apport-qt: error: no such option: --version

Tags: bitesize
Daniel Hahler (blueyed)
Changed in apport (Ubuntu):
importance: Undecided → Wishlist
Revision history for this message
Martin Pitt (pitti) wrote :

Leo wanted to work on this. We can add this to apport/ui.py's existing optparser.

This requires moving the version number from setup.py to apport/ui.py (preferably __version__), importing/using that in setup.py, and adapting the version update code in the do-release script.

Changed in apport (Ubuntu):
assignee: nobody → Leo Albert Jackson Jr (lajjr)
status: New → Triaged
Revision history for this message
Joker Wild (lajjr-deactivatedaccount) wrote :

Martin,

Sure I will be in the same source area. So yes of course.
Regards,
Leo

Changed in apport (Ubuntu):
status: Triaged → In Progress
Martin Pitt (pitti)
tags: added: bitesize
Revision history for this message
Martin Pitt (pitti) wrote :

Leo, please reassign back to you if you are still interested in working on this.

Changed in apport (Ubuntu):
assignee: Leo Albert Jackson Jr (lajjr) → nobody
status: In Progress → Triaged
tags: removed: bitesize
Changed in apport (Ubuntu):
assignee: nobody → Marco Rodrigues (gothicx)
status: Triaged → In Progress
Changed in apport (Ubuntu):
status: In Progress → Confirmed
Revision history for this message
Martin Pitt (pitti) wrote :

Merged to trunk r1537, thanks Marco!

tags: added: bitesize
Changed in apport (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

Sorry, that was r1573.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apport - 1.9-0ubuntu1

---------------
apport (1.9-0ubuntu1) karmic; urgency=low

  * New upstream release:
    - Add "do what I mean" mode to command line argument parsing (applies to
      all interfaces: -cli, -gtk, -kde). When giving a single argument and no
      options, determine the most likely mode, like reporting a bug against a
      symptom, package, executable name, or PID.
    - Add program "apport-bug" which determines the most appropriate user
      interface (GTK, KDE, CLI) and files a bug through it, using the single
      argument "do what I mean" mode. This is an improved version of Ubuntu's
      "ubuntu-bug" script.
    - Update apport-cli manpage to current set of options and behaviour. Also
      point out that apport-gtk and apport-kde share the same CLI.
    - setup.py now installs apport-{gtk,kde} into $prefix/share/apport/, they
      are not supposed to be called directly. This also reflects the path
      which the .desktop files expect.
    - setup.py now installs the internal helper scripts like
      "kernel_crashdump", "apport", or "apportcheckresume" into
       $prefix/share/apport instead of $prefix/bin.
    - Update usage of gettext to work around Python bug of gettext() not
      returning unicodes, but str. Fixes UnicodeDecodeErrors on translated
      --help output.
    - Add missing gettext wrapping for user-visible strings in
      apport-{retrace,unpack} and ui.py; thanks to Marco Rodrigues!
    - backends/packaging-apt-dpkg.py: Robustify get_{source,architecture} for
      uninstalled packages
    - ui.py: Add --version option. Thanks Marco Rodrigues! (LP: #383694)
  * debian/local/apport-collect: Fix KeyError crash on nonexisting LP bug
    number. Thanks Marco Rodrigues! (LP: #424273)
  * debian/control: Bump Standards-Version to 3.8.3 (no changes necessary).
  * debian/local/apport-collect: Point out that you need to select "Change
    anything" privileges. (LP: #373700)
  * debian/control: Drop obsolete texlive-latex-recommended build dependency.
  * debian/rules: Drop --install-scripts, upstream now installs the files and
    binaries into the right place. Adapt debian/*.install accordingly.
  * Drop debian/local/ubuntu-bug{,.1} and replace them with symlinks to
    apport-bug{,.1}, which is a more robust version of ubuntu-bug.

 -- Martin Pitt <email address hidden> Tue, 08 Sep 2009 15:53:33 +0200

Changed in apport (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.