/usr/bin/ls-assigned-bugs is in python-launchpadlib-toolkit 0.5.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | #!/usr/bin/python
from lpltk import LaunchpadService
#lp = LaunchpadService(config={'read_only':True})
lp = LaunchpadService()
d = lp.load_project("ubuntu")
print lp.launchpad.me.display_name
for bugtask in d.searchTasks(assignee=lp.launchpad.me):
print bugtask.title
print " Reported by: ",bugtask.owner.display_name
print " Importance: ",bugtask.importance
print " Status: ",bugtask.status
print " Assigned on: ",bugtask.date_assigned
if bugtask.milestone:
print " Milestone: ",bugtask.milestone.name
print
|