File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/fosslight_dependency/package_manager Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ def parse_oss_information(self, f_name):
176176 if d [_private ]:
177177 private_pkg = True
178178
179- oss_item .homepage = self .dn_url + oss_init_name
179+ oss_item .download_location = self .dn_url + oss_init_name
180180 dn_loc = f"{ self .dn_url } { oss_init_name } /v/{ oss_item .version } "
181181 dep_item .purl = get_url_to_purl (dn_loc , self .package_manager_name )
182182 purl_dict [f'{ oss_init_name } ({ oss_item .version } )' ] = dep_item .purl
@@ -185,10 +185,10 @@ def parse_oss_information(self, f_name):
185185 elif private_pkg :
186186 dn_loc = ''
187187
188- oss_item .download_location = dn_loc
188+ oss_item .homepage = dn_loc
189189
190190 if private_pkg :
191- oss_item .homepage = oss_item .download_location
191+ oss_item .download_location = oss_item .homepage
192192 oss_item .comment = 'private'
193193 if self .package_name == f'{ oss_init_name } ({ oss_item .version } )' :
194194 oss_item .comment = 'root package'
You can’t perform that action at this time.
0 commit comments