fosslight-scanner 2.1.8__tar.gz → 2.1.9__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_scanner-2.1.8 → fosslight_scanner-2.1.9}/PKG-INFO +1 -1
- {fosslight_scanner-2.1.8 → fosslight_scanner-2.1.9}/requirements.txt +2 -2
- {fosslight_scanner-2.1.8 → fosslight_scanner-2.1.9}/setup.py +1 -1
- {fosslight_scanner-2.1.8 → fosslight_scanner-2.1.9}/src/fosslight_scanner/common.py +11 -11
- {fosslight_scanner-2.1.8 → fosslight_scanner-2.1.9}/src/fosslight_scanner/fosslight_scanner.py +0 -1
- {fosslight_scanner-2.1.8 → fosslight_scanner-2.1.9}/src/fosslight_scanner.egg-info/PKG-INFO +1 -1
- {fosslight_scanner-2.1.8 → fosslight_scanner-2.1.9}/src/fosslight_scanner.egg-info/requires.txt +2 -2
- {fosslight_scanner-2.1.8 → fosslight_scanner-2.1.9}/LICENSE +0 -0
- {fosslight_scanner-2.1.8 → fosslight_scanner-2.1.9}/MANIFEST.in +0 -0
- {fosslight_scanner-2.1.8 → fosslight_scanner-2.1.9}/README.md +0 -0
- {fosslight_scanner-2.1.8 → fosslight_scanner-2.1.9}/setup.cfg +0 -0
- {fosslight_scanner-2.1.8 → fosslight_scanner-2.1.9}/src/fosslight_scanner/__init__.py +0 -0
- {fosslight_scanner-2.1.8 → fosslight_scanner-2.1.9}/src/fosslight_scanner/_get_input.py +0 -0
- {fosslight_scanner-2.1.8 → fosslight_scanner-2.1.9}/src/fosslight_scanner/_help.py +0 -0
- {fosslight_scanner-2.1.8 → fosslight_scanner-2.1.9}/src/fosslight_scanner/_parse_setting.py +0 -0
- {fosslight_scanner-2.1.8 → fosslight_scanner-2.1.9}/src/fosslight_scanner/_run_compare.py +0 -0
- {fosslight_scanner-2.1.8 → fosslight_scanner-2.1.9}/src/fosslight_scanner/cli.py +0 -0
- {fosslight_scanner-2.1.8 → fosslight_scanner-2.1.9}/src/fosslight_scanner/resources/bom_compare.html +0 -0
- {fosslight_scanner-2.1.8 → fosslight_scanner-2.1.9}/src/fosslight_scanner.egg-info/SOURCES.txt +0 -0
- {fosslight_scanner-2.1.8 → fosslight_scanner-2.1.9}/src/fosslight_scanner.egg-info/dependency_links.txt +0 -0
- {fosslight_scanner-2.1.8 → fosslight_scanner-2.1.9}/src/fosslight_scanner.egg-info/entry_points.txt +0 -0
- {fosslight_scanner-2.1.8 → fosslight_scanner-2.1.9}/src/fosslight_scanner.egg-info/top_level.txt +0 -0
|
@@ -5,7 +5,7 @@ progress
|
|
|
5
5
|
pyyaml
|
|
6
6
|
beautifulsoup4
|
|
7
7
|
fosslight_util>=2.1.12,<3.0.0
|
|
8
|
-
fosslight_source>=2.1.
|
|
8
|
+
fosslight_source>=2.1.12,<3.0.0
|
|
9
9
|
fosslight_dependency>=4.1.3,<5.0.0
|
|
10
|
-
fosslight_binary>=5.1.
|
|
10
|
+
fosslight_binary>=5.1.9,<6.0.0
|
|
11
11
|
fosslight_prechecker>=4.0.0,<5.0.0
|
|
@@ -15,7 +15,7 @@ with open('requirements.txt', 'r', 'utf-8') as f:
|
|
|
15
15
|
if __name__ == "__main__":
|
|
16
16
|
setup(
|
|
17
17
|
name='fosslight_scanner',
|
|
18
|
-
version='2.1.
|
|
18
|
+
version='2.1.9',
|
|
19
19
|
package_dir={"": "src"},
|
|
20
20
|
packages=find_packages(where='src'),
|
|
21
21
|
description='FOSSLight Scanner',
|
|
@@ -168,10 +168,12 @@ def correct_scanner_result(all_scan_item):
|
|
|
168
168
|
try:
|
|
169
169
|
remove_src_idx_list = []
|
|
170
170
|
for idx_src, src_fileitem in enumerate(src_fileitems):
|
|
171
|
-
|
|
171
|
+
if check_package_dir(src_fileitem.source_name_or_path):
|
|
172
|
+
continue
|
|
172
173
|
dup_flag = False
|
|
173
174
|
for bin_fileitem in bin_fileitems:
|
|
174
|
-
|
|
175
|
+
if check_package_dir(bin_fileitem.source_name_or_path):
|
|
176
|
+
continue
|
|
175
177
|
if src_fileitem.source_name_or_path == bin_fileitem.source_name_or_path:
|
|
176
178
|
dup_flag = True
|
|
177
179
|
src_all_licenses_non_empty = all(oss_item.license for oss_item in src_fileitem.oss_items)
|
|
@@ -202,14 +204,12 @@ def correct_scanner_result(all_scan_item):
|
|
|
202
204
|
return all_scan_item
|
|
203
205
|
|
|
204
206
|
|
|
205
|
-
def
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
_exclude_dirs = ["venv", "node_modules", "Pods", "Carthage"]
|
|
209
|
-
exclude = False
|
|
207
|
+
def check_package_dir(source_name_or_path):
|
|
208
|
+
_package_dirs = ["venv", "node_modules", "Pods", "Carthage"]
|
|
209
|
+
is_pkg = False
|
|
210
210
|
|
|
211
|
-
for
|
|
212
|
-
if
|
|
213
|
-
|
|
211
|
+
for package_dir in _package_dirs:
|
|
212
|
+
if package_dir in source_name_or_path.split(os.path.sep):
|
|
213
|
+
is_pkg = True
|
|
214
214
|
break
|
|
215
|
-
return
|
|
215
|
+
return is_pkg
|
{fosslight_scanner-2.1.8 → fosslight_scanner-2.1.9}/src/fosslight_scanner/fosslight_scanner.py
RENAMED
|
@@ -25,7 +25,6 @@ from fosslight_util.set_log import init_log
|
|
|
25
25
|
from fosslight_util.timer_thread import TimerThread
|
|
26
26
|
import fosslight_util.constant as constant
|
|
27
27
|
from fosslight_util.output_format import check_output_formats_v2
|
|
28
|
-
from fosslight_prechecker._precheck import run_lint as prechecker_lint
|
|
29
28
|
from fosslight_util.cover import CoverItem
|
|
30
29
|
from fosslight_util.oss_item import ScannerItem
|
|
31
30
|
from fosslight_util.output_format import write_output_file
|
{fosslight_scanner-2.1.8 → fosslight_scanner-2.1.9}/src/fosslight_scanner.egg-info/requires.txt
RENAMED
|
@@ -5,7 +5,7 @@ progress
|
|
|
5
5
|
pyyaml
|
|
6
6
|
beautifulsoup4
|
|
7
7
|
fosslight_util<3.0.0,>=2.1.12
|
|
8
|
-
fosslight_source<3.0.0,>=2.1.
|
|
8
|
+
fosslight_source<3.0.0,>=2.1.12
|
|
9
9
|
fosslight_dependency<5.0.0,>=4.1.3
|
|
10
|
-
fosslight_binary<6.0.0,>=5.1.
|
|
10
|
+
fosslight_binary<6.0.0,>=5.1.9
|
|
11
11
|
fosslight_prechecker<5.0.0,>=4.0.0
|
|
File without changes
|
|
File without changes
|
|
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_scanner-2.1.8 → fosslight_scanner-2.1.9}/src/fosslight_scanner/resources/bom_compare.html
RENAMED
|
File without changes
|
{fosslight_scanner-2.1.8 → fosslight_scanner-2.1.9}/src/fosslight_scanner.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{fosslight_scanner-2.1.8 → fosslight_scanner-2.1.9}/src/fosslight_scanner.egg-info/entry_points.txt
RENAMED
|
File without changes
|
{fosslight_scanner-2.1.8 → fosslight_scanner-2.1.9}/src/fosslight_scanner.egg-info/top_level.txt
RENAMED
|
File without changes
|