Merge lp://staging/~ted/whoopsie/whitelist-large-fields into lp://staging/whoopsie
Status: | Merged |
---|---|
Merged at revision: | 630 |
Proposed branch: | lp://staging/~ted/whoopsie/whitelist-large-fields |
Merge into: | lp://staging/whoopsie |
Diff against target: |
331 lines (+177/-46) 3 files modified
src/tests/data/crash/valid (+110/-0) src/tests/test_parse_report.c (+4/-0) src/whoopsie.c (+63/-46) |
To merge this branch: | bzr merge lp://staging/~ted/whoopsie/whitelist-large-fields |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Brian Murray (community) | Approve | ||
Evan (community) | Needs Information | ||
Review via email: mp+231011@code.staging.launchpad.net |
Commit message
Allow whitelist to specify which fields can be large, not which are included
Description of the change
This branch changes the behavior of the whitelist of fields slightly. Instead of specifying which ones are included at all, it specifies which ones have unrestricted size. All of the fields get included if they have a size of less that 1KB. For the record:
<ev> tedg: sometimes we have big fields we want to carefully split
<ev> like Stacktrace :)
<tedg> ev, Sure, so let the whitelist be to avoid the size limits not to be in/out.
<tedg> ev, So, < 1KB or in whitelist
<ev> so any field below a certain size plus these big ones we care about?
<ev> yeah
<ev> works for me
<ev> I'll +1 that MP
<ev> but remind me I said this :)
<tedg> ev, K, I'll work on that MP
Looks good, but I'm not yet sold on pruning unwanted keys out. Question inline.