Access to branch and merge information of a bug
Hi,
I am trying to use python-launchpadlib to scour bugs in my project and look for all files that the bug fix / merge modified and the number of files. The way we see on the Launchpad's Bug UI, "Diff: x number of lines (+/-) , y files modified" , I would like to see this information from the python API.
From the API, doc, i think the following APIs would do the job, but I am unable to find them in the library!
https:/
https:/
https:/
The 'bug' object seems to have only the following methods: -->
bug.FIND_ATTRIBUTES bug.__reduce__ bug.bug_target_name bug.lp_entries
bug.FIND_
bug.FIND_ENTRIES bug.__repr__ bug.date_assigned bug.lp_
bug.JSON_MEDIA_TYPE bug.__setattr__ bug.date_closed bug.lp_
bug.__class__ bug.__sizeof__ bug.date_confirmed bug.lp_operations
bug.__delattr__ bug.__str__ bug.date_created bug.lp_refresh
bug.__dict__ bug.__subclassh
bug.__doc__ bug.__weakref__ bug.date_
bug.__eq__ bug._create_
The code below finds the number of fixed bugs for my project. I want to take it further and find the number and the name of the files that were affected.
---------------
from launchpadlib.
cachedir = '/home/
launchpad = Launchpad.
project = launchpad.
bugs = project.
num_of_bugs = 0
for bug in bugs:
print "%s:" % (bug.title)
num_of_bugs = num_of_bugs + 1
print "\n", "Total 'Fix Committed' bugs found were: ",num_of_bugs
-------
Kindly help me out here, am I missing out something?
Thanks!
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Rohit Karajgi
- Solved:
- Last query:
- Last reply: