This repository was archived by the owner on Nov 28, 2023. It is now read-only.
Commit 62bc3a2 1 parent 8bbe66e commit 62bc3a2 Copy full SHA for 62bc3a2
File tree 3 files changed +4
-7
lines changed
3 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -312,7 +312,6 @@ def summary():
312
312
key = key )
313
313
314
314
status_url = 'http://{host}:{port}/api/status' .format (host = running_host , port = running_port )
315
- logger .critical (status_url )
316
315
post_data = {
317
316
'key' : key ,
318
317
'sid' : a_sid ,
@@ -340,7 +339,6 @@ def summary():
340
339
elif len (split_target ) == 2 :
341
340
target , branch = target_str , 'master'
342
341
else :
343
- logger .critical ('[API] Target url exception: {u}' .format (u = target_str ))
344
342
target , branch = target_str , 'master'
345
343
still_running [s_sid ] = {'target' : target ,
346
344
'branch' : branch }
@@ -373,7 +371,6 @@ def summary():
373
371
elif len (split_target ) == 2 :
374
372
target , branch = target_str , 'master'
375
373
else :
376
- logger .critical ('Target url exception: {u}' .format (u = target_str ))
377
374
target , branch = target_str , 'master'
378
375
379
376
target_info .update ({
Original file line number Diff line number Diff line change 14
14
import csv
15
15
import json
16
16
import os
17
- from codecs import open ,BOM_UTF8
17
+ from codecs import open , BOM_UTF8
18
18
19
19
from prettytable import PrettyTable
20
20
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ $(function () {
108
108
$ ( '.commit-author' ) . text ( '@' + data . commit_author ) ;
109
109
$ ( '.commit-time' ) . text ( '@' + data . commit_time ) ;
110
110
$ ( '.v-level' ) . text ( score2level [ data . level ] ) ;
111
- $ ( '.v-type' ) . text ( data . rule_name ) ;
111
+ $ ( '.v-type' ) . text ( 'CVI-' + data . id + ' ' + data . rule_name ) ;
112
112
$ ( '.v-solution' ) . text ( data . solution ) ;
113
113
// $('.v-rule').text(data.match_result);
114
114
}
@@ -341,8 +341,8 @@ $(function () {
341
341
' data-start="1" data-line="1">' +
342
342
'<strong>MVE-' + ( i + 1 ) + '</strong><br><span>' + list [ i ] . file_path + line + '</span><br>' +
343
343
'<span class="issue-information">' +
344
- '<small>' +
345
- ' => ' + list [ i ] . commit_time +
344
+ '<small>' + 'CVI-' + list [ i ] . id +
345
+ ' => ' + list [ i ] . rule_name +
346
346
'</small>' +
347
347
'</span>' +
348
348
'</li>' ;
You can’t perform that action at this time.
0 commit comments