APPORT_FILES in launchpad.py seems hard to manage
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Fix Released
|
Medium
|
Martin Pitt |
Bug Description
Binary package hint: apport
In crashdb_
APPORT_FILES = ('Dependencies.
def filter_
for attachment in attachments:
f = attachment.
name = f.filename
if name in APPORT_FILES or name.startswith
yield f
which specifies which attachments are searchable by bug patterns. So if I want to search BootDmesg.txt, which is added by the linux package hook, I'd need to add it to APPORT_FILES. I don't think this scales very well though.
Changed in apport (Ubuntu): | |
assignee: | nobody → Martin Pitt (pitti) |
I've got a bugpattern that I want to push, but needs this issue resolved first as my bug pattern needs to search either OopsText.txt or BootDmesg.txt.
ogasawara@ emiko:~ /ubuntu- bugpatterns$ bzr diff /bugs.launchpad .net/bugs/ 417222"> alLog"> /boot/grub/ menu.lst: Operation not supported</re> /bugs.launchpad .net/bugs/ 422536">
=== modified file 'linux.xml'
--- linux.xml 2009-08-28 00:20:55 +0000
+++ linux.xml 2009-10-15 23:02:26 +0000
@@ -23,4 +23,7 @@
<pattern url="https:/
<re key="DpkgTermin
</pattern>
+ <pattern url="https:/
+ <re key="OopsText">EDAC amd64: WARNING: ECC is NOT currently enabled by the BIOS. Module will NOT be loaded.</re>
+ </pattern>
</patterns>