Merge lp:~dobey/ubuntuone-client/apport-newonly into lp:ubuntuone-client

Proposed by dobey on 2012-03-15
Status: Merged
Approved by: dobey on 2012-03-16
Approved revision: 1211
Merged at revision: 1210
Proposed branch: lp:~dobey/ubuntuone-client/apport-newonly
Merge into: lp:ubuntuone-client
Diff against target: 68 lines (+2/-29)
1 file modified
data/source_ubuntuone-client.py (+2/-29)
To merge this branch: bzr merge lp:~dobey/ubuntuone-client/apport-newonly
Reviewer Review Type Date Requested Status
Eric Casteleijn (community) 2012-03-15 Approve on 2012-03-15
Review via email: mp+97750@code.launchpad.net

Commit Message

Don't attach old useless log files, and clean up the report a little

To post a comment you must log in.
Eric Casteleijn (thisfred) wrote :

+1

review: Approve
Ubuntu One Auto Pilot (otto-pilot) wrote :
Download full text (24.8 KiB)

The attempt to merge lp:~dobey/ubuntuone-client/apport-newonly into lp:ubuntuone-client failed. Below is the output from the failed tests.

/usr/bin/gnome-autogen.sh
checking for autoconf >= 2.53...
  testing autoconf2.50... not found.
  testing autoconf... found 2.68
checking for automake >= 1.10...
  testing automake-1.11... found 1.11.3
checking for libtool >= 1.5...
  testing libtoolize... found 2.4.2
checking for intltool >= 0.30...
  testing intltoolize... found 0.50.2
checking for pkg-config >= 0.14.0...
  testing pkg-config... found 0.26
checking for gtk-doc >= 1.0...
  testing gtkdocize... found 1.18
Checking for required M4 macros...
Checking for forbidden M4 macros...
Processing ./configure.ac
Running libtoolize...
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
Running intltoolize...
Running gtkdocize...
Running aclocal-1.11...
Running autoconf...
Running autoheader...
Running automake-1.11...
Running ./configure --enable-gtk-doc --enable-debug ...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to co...

1211. By dobey on 2012-03-16

Fix lint warnings

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'data/source_ubuntuone-client.py'
2--- data/source_ubuntuone-client.py 2011-02-09 14:40:29 +0000
3+++ data/source_ubuntuone-client.py 2012-03-16 01:23:18 +0000
4@@ -1,6 +1,6 @@
5 # Apport integration for Ubuntu One client
6 #
7-# Copyright 2009 Canonical Ltd.
8+# Copyright 2009-2012 Canonical Ltd.
9 #
10 # This program is free software: you can redistribute it and/or modify it
11 # under the terms of the GNU General Public License version 3, as published
12@@ -17,7 +17,7 @@
13 # pylint: disable-msg=F0401,C0103
14 # shut up about apport. We know. We aren't going to backport it for pqm
15 import apport
16-from apport.hookutils import attach_file_if_exists, packaging
17+from apport.hookutils import attach_file_if_exists
18 import os.path
19 from xdg.BaseDirectory import xdg_cache_home, xdg_config_home
20
21@@ -28,11 +28,8 @@
22 u1_client_log = os.path.join(u1_log_path, "syncdaemon.log")
23 u1_except_log = os.path.join(u1_log_path, "syncdaemon-exceptions.log")
24 u1_invalidnames_log = os.path.join(u1_log_path, "syncdaemon-invalid-names.log")
25-u1_oauth_log = os.path.join(u1_log_path, "oauth-login.log")
26-u1_prefs_log = os.path.join(u1_log_path, "u1-prefs.log")
27 u1_sd_conf = os.path.join("etc", "xdg", "ubuntuone", "syncdaemon.conf")
28 u1_usersd_conf = os.path.join(u1_user_config_path, "syncdaemon.conf")
29-u1_user_conf = os.path.join(u1_user_config_path, "ubuntuone-client.conf")
30
31
32 def add_info(report):
33@@ -41,35 +38,11 @@
34 "UbuntuOneSyncdaemonExceptionsLog")
35 attach_file_if_exists(report, u1_invalidnames_log,
36 "UbuntuOneSyncdaemonInvalidNamesLog")
37- attach_file_if_exists(report, u1_oauth_log,
38- "UbuntuOneOAuthLoginLog")
39- attach_file_if_exists(report, u1_prefs_log,
40- "UbuntuOnePreferencesLog")
41 attach_file_if_exists(report, u1_usersd_conf,
42 "UbuntuOneUserSyncdaemonConfig")
43 attach_file_if_exists(report, u1_sd_conf,
44 "UbuntuOneSyncdaemonConfig")
45- attach_file_if_exists(report, u1_user_conf,
46- "UbuntuOneClientConfig")
47
48 if not apport.packaging.is_distro_package(report['Package'].split()[0]):
49 report['ThirdParty'] = 'True'
50 report['CrashDB'] = 'ubuntuone'
51-
52- packages = ['ubuntuone-client',
53- 'python-ubuntuone-client',
54- 'ubuntuone-client-tools',
55- 'ubuntuone-client-gnome',
56- 'python-ubuntuone-storageprotocol',
57- 'ubuntuone-ppa-beta']
58-
59- versions = ''
60- for package in packages:
61- try:
62- version = packaging.get_version(package)
63- except ValueError:
64- version = 'N/A'
65- if version is None:
66- version = 'N/A'
67- versions += '%s %s\n' % (package, version)
68- report['UbuntuOneClientPackages'] = versions

Subscribers

People subscribed via source and target branches