File tree Expand file tree Collapse file tree 4 files changed +13
-8
lines changed Expand file tree Collapse file tree 4 files changed +13
-8
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " defectdojo" ,
3
- "version" : " 2.15.0 " ,
3
+ "version" : " 2.15.1 " ,
4
4
"license" : " BSD-3-Clause" ,
5
5
"private" : true ,
6
6
"dependencies" : {
Original file line number Diff line number Diff line change 4
4
# Django starts so that shared_task will use this app.
5
5
from .celery import app as celery_app # noqa
6
6
7
- __version__ = '2.15.0 '
7
+ __version__ = '2.15.1 '
8
8
__url__ = 'https://github.com/DefectDojo/django-DefectDojo'
9
9
__docs__ = 'https://documentation.defectdojo.com'
Original file line number Diff line number Diff line change @@ -2802,13 +2802,18 @@ def get_file_path_with_link(self):
2802
2802
return None
2803
2803
if self .test .engagement .source_code_management_uri is None :
2804
2804
return escape (self .file_path )
2805
+ link = self .test .engagement .source_code_management_uri
2805
2806
if "https://github.com/" in self .test .engagement .source_code_management_uri :
2806
- if self .test .engagement .commit_hash is not None :
2807
- link = self .test .engagement .source_code_management_uri + '/blob/' + self .test .engagement .commit_hash + '/' + self .file_path
2807
+ if self .test .commit_hash is not None :
2808
+ link += '/blob/' + self .test .commit_hash + '/' + self .file_path
2809
+ elif self .test .engagement .commit_hash is not None :
2810
+ link += '/blob/' + self .test .engagement .commit_hash + '/' + self .file_path
2811
+ elif self .test .branch_tag is not None :
2812
+ link += '/blob/' + self .test .branch_tag + '/' + self .file_path
2808
2813
elif self .test .engagement .branch_tag is not None :
2809
- link = self . test . engagement . source_code_management_uri + '/blob/' + self .test .engagement .branch_tag + '/' + self .file_path
2814
+ link += '/blob/' + self .test .engagement .branch_tag + '/' + self .file_path
2810
2815
else :
2811
- link = self . test . engagement . source_code_management_uri + '/' + self .file_path
2816
+ link += '/' + self .file_path
2812
2817
if self .line :
2813
2818
link = link + '#L' + str (self .line )
2814
2819
return create_bleached_link (link , self .file_path )
Original file line number Diff line number Diff line change 1
1
apiVersion : v2
2
- appVersion : " 2.15.0 "
2
+ appVersion : " 2.15.1 "
3
3
description : A Helm chart for Kubernetes to install DefectDojo
4
4
name : defectdojo
5
- version : 1.6.42
5
+ version : 1.6.43
6
6
icon : https://www.defectdojo.org/img/favicon.ico
7
7
maintainers :
8
8
- name : madchap
You can’t perform that action at this time.
0 commit comments