Merge lp:~mabac/svammel/log-filed-bugs into lp:svammel
Status: | Merged |
---|---|
Approved by: | James Westby |
Approved revision: | 78 |
Merged at revision: | 78 |
Proposed branch: | lp:~mabac/svammel/log-filed-bugs |
Merge into: | lp:svammel |
Diff against target: |
350 lines (+265/-3) 7 files modified
bug_reporting.py (+1/-1) config.py (+3/-0) file-failures.py (+18/-2) logging.py (+90/-0) tests/__init__.py (+1/-0) tests/fixtures.py (+2/-0) tests/test_bug_logging.py (+150/-0) |
To merge this branch: | bzr merge lp:~mabac/svammel/log-filed-bugs |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
James Westby (community) | Approve | ||
Review via email: mp+54319@code.launchpad.net |
Description of the change
Hi,
This branch adds the "nice to have" feature of avoiding to re-file bugs for build failures. There is already a check that there is no open bug on the failed software package with the default tags. It might however happen that a bug has been re-targeted or closed since we filed it and by logging the bug reports to file we avoid re-filing them.
For this to work it requires that the user supplies an existing log file with --logfile. If that parameter is not supplied at all, nothing will be logged.
The implementation assumes that having filed a bug against a particular version of a package makes reporting bugs for newer build failures on the same version uninteresting. That is regardless of which rebuild archive the first failure was found in, if the same log file is supplied. Failures on higher versions will always be reported though.
Thanks,
Mattias
Hi,
This looks great.
I'm not sure we should open the log file repeatedly, but it's just
a hunch, so I have no problem with this for now.
Thanks,
James