Support Apport in PPA: Closes #5697
This commit is contained in:
parent
befbba267c
commit
88f0b2c6ae
3 changed files with 34 additions and 0 deletions
5
debian/geary-crashdb.conf
vendored
Normal file
5
debian/geary-crashdb.conf
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
geary = {
|
||||
'impl' : 'launchpad',
|
||||
'project' : 'geary',
|
||||
'bug_pattern_base' : None,
|
||||
}
|
||||
3
debian/geary.install
vendored
Normal file
3
debian/geary.install
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
debian/geary-crashdb.conf etc/apport/crashdb.conf.d/
|
||||
debian/source_geary.py usr/share/apport/package-hooks/
|
||||
|
||||
26
debian/source_geary.py
vendored
Normal file
26
debian/source_geary.py
vendored
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
#!/usr/bin/python
|
||||
|
||||
'''Apport package hook for geary
|
||||
|
||||
(c) 2012 Robert Dyer, Rico Tzschichholz, Sergey "Shnatsel" Davidoff
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
'''
|
||||
|
||||
from apport.hookutils import *
|
||||
from os import path
|
||||
|
||||
def add_info(report, ui=None):
|
||||
if not apport.packaging.is_distro_package(report['Package'].split()[0]):
|
||||
report['CrashDB'] = 'geary'
|
||||
Loading…
Add table
Add a link
Reference in a new issue