ubuntu-bug no longer understands -p

Bug #356755 reported by Brian Murray
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Fix Released
High
Martin Pitt
Nominated for Karmic by Սահակ

Bug Description

Binary package hint: apport

ubuntu-bug was updated to support just a single command line option which is great, however as a result of this now 'ubuntu-bug -p xorg' no longer works at all. This is an unfortunate change because the bug filing instructions for multiple packages:

bughelper.txt: $ ubuntu-bug -p bughelper
kubuntu-restricted-extras.txt: $ ubuntu-bug -p ubuntu-restricted-extras
linux-meta.txt: ubuntu-bug -p linux
linux.txt: ubuntu-bug -p $packagename
openoffice.txt: ubuntu-bug -p $packagename
openoffice.txt.~1~:ubuntu-bug -p $packagename
openoffice.txt.~2~:ubuntu-bug -p $packagename
template.txt: $ ubuntu-bug -p $packagename
xorg.txt: $ ubuntu-bug -p $packagename

All indicate that the ubuntu-bug command should work with the -p switch. While they could all be updated the new command 'ubuntu-bug -p apport' wouldn't work on Hardy which people still file bugs from would require the '-p' switch. Subsequently, the ability to use the '-p' switch should be added back to ubuntu-bug and when Hardy is no longer supported the bug filing instructions could be updated and the '-p' switch dropped.

Changed in apport (Ubuntu):
assignee: nobody → pitti
importance: Undecided → High
Martin Pitt (pitti)
Changed in apport (Ubuntu):
status: New → In Progress
Martin Pitt (pitti)
Changed in apport (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apport - 1.0-0ubuntu2

---------------
apport (1.0-0ubuntu2) jaunty; urgency=low

  * backends/packaging-apt-dpkg.py: Add missing shutil import.
  * debian/local/ubuntu-bug: Filter out -p and -P, for backwards calling
    compatibility. (LP: #356755)

 -- Martin Pitt <email address hidden> Mon, 06 Apr 2009 23:04:39 -0700

Changed in apport (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Սահակ (petrosyan) wrote :

this bug is still present in apport-1.9.1-0ubuntu2, in Ubuntu 9.10

Changed in apport (Ubuntu):
status: Fix Released → Confirmed
Martin Pitt (pitti)
Changed in apport (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Marco Rodrigues (gothicx) wrote :

I can confirm it.

$ ubuntu-bug -p apport
Usage: /usr/bin/ubuntu-bug <pid>|<symptom name>|<package name>|<program path>|<.crash file>

Revision history for this message
Martin Pitt (pitti) wrote :

I'll add the backwards-compatibility option back to the ubuntu branch. But over time we still need to update the documentation to drop -p. Where are those .txt files? These are the bug filing instructions in Launchpad? (Now that +filebug was disabled for most people, this is hopefully a bit less relevant)

Revision history for this message
Martin Pitt (pitti) wrote :

ubuntu branch r1550

Changed in apport (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Brian Murray (brian-murray) wrote :

Yes, those are from the bug filing instructions in Launchpad for those specific packages. I believe that only Hardy requires the '-p' option so after the next LTS comes out we could remove the '-p' from package bug filing instructions.

Revision history for this message
Martin Pitt (pitti) wrote : Re: [Bug 356755] Re: ubuntu-bug no longer understands -p

Brian Murray [2009-09-29 15:47 -0000]:
> I believe that only Hardy requires the '-p' option

Confirmed.

> so after the next LTS comes out we could remove the '-p' from
> package bug filing instructions.

Agreed. Thanks!

--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)

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

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

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

  * New upstream bug fix release:
    - apport-cli: Print the URL and ask whether to open a browser. In many
      situations (such as usage on a server through ssh), it's preferable to not
      open the browser on the reporting computer. Thanks to Matt Zimmerman for the
      initial patch! (LP: #286415)
    - general-hooks/generic.py: Collect important glib errors/assertions (which
      should not have private data) from ~/.xsession-errors (LP: #431807)
    - launchpad.py: Link hardware data submission key if it exists. (LP: #424382)
    - apport-cli: Fix crash with non-ASCII characters in prompts.
    - Fix "apport-bug symptomname" to actually work.
    - launchpad.py: Fix crash on invalid credentials file. Thanks to Marco
      Rodrigues for the initial patch! (LP: #414055)
  * man/apport-bug.1: Document APPORT_IGNORE_OBSOLETE_PACKAGES (cherrypicked
    from trunk), and APPORT_STAGING (Ubuntu specific change, since it's a
    launchpad backend specific variable).
  * bin/apport-bug: Ignore -p option when giving two arguments, to keep
    compatibility with current bug filing instructions. (LP: #356755)
  * debian/copyright: Update copyright year and fix GPL link, thanks Marco
    Rodrigues!

 -- Martin Pitt <email address hidden> Fri, 02 Oct 2009 13:25:58 +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.