Comment 0 for bug 1148116

Revision history for this message
Brian Murray (brian-murray) wrote : third_party check in submit.py may not be working properly

I was querying for columns in the counters column family starting with 'Ubuntu ' as I was looking for the counts of bugs reported about packages. In the column family I discovered 'Ubuntu 12.10:indicator-stickynotes' and was having trouble finding errors for that package because it is from a PPA. Given that the package is from a PPA it shouldn't be appearing in the counters column family at all though.

From daisy/submit.py:

    package = data.get('Package', '')
    src_package = data.get('SourcePackage', '')
    problem_type = data.get('ProblemType', '')
    third_party = False
    if '[origin:' in package:
        third_party = True

Then before running update_release_pkg_counter we check for 'if not third_party'. Looking at least some of the oops for indicator-stickynotes all of them had '[origin:' in the Package key.