fosslight-source 2.1.2__tar.gz → 2.1.3__tar.gz
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-2.1.2 → fosslight_source-2.1.3}/PKG-INFO +1 -1
- {fosslight_source-2.1.2 → fosslight_source-2.1.3}/requirements.txt +1 -1
- {fosslight_source-2.1.2 → fosslight_source-2.1.3}/setup.py +1 -1
- {fosslight_source-2.1.2 → fosslight_source-2.1.3}/src/fosslight_source/cli.py +3 -1
- {fosslight_source-2.1.2 → fosslight_source-2.1.3}/src/fosslight_source/run_scanoss.py +2 -0
- {fosslight_source-2.1.2 → fosslight_source-2.1.3}/src/fosslight_source.egg-info/PKG-INFO +1 -1
- {fosslight_source-2.1.2 → fosslight_source-2.1.3}/src/fosslight_source.egg-info/requires.txt +1 -1
- {fosslight_source-2.1.2 → fosslight_source-2.1.3}/LICENSE +0 -0
- {fosslight_source-2.1.2 → fosslight_source-2.1.3}/MANIFEST.in +0 -0
- {fosslight_source-2.1.2 → fosslight_source-2.1.3}/README.md +0 -0
- {fosslight_source-2.1.2 → fosslight_source-2.1.3}/setup.cfg +0 -0
- {fosslight_source-2.1.2 → fosslight_source-2.1.3}/src/fosslight_source/__init__.py +0 -0
- {fosslight_source-2.1.2 → fosslight_source-2.1.3}/src/fosslight_source/_help.py +0 -0
- {fosslight_source-2.1.2 → fosslight_source-2.1.3}/src/fosslight_source/_license_matched.py +0 -0
- {fosslight_source-2.1.2 → fosslight_source-2.1.3}/src/fosslight_source/_parsing_scancode_file_item.py +0 -0
- {fosslight_source-2.1.2 → fosslight_source-2.1.3}/src/fosslight_source/_parsing_scanoss_file.py +0 -0
- {fosslight_source-2.1.2 → fosslight_source-2.1.3}/src/fosslight_source/_scan_item.py +0 -0
- {fosslight_source-2.1.2 → fosslight_source-2.1.3}/src/fosslight_source/run_scancode.py +0 -0
- {fosslight_source-2.1.2 → fosslight_source-2.1.3}/src/fosslight_source/run_spdx_extractor.py +0 -0
- {fosslight_source-2.1.2 → fosslight_source-2.1.3}/src/fosslight_source.egg-info/SOURCES.txt +0 -0
- {fosslight_source-2.1.2 → fosslight_source-2.1.3}/src/fosslight_source.egg-info/dependency_links.txt +0 -0
- {fosslight_source-2.1.2 → fosslight_source-2.1.3}/src/fosslight_source.egg-info/entry_points.txt +0 -0
- {fosslight_source-2.1.2 → fosslight_source-2.1.3}/src/fosslight_source.egg-info/top_level.txt +0 -0
|
@@ -14,7 +14,7 @@ with open('requirements.txt', 'r', 'utf-8') as f:
|
|
|
14
14
|
if __name__ == "__main__":
|
|
15
15
|
setup(
|
|
16
16
|
name='fosslight_source',
|
|
17
|
-
version='2.1.
|
|
17
|
+
version='2.1.3',
|
|
18
18
|
package_dir={"": "src"},
|
|
19
19
|
packages=find_packages(where='src'),
|
|
20
20
|
description='FOSSLight Source Scanner',
|
|
@@ -204,7 +204,9 @@ def create_report_file(
|
|
|
204
204
|
scan_item = ScannerItem(PKG_NAME, _start_time)
|
|
205
205
|
scan_item.set_cover_pathinfo(path_to_scan, path_to_exclude)
|
|
206
206
|
files_count, removed_files_count = count_files(path_to_scan, path_to_exclude)
|
|
207
|
-
|
|
207
|
+
|
|
208
|
+
scan_item.set_cover_comment(f"Total number of files : {files_count}")
|
|
209
|
+
scan_item.set_cover_comment(f"Removed files : {removed_files_count}")
|
|
208
210
|
|
|
209
211
|
if not merged_result:
|
|
210
212
|
if files_count < 1:
|
|
@@ -64,6 +64,8 @@ def run_scanoss_py(path_to_scan: str, output_file_name: str = "", format: list =
|
|
|
64
64
|
if not os.path.isdir(output_path):
|
|
65
65
|
Path(output_path).mkdir(parents=True, exist_ok=True)
|
|
66
66
|
output_json_file = os.path.join(output_path, SCANOSS_OUTPUT_FILE)
|
|
67
|
+
if os.path.exists(output_json_file): # remove scanner_output.wfp file if exist
|
|
68
|
+
os.remove(output_json_file)
|
|
67
69
|
|
|
68
70
|
try:
|
|
69
71
|
scanner = Scanner(
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fosslight_source-2.1.2 → fosslight_source-2.1.3}/src/fosslight_source/_parsing_scanoss_file.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fosslight_source-2.1.2 → fosslight_source-2.1.3}/src/fosslight_source/run_spdx_extractor.py
RENAMED
|
File without changes
|
|
File without changes
|
{fosslight_source-2.1.2 → fosslight_source-2.1.3}/src/fosslight_source.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{fosslight_source-2.1.2 → fosslight_source-2.1.3}/src/fosslight_source.egg-info/entry_points.txt
RENAMED
|
File without changes
|
{fosslight_source-2.1.2 → fosslight_source-2.1.3}/src/fosslight_source.egg-info/top_level.txt
RENAMED
|
File without changes
|