Merge lp:~gothicx/apport/retrace_installed_none into lp:~apport-hackers/apport/trunk
Proposed by
Marco Rodrigues
Status: | Rejected |
---|---|
Rejected by: | Martin Pitt |
Proposed branch: | lp:~gothicx/apport/retrace_installed_none |
Merge into: | lp:~apport-hackers/apport/trunk |
Diff against target: | None lines |
To merge this branch: | bzr merge lp:~gothicx/apport/retrace_installed_none |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Martin Pitt (community) | Disapprove | ||
Review via email:
|
To post a comment you must log in.
Unmerged revisions
- 1596. By Marco Rodrigues
-
Don't abort retrace if installed package version is None
- 1595. By Marco Rodrigues
-
Add default tags for distro id / codename
http:// bazaar. launchpad. net/~gothicx/ apport/ retrace_ installed_ none/revision/ 1595:
> hdr['Tags'] += ' ' + report[ 'DistroRelease' ].split( )[0].lower + ' ' + report[ 'DistroRelease' ].split( )[2]
This has some problems:
* It will immediately crash because "lower" is a function, not a function call. This obviously hasn't been tested.
* We should not assume that lsb_release delivers a code name on all distributions out there, so it should be tested more carefully first.
* There is no need to add a tag for the first field. The bugs will already be filed against the "Ubuntu" distribution in Launchpad, tagging them all with "ubuntu" is just redundant.
http:// bazaar. launchpad. net/~gothicx/ apport/ retrace_ installed_ none/revision/ 1596:
Can you please reproduce this locally with python-apt first, and perhaps put this as a reproducer into the test suite? I suppose this happens with virtual packages or something similar. Simply papering over the faulty case merely hides the underlying problem.