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):
176
176
if d [_private ]:
177
177
private_pkg = True
178
178
179
- oss_item .homepage = self .dn_url + oss_init_name
179
+ oss_item .download_location = self .dn_url + oss_init_name
180
180
dn_loc = f"{ self .dn_url } { oss_init_name } /v/{ oss_item .version } "
181
181
dep_item .purl = get_url_to_purl (dn_loc , self .package_manager_name )
182
182
purl_dict [f'{ oss_init_name } ({ oss_item .version } )' ] = dep_item .purl
@@ -185,10 +185,10 @@ def parse_oss_information(self, f_name):
185
185
elif private_pkg :
186
186
dn_loc = ''
187
187
188
- oss_item .download_location = dn_loc
188
+ oss_item .homepage = dn_loc
189
189
190
190
if private_pkg :
191
- oss_item .homepage = oss_item .download_location
191
+ oss_item .download_location = oss_item .homepage
192
192
oss_item .comment = 'private'
193
193
if self .package_name == f'{ oss_init_name } ({ oss_item .version } )' :
194
194
oss_item .comment = 'root package'
You can’t perform that action at this time.
0 commit comments