triage report: link to source code
This commit is contained in:
parent
70408e9a38
commit
07d43068ba
|
@ -52,12 +52,18 @@ for result in results.split('\n'):
|
|||
elif result in falsepositives:
|
||||
css = 'fp'
|
||||
classification = 'Not bug'
|
||||
href = None
|
||||
|
||||
html = ' <tr>'
|
||||
html += '<td class='+css+'>'+filename+'</td>'
|
||||
html += '<td class='+css+'>'+linenr+'</td>'
|
||||
html += '<td class='+css+'>'+message+'</td>'
|
||||
html += '<td class='+css+'>'+classification+'</td>'
|
||||
if project=='linux-3.11':
|
||||
href = 'http://github.com/torvalds/linux/blob/v3.11' + filename[filename.find('/'):] + '#L' + linenr
|
||||
if href:
|
||||
html += '<td class='+css+'><a href="' + href + '">' + classification + '</a></td>'
|
||||
else:
|
||||
html += '<td class='+css+'>' + classification + '</td>'
|
||||
html += '</tr>\n'
|
||||
|
||||
out[css] += html
|
||||
|
|
Loading…
Reference in New Issue