Add new properties to BaseBugTracker and subclasses.
Review Request #15258 — Created Aug. 31, 2026 and submitted
This change adds several new properties to the bug-tracker service
implementations:
bug_tracker_labelis used as the default field label for trackers on that
service (e.g. a GitHub repo will show "GitHub Issues:" instead of
"Bugs:")supports_bug_infois a flag that will allow us to more efficiently
check if a hosting service includes theget_bug_info()method.supports_bug_searchis a new flag to indicate whether a bug tracker
backend supports interactive searching for bugs.bugs_in_repois a flag to indicate that a service's tracker is bound
to its repository (e.g. GitHub Issues). For services where this is the
case, the tracker is added individually for each repo instead of
having a central config that can link to multiple repositories.
Ran unit tests.
| Summary | ID |
|---|---|
| psxzukwyzltknkyvtllssyuyxzpmyrxn |
| Description | From | Last Updated |
|---|---|---|
|
Typo in bugs_in_repo section in the description: "a service's tracker in bound ..." -> is. |
|
|
|
We don't actually replace the isinstance(bug_tracker, BaseBugTracker) check in BugInfoboxView.get() with supports_bug_info in this change, we should do that. |
|
|
|
Looks like this attribute was supposed to be added to BaseHostingService instead of here? In this change you set it … |
|
|
|
Looks like this attribute was supposed to be added to BaseHostingService, since we're using it to check whether a hosting … |
|
|
|
I don't see a search_bugs method here or in any of the other Bug Tracker changes you have up. |
|
- Description:
-
This change adds several new properties to the bug-tracker service
implementations: ~ - bug_tracker_label` is used as the default field label for trackers on that
service (e.g. a GitHub repo will show "GitHub Issues:" instead of
"Bugs:")
~ bug_tracker_labelis used as the default field label for trackers on that
service (e.g. a GitHub repo will show "GitHub Issues:" instead of
"Bugs:")
supports_bug_infois a flag that will allow us to more efficiently
check if a hosting service includes theget_bug_info()method.
supports_bug_searchis a new flag to indicate whether a bug tracker
backend supports interactive searching for bugs.
bugs_in_repois a flag to indicate that a service's tracker in bound
to its repository (e.g. GitHub Issues). For services where this is the
case, the tracker is added individually for each repo instead of
having a central config that can link to multiple repositories.
- bug_tracker_label` is used as the default field label for trackers on that
-
-
-
We don't actually replace the
isinstance(bug_tracker, BaseBugTracker)check inBugInfoboxView.get()withsupports_bug_infoin this change, we should do that. -
Looks like this attribute was supposed to be added to
BaseHostingServiceinstead of here? In this change you set it on all of the hosting services that aren't subclasses ofBaseBugTracker. -
Looks like this attribute was supposed to be added to
BaseHostingService, since we're using it to check whether a hosting service is also a bug tracker. Otherwise it doesn't really make sense to have this attribute, we'd still need to be doing ahasattr(service, 'supports_bug_info')sort of check. -
- Description:
-
This change adds several new properties to the bug-tracker service
implementations: bug_tracker_labelis used as the default field label for trackers on that
service (e.g. a GitHub repo will show "GitHub Issues:" instead of
"Bugs:")
supports_bug_infois a flag that will allow us to more efficiently
check if a hosting service includes theget_bug_info()method.
supports_bug_searchis a new flag to indicate whether a bug tracker
backend supports interactive searching for bugs.
~ bugs_in_repois a flag to indicate that a service's tracker in bound
to its repository (e.g. GitHub Issues). For services where this is the
case, the tracker is added individually for each repo instead of
having a central config that can link to multiple repositories.
~ bugs_in_repois a flag to indicate that a service's tracker is bound
to its repository (e.g. GitHub Issues). For services where this is the
case, the tracker is added individually for each repo instead of
having a central config that can link to multiple repositories.
- Commits:
-
Summary ID psxzukwyzltknkyvtllssyuyxzpmyrxn psxzukwyzltknkyvtllssyuyxzpmyrxn - Diff:
-
Revision 2 (+154 -4)