[Bugtracker] Bugtracker should use launchpadlib to retrieve bug information from Launchpad
Bug #476080 reported by
Terence Simpson
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu IRC Bots |
Fix Released
|
Medium
|
Terence Simpson |
Bug Description
Now that the Launchpad API is becoming more stable and robust the Bugtracker plugin should attempt to use the launchpadlib python package to retrieve bug information for the Launchpad tracker.
This would allow bug lookup to be much faster than the current /+text approach, so even asking for "bug #1" would not time-out easily.
Some notes on this:
I have implemented this on my development bot (nubotu) but this requires pre-created credentials, as there is no anonymous login for launchpadlib yet (bug #385517)
Related branches
lp:~jpds/ubuntu-bots/bugs-via-launchpad-api
Rejected
for merging
into
lp:~tsimpson/ubuntu-bots/tweak
- Terence Simpson: Disapprove (belated)
-
Diff: 164 lines (+63/-62)1 file modifiedBugtracker/plugin.py (+63/-62)
summary: |
- Bugtracker should use launchpadlib to retrieve bug information from - Launchpad + [Bugtracker] Bugtracker should use launchpadlib to retrieve bug + information from Launchpad |
tags: | added: bugtracker |
To post a comment you must log in.
This is actually already implemented in the Bugtracker code, although it will still fallback to the old +text interface if it can't access the launchpad API.