fosslight-source 2.1.3__py3-none-any.whl → 2.1.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- fosslight_source/cli.py +8 -5
- {fosslight_source-2.1.3.dist-info → fosslight_source-2.1.5.dist-info}/METADATA +2 -2
- {fosslight_source-2.1.3.dist-info → fosslight_source-2.1.5.dist-info}/RECORD +7 -7
- {fosslight_source-2.1.3.dist-info → fosslight_source-2.1.5.dist-info}/WHEEL +1 -1
- {fosslight_source-2.1.3.dist-info → fosslight_source-2.1.5.dist-info}/LICENSE +0 -0
- {fosslight_source-2.1.3.dist-info → fosslight_source-2.1.5.dist-info}/entry_points.txt +0 -0
- {fosslight_source-2.1.3.dist-info → fosslight_source-2.1.5.dist-info}/top_level.txt +0 -0
fosslight_source/cli.py
CHANGED
|
@@ -174,12 +174,15 @@ def create_report_file(
|
|
|
174
174
|
for i, output_extension in enumerate(output_extensions):
|
|
175
175
|
if output_files[i] is None or output_files[i] == "":
|
|
176
176
|
if formats:
|
|
177
|
-
if formats[i].startswith('spdx'):
|
|
178
|
-
if platform.system()
|
|
179
|
-
|
|
180
|
-
else:
|
|
181
|
-
logger.warning('spdx format is not supported on Windows. Please remove spdx from format.')
|
|
177
|
+
if formats[i].startswith('spdx') or formats[i].startswith('cyclonedx'):
|
|
178
|
+
if platform.system() == 'Windows':
|
|
179
|
+
logger.warning(f'{formats[i]} is not supported on Windows.Please remove {formats[i]} from format.')
|
|
182
180
|
to_remove.append(i)
|
|
181
|
+
else:
|
|
182
|
+
if formats[i].startswith('spdx'):
|
|
183
|
+
output_files[i] = f"fosslight_spdx_src_{_start_time}"
|
|
184
|
+
elif formats[i].startswith('cyclonedx'):
|
|
185
|
+
output_files[i] = f'fosslight_cyclonedx_src_{_start_time}'
|
|
183
186
|
else:
|
|
184
187
|
if output_extension == _json_ext:
|
|
185
188
|
output_files[i] = f"fosslight_opossum_src_{_start_time}"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: fosslight-source
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.5
|
|
4
4
|
Summary: FOSSLight Source Scanner
|
|
5
5
|
Home-page: https://github.com/fosslight/fosslight_source_scanner
|
|
6
6
|
Author: LG Electronics
|
|
@@ -18,7 +18,7 @@ Description-Content-Type: text/markdown
|
|
|
18
18
|
Requires-Dist: pyparsing
|
|
19
19
|
Requires-Dist: scanoss<=1.14.0
|
|
20
20
|
Requires-Dist: XlsxWriter
|
|
21
|
-
Requires-Dist: fosslight-util>=2.1.
|
|
21
|
+
Requires-Dist: fosslight-util>=2.1.6
|
|
22
22
|
Requires-Dist: PyYAML
|
|
23
23
|
Requires-Dist: wheel>=0.38.1
|
|
24
24
|
Requires-Dist: intbitset
|
|
@@ -4,13 +4,13 @@ fosslight_source/_license_matched.py,sha256=-3H881XQjFDafRttBsuboS3VbCPYEvPH1pwW
|
|
|
4
4
|
fosslight_source/_parsing_scancode_file_item.py,sha256=4U8wTuuNm-2-hanTxiQr2FvHTBrf2ZwESyea_E8caHU,13466
|
|
5
5
|
fosslight_source/_parsing_scanoss_file.py,sha256=Ss6BWTdT1Q43xTT9GBwL6XyzHT2p57ymVm04NL76Vbg,4506
|
|
6
6
|
fosslight_source/_scan_item.py,sha256=2RdnH5ZvrD7yjGxaHAIgSLmhq0dyW1379RScqPYJtOI,5679
|
|
7
|
-
fosslight_source/cli.py,sha256=
|
|
7
|
+
fosslight_source/cli.py,sha256=8-l4npRWZdabkDywThm8pe9KBf4soJDIRjuVIlmeaC0,15843
|
|
8
8
|
fosslight_source/run_scancode.py,sha256=leq-FuGwX-kBg-sNZXQ-DSKy-uTj7w2QBFeOLgyvPxc,7094
|
|
9
9
|
fosslight_source/run_scanoss.py,sha256=Z7iebJk9NJegoI2m2PT4hw3Qs294KhFwWxpcEnWn15U,5354
|
|
10
10
|
fosslight_source/run_spdx_extractor.py,sha256=Hr9sTv06cJaVITy8amwexIW2FV8_rUcFw6hKmR9ZYws,1990
|
|
11
|
-
fosslight_source-2.1.
|
|
12
|
-
fosslight_source-2.1.
|
|
13
|
-
fosslight_source-2.1.
|
|
14
|
-
fosslight_source-2.1.
|
|
15
|
-
fosslight_source-2.1.
|
|
16
|
-
fosslight_source-2.1.
|
|
11
|
+
fosslight_source-2.1.5.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
12
|
+
fosslight_source-2.1.5.dist-info/METADATA,sha256=14NPsCAnq15O8ArP1KqbjnbcjwcR64e0SLoah7RNvk8,3393
|
|
13
|
+
fosslight_source-2.1.5.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
|
14
|
+
fosslight_source-2.1.5.dist-info/entry_points.txt,sha256=NzFURHC4L8uf1PmnZ2uGQcZxR7UbYCgjetb_9aPHV-w,114
|
|
15
|
+
fosslight_source-2.1.5.dist-info/top_level.txt,sha256=C2vw-0OIent84Vq-UEk1gt_kK1EL8dIItzBzp3WNyA4,17
|
|
16
|
+
fosslight_source-2.1.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|