lp:ubuntu/jaunty/apport

Created by Ubuntu Package Importer and last modified
Get this branch:
bzr branch lp:ubuntu/jaunty/apport
Members of Ubuntu branches can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Ubuntu branches
Review team:
Ubuntu Development Team
Status:
Abandoned

Recent revisions

153. By Martin Pitt

[ Martin Pitt ]
* Rename etc/default/apport.default to etc/default/apport (brown paperbag),
  and add debian/apport.preinst to remove the apport.default file on
  upgrades. (LP: #361543)
* debian/rules: Call dh_installinit with --onlyscripts, so that the package
  calls update-rc.d again. This fixes the calling of init script again,
  which got broken in 1.0-0ubuntu1. (LP: #361579)

[ Matt Zimmerman ]
* package-hooks/source_linux.py: Attach /etc/initramfs-tools/conf.d/resume to
  show the resume device for hibernation

152. By Martin Pitt

etc/default/apport.default: Disable Apport by default for the final
release.

151. By Matt Zimmerman

* apport/hookutils.py: Factor out package_versions() to generate a simple
  text listing of relevant package versions and use it in attach_printing()
* apport/hookutils.py: Add new function attach_relevant_packages() to attach
  version information (and perhaps eventually run hooks?) for related
  packages
* apport/hookutils.py: Add glob matching to package_versions()
* apport/hookutils.py: Add fuser info and dmesg to attach_alsa
* apport/hookutils.py: Add codec info to attach_alsa

150. By Martin Pitt

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

149. By Martin Pitt

* Apport has a proper upstream trunk now (lp:apport) and made an 1.0
  upstream release. Use this as an orig.tar.gz. This does not change any
  code for Jaunty, just removes the Fedora/OpenSUSE specific .spec and init
  scripts.
* Add bzr-builddeb configuration (merge mode).
* Add debian/watch for upstream releases on Launchpad.
* Drop debian/python-apport.postinst, obsolete for a long time.

148. By Martin Pitt

Do some internal cleanup of distribution specific stuff:

* problem_report.py, man/apport-unpack.1: Fix description of .crash file
  syntax (RFC822, not "Debian control").
* Move cron.daily, init script, and default file from debian/ to etc/, and
  install them in setup.py. These files are appropriate for upstream
  installation.
* Move crashdb.conf and doc/README.blacklist to etc/, to simplify setup.py.
* setup.py: Move *.mo generation/installation into my_install_data class,
  for cleanliness.
* Move installation of missing packages for retracing from
  bin/apport-retrace to new abstract interface apport/packaging.py,
  install_retracing_packages() and remove_packages(), and move the apt/dpkg
  code to backends/packaging-apt-dpkg.py. This removes a major piece of
  apt/dpkg specific code from non-backends.
* bin/apport-retrace: Rename option --no-dpkg to --no-pkg and update
  bin/apport-chroot accordingly.
* Move bin/apport-chroot and man/apport-chroot.1 to debian/local, since they
  are totally Debian/Ubuntu specific.
* debian/local/setup-apport-retracer: Update apport-chroot and crashdb.conf
  paths for above changes.
* apport/hookutils.py, files_in_package(): Replace dpkg-query call with
  packaging.get_files(), to avoid Debianism.
* man/apport-retrace.1: Drop reference to "apt", simply talk about package
  installation.

Bug fixes:

* setup.py: Fix homepage URL.
* debian/local/apport-chroot: If multiple distro IDs point to the same
  chroot, do not upgrade them more than once with "upgrade all".

147. By Martin Pitt

[ Matt Zimmerman ]
* apport/hookutils.py: add attach_media_build to include information about
  the build of installation media in use (i.e. in a casper live CD
  environment)
* general-hooks/ubuntu.py: use attach_media_build (LP: #351781)
* bin/apportcheckresume: Use attach_file_if_exists rather than attach_file to
  avoid spurious error messages about non-existent log files (LP: #351973)

[ Martin Pitt ]
* debian/local/ubuntu-bug: Drop generic passthrough of apport-{cli,gtk,kde}
  options since this leads to too much confusion. Instead just support a
  single argument and check whether it is a pid, a package name, a .crash
  file, or a program path. This does the right thing when calling it with a
  .crash file (LP: #347392) and fixes the help output (LP: #344923) Update
  manpage accordingly.
* apport/hookutils.py: Move attach_media_build() to
  general-hooks/ubuntu.py, since it is Ubuntu specific.
* bin/apport-retrace: Fix KeyError crash on bugs with an ExecutablePath
  which does not exist any more. Close the bug as invalid instead.
  (LP: #352331)
* bin/kernel_oops: Add "kernel-oops" tag. Since both bin/kernel_oops and
  bin/apportcheckresume use the "kerneloops" bug class, it previously was
  hard to filter out the bug reports which were real oopses. (LP: #349621)

146. By Andy Whitcroft

* bin/apportcheckresume: report the pm-suspend.log/pm-hibernate.log
  from /var/lib.
* bin/apportcheckresume: only attempt to attach the stress log if its is
  present.
* bin/apportcheckresume, debian/apport.init: add detection for late
  resume hangs, those where the user thinks the system was working.
  (LP: #335323)

145. By Martin Pitt

* apport/report.py, _generate_sigsegv_report(): Turn into a class method, so
  that it can be used by test cases in other modules as well. Also add
  missing Signal field.
* apport/crashdb_impl/launchpad.py: Fully enable operation with
  staging.launchpad.net.
* apport/crashdb_impl/launchpad.py: Add initial test suite, performing data
  upload, Python and SEGV bug reporting, report download, report updating,
  tag and duplicate handling. This happens on staging.launchpad.net.
* apport/crashdb.py: Add new interface duplicate_of(id) to return the master
  bug of a duplicate. Also document that close_duplicate() with "None"
  master bug will un-duplicate the bug.
* apport/crashdb_impl/{launchpad,memory}.py: Implement duplicate_of() and
  add test cases. The Launchpad test case reproduces the
  "duplicate-of-a-duplicate" regression, which now got fixed in
  python-launchpad-bugs bzr head.
* apport/ui.py, open_url(): Also consider a sesssion as "GNOME" if gconfd-2
  is running; some variants such as UNR do not have gnome-panel; this fixes
  using the preferred browser for them. (LP: #322386)
* debian/local/apport-collect: Add new option -p to explicitly specify a
  (binary) package name instead of guesstimating it from the bug's source
  package tasks. Document new option in debian/local/apport-collect.1.
  (LP: #333875)
* apport/crashdb.py, duplicate_db_consolidate(): Add logging about removing
  invalidated bugs from the duplicate database, now that this actually
  works.
* debian/local/ubuntu-bug.1: Update for the possibility to specify a package
  name or PID without any options. Also document the "ubuntu-bug linux"
  special case. (LP: #348985)
* debian/local/ubuntu-bug.1: Add missing documentation of the case of
  specifying a path name.
* backends/packaging-apt-dpkg.py: When unpacking source trees, try
  "debian/rules setup" last, since it is the least common variant.
* debian/local/ubuntu-fat-chroot: Divert away
  /usr/lib/xulrunner-1.9.1b3/xulrunner-bin. It is called on debian/rules
  patch in xulrunner-1.9.1 and hangs eternally in the fakechroots. This is
  only a temporary kludge, though, until the next xulrunner version lands.
* apport/crashdb_impl/launchpad.py: Add test case: Update a bug report which
  got marked as a duplicate during processing. This reproduces #349407.
* apport/crashdb_impl/launchpad.py, update(): Intercept and ignore IOErrors
  when changing the bug priority. This happens if a bug gets duplicated
  underneath us. (LP: #349407)
* apport/crashdb.py, get_crashdb(): Print syntax errors from parsing
  conf.d/*.conf to stderr.
* apport/crashdb_impl/launchpad.py: Support new CrashDB option "project"
  which can be set to a LP project name to file bugs against that project
  instead of the distribution. Add test case for filing crash bug against a
  project, updating it, duplicating/unduplicating it, and determining fixed
  version. (LP: #338835)
* bin/crash-digger: If apport-retrace exits with 99, consider it a transient
  error and just stop the retracer, but don't leave the lock file behind.
  Add appropriate test case to test-crash-digger.
* bin/apport-retrace: If apt update fails due to a "hash sum mismatch", exit
  with a "transient error" code, to stop (but not break) the retracing
  cycle.

144. By Martin Pitt

* apport/crashdb_impl/launchpad.py: Fix typo in previous upload.
* debian/local/apport-collect: Do not crash on
  launchpadlib.errors.HTTPError, but give a proper error message and point
  out that this script needs "change anything" privileges. (LP: #338201)
* apport_python_hook.py: Fix crash for already existing reports, and make
  behaviour equivalent to bin/apport: Silently exit for existing unseen
  crash report, and overwrite existing seen crash report. Add test cases.
  (LP: #323714)
* general-hooks/automatix.py: Refuse to send bug reports when ultamatix is
  installed.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:ubuntu/quantal/apport
This branch contains Public information 
Everyone can see this information.

Subscribers