It should be possible to specific custom URL validation per bug tracker types for BugTracker creation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
Low
|
Unassigned |
Bug Description
When someone manually creates a new BugTracker they can specify any URL they want as long as it's a valid URL. It doesn't have to have any connection to the actual bug tracker type that they've specified.
This makes errors in checkwatches runs quite common because checkwatches expects the base URLs of bug trackers to be correctly formatted for a given BugTrackerType. If they aren't checkwatches OOPSes and BugWatches go un-updated.
We should add a means by which we can validate the URL entered for a given BugTrackerType. That way we can tell the user if the URL they've entered makes no sense for a given type of bug tracker and save ourselves some trouble with correcting nonsensical URLs.