Report tentative matches when scanning text for remote bug URLs

Bug #245167 reported by Gavin Panella
8
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

The MySQL bug tracker has two URL forms for a bug:

  http://bugs.mysql.com/24788

and

  http://bugs.mysql.com/bug.php?id=24788

`BugWatchSet.parsePHPProjectURL()` can safely match the longer form, and `BugWatchSet.extractBugTrackerAndBug()` will auto-create a bug tracker based on those details, or reuse an existing tracker.

However, the shorter form is probably too general to safely match and auto-create a bug tracker from. But if the bug tracker is already registered, we probably should match it.

The `BugWatchSet.parse*URL` methods each return a 2-tuple, of (base_url, remote_bug). They could be changed to return a 3-tuple, of (base_url, remote_bug, tentative), where `tentative` is a boolean. `BugWatchSet.extractBugTrackerAndBug()` would then not auto-create a bug tracker if an existing one is not found. It should also continue to try and find a non-tentative match before falling back on the tentative match.

Curtis Hovey (sinzui)
Changed in malone:
status: New → Triaged
importance: Undecided → Low
tags: added: bugwatch feature
Curtis Hovey (sinzui)
visibility: private → public
Revision history for this message
Robert Collins (lifeless) wrote :

I don't understand what this is about - to whom would we report this?

Revision history for this message
Robert Collins (lifeless) wrote :

I suspect this is something like 'bugwatches to site:1234' do not autocreate a bug watch or something.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.