fosslight-scanner 2.1.10__tar.gz → 2.1.12__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.10/src/fosslight_scanner.egg-info → fosslight_scanner-2.1.12}/PKG-INFO +12 -6
- {fosslight_scanner-2.1.10 → fosslight_scanner-2.1.12}/README.md +7 -1
- fosslight_scanner-2.1.12/requirements.txt +11 -0
- {fosslight_scanner-2.1.10 → fosslight_scanner-2.1.12}/setup.py +1 -1
- {fosslight_scanner-2.1.10 → fosslight_scanner-2.1.12}/src/fosslight_scanner/_help.py +6 -5
- {fosslight_scanner-2.1.10 → fosslight_scanner-2.1.12/src/fosslight_scanner.egg-info}/PKG-INFO +12 -6
- fosslight_scanner-2.1.12/src/fosslight_scanner.egg-info/requires.txt +11 -0
- fosslight_scanner-2.1.10/requirements.txt +0 -11
- fosslight_scanner-2.1.10/src/fosslight_scanner.egg-info/requires.txt +0 -11
- {fosslight_scanner-2.1.10 → fosslight_scanner-2.1.12}/LICENSE +0 -0
- {fosslight_scanner-2.1.10 → fosslight_scanner-2.1.12}/MANIFEST.in +0 -0
- {fosslight_scanner-2.1.10 → fosslight_scanner-2.1.12}/setup.cfg +0 -0
- {fosslight_scanner-2.1.10 → fosslight_scanner-2.1.12}/src/fosslight_scanner/__init__.py +0 -0
- {fosslight_scanner-2.1.10 → fosslight_scanner-2.1.12}/src/fosslight_scanner/_get_input.py +0 -0
- {fosslight_scanner-2.1.10 → fosslight_scanner-2.1.12}/src/fosslight_scanner/_parse_setting.py +0 -0
- {fosslight_scanner-2.1.10 → fosslight_scanner-2.1.12}/src/fosslight_scanner/_run_compare.py +0 -0
- {fosslight_scanner-2.1.10 → fosslight_scanner-2.1.12}/src/fosslight_scanner/cli.py +0 -0
- {fosslight_scanner-2.1.10 → fosslight_scanner-2.1.12}/src/fosslight_scanner/common.py +0 -0
- {fosslight_scanner-2.1.10 → fosslight_scanner-2.1.12}/src/fosslight_scanner/fosslight_scanner.py +0 -0
- {fosslight_scanner-2.1.10 → fosslight_scanner-2.1.12}/src/fosslight_scanner/resources/bom_compare.html +0 -0
- {fosslight_scanner-2.1.10 → fosslight_scanner-2.1.12}/src/fosslight_scanner.egg-info/SOURCES.txt +0 -0
- {fosslight_scanner-2.1.10 → fosslight_scanner-2.1.12}/src/fosslight_scanner.egg-info/dependency_links.txt +0 -0
- {fosslight_scanner-2.1.10 → fosslight_scanner-2.1.12}/src/fosslight_scanner.egg-info/entry_points.txt +0 -0
- {fosslight_scanner-2.1.10 → fosslight_scanner-2.1.12}/src/fosslight_scanner.egg-info/top_level.txt +0 -0
- {fosslight_scanner-2.1.10 → fosslight_scanner-2.1.12}/tests/test__get_input.py +0 -0
- {fosslight_scanner-2.1.10 → fosslight_scanner-2.1.12}/tests/test__help.py +0 -0
- {fosslight_scanner-2.1.10 → fosslight_scanner-2.1.12}/tests/test__parse_setting.py +0 -0
- {fosslight_scanner-2.1.10 → fosslight_scanner-2.1.12}/tests/test__run_compare.py +0 -0
- {fosslight_scanner-2.1.10 → fosslight_scanner-2.1.12}/tests/test_cli.py +0 -0
- {fosslight_scanner-2.1.10 → fosslight_scanner-2.1.12}/tests/test_common.py +0 -0
- {fosslight_scanner-2.1.10 → fosslight_scanner-2.1.12}/tests/test_fosslight_scanner.py +0 -0
{fosslight_scanner-2.1.10/src/fosslight_scanner.egg-info → fosslight_scanner-2.1.12}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: fosslight_scanner
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.12
|
|
4
4
|
Summary: FOSSLight Scanner
|
|
5
5
|
Home-page: https://github.com/fosslight/fosslight_scanner
|
|
6
6
|
Download-URL: https://github.com/fosslight/fosslight_scanner
|
|
@@ -20,10 +20,10 @@ Requires-Dist: openpyxl
|
|
|
20
20
|
Requires-Dist: progress
|
|
21
21
|
Requires-Dist: pyyaml
|
|
22
22
|
Requires-Dist: beautifulsoup4
|
|
23
|
-
Requires-Dist: fosslight_util<3.0.0,>=2.1.
|
|
24
|
-
Requires-Dist: fosslight_source<3.0.0,>=2.1
|
|
25
|
-
Requires-Dist: fosslight_dependency<5.0.0,>=4.1.
|
|
26
|
-
Requires-Dist: fosslight_binary<6.0.0,>=5.1.
|
|
23
|
+
Requires-Dist: fosslight_util<3.0.0,>=2.1.35
|
|
24
|
+
Requires-Dist: fosslight_source<3.0.0,>=2.2.1
|
|
25
|
+
Requires-Dist: fosslight_dependency<5.0.0,>=4.1.28
|
|
26
|
+
Requires-Dist: fosslight_binary<6.0.0,>=5.1.16
|
|
27
27
|
Requires-Dist: fosslight_prechecker<5.0.0,>=4.0.0
|
|
28
28
|
Dynamic: author
|
|
29
29
|
Dynamic: classifier
|
|
@@ -119,7 +119,9 @@ Options:
|
|
|
119
119
|
* Compare mode result file: supports excel, json, yaml, html
|
|
120
120
|
-o <output> Output directory or file
|
|
121
121
|
-c <number> Number of processes to analyze source
|
|
122
|
-
-e <path> Path to exclude from analysis (
|
|
122
|
+
-e <path> Path to exclude from analysis (files and directories, pattern matching is available
|
|
123
|
+
* IMPORTANT: Always wrap patterns in quotes("") to avoid shell expansion.
|
|
124
|
+
Example) fosslight -e "test/abc.py" "*.jar" "test/"
|
|
123
125
|
-r Keep raw data
|
|
124
126
|
-t Hide the progress bar
|
|
125
127
|
-v Print FOSSLight Scanner version
|
|
@@ -130,6 +132,10 @@ Options:
|
|
|
130
132
|
- Refs.
|
|
131
133
|
- Additional arguments for running dependency analysis. See the [FOSSLight Dependency Guide][fd_guide] for instructions.
|
|
132
134
|
- In the case of DB URL, it is the [DB connection information to be used in FOSSLight Binary][flbindb].
|
|
135
|
+
- Pattern Matching Pattern matching guide Guide for the -e Option
|
|
136
|
+
- ⚠️ Make sure to use double quotes ("") when entering values.
|
|
137
|
+
- Example) fosslight -e "test/abc.py" "*.jar" "test/"
|
|
138
|
+
- ⚠️ File names and extensions are case-sensitive, so please enter them exactly as intended.
|
|
133
139
|
|
|
134
140
|
[flbindb]: https://fosslight.org/fosslight-guide-en/scanner/etc/binary_db.html
|
|
135
141
|
[fd_guide]: https://fosslight.org/fosslight-guide-en/scanner/2_dependency.html
|
|
@@ -80,7 +80,9 @@ Options:
|
|
|
80
80
|
* Compare mode result file: supports excel, json, yaml, html
|
|
81
81
|
-o <output> Output directory or file
|
|
82
82
|
-c <number> Number of processes to analyze source
|
|
83
|
-
-e <path> Path to exclude from analysis (
|
|
83
|
+
-e <path> Path to exclude from analysis (files and directories, pattern matching is available
|
|
84
|
+
* IMPORTANT: Always wrap patterns in quotes("") to avoid shell expansion.
|
|
85
|
+
Example) fosslight -e "test/abc.py" "*.jar" "test/"
|
|
84
86
|
-r Keep raw data
|
|
85
87
|
-t Hide the progress bar
|
|
86
88
|
-v Print FOSSLight Scanner version
|
|
@@ -91,6 +93,10 @@ Options:
|
|
|
91
93
|
- Refs.
|
|
92
94
|
- Additional arguments for running dependency analysis. See the [FOSSLight Dependency Guide][fd_guide] for instructions.
|
|
93
95
|
- In the case of DB URL, it is the [DB connection information to be used in FOSSLight Binary][flbindb].
|
|
96
|
+
- Pattern Matching Pattern matching guide Guide for the -e Option
|
|
97
|
+
- ⚠️ Make sure to use double quotes ("") when entering values.
|
|
98
|
+
- Example) fosslight -e "test/abc.py" "*.jar" "test/"
|
|
99
|
+
- ⚠️ File names and extensions are case-sensitive, so please enter them exactly as intended.
|
|
94
100
|
|
|
95
101
|
[flbindb]: https://fosslight.org/fosslight-guide-en/scanner/etc/binary_db.html
|
|
96
102
|
[fd_guide]: https://fosslight.org/fosslight-guide-en/scanner/2_dependency.html
|
|
@@ -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.12',
|
|
19
19
|
package_dir={"": "src"},
|
|
20
20
|
packages=find_packages(where='src'),
|
|
21
21
|
description='FOSSLight Scanner',
|
|
@@ -3,8 +3,9 @@
|
|
|
3
3
|
# Copyright (c) 2021 LG Electronics Inc.
|
|
4
4
|
# SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
from fosslight_util.help import PrintHelpMsg
|
|
6
|
+
from fosslight_util.output_format import SUPPORT_FORMAT
|
|
6
7
|
|
|
7
|
-
_HELP_MESSAGE_SCANNER = """
|
|
8
|
+
_HELP_MESSAGE_SCANNER = f"""
|
|
8
9
|
FOSSLight Scanner performs open source analysis after downloading the source from URL that can be cloned by git or wget.
|
|
9
10
|
Instead, open source analysis and checking copyright/license rules can be performed for the local source path.
|
|
10
11
|
The output result is generated in OSS Report format.
|
|
@@ -21,14 +22,14 @@ _HELP_MESSAGE_SCANNER = """
|
|
|
21
22
|
|
|
22
23
|
Options:
|
|
23
24
|
-h\t\t\t Print help message
|
|
24
|
-
-p <path>\t\t Path to analyze (ex, -p
|
|
25
|
+
-p <path>\t\t Path to analyze (ex, -p [input_path])
|
|
25
26
|
* Compare mode input file: Two FOSSLight reports (supports excel, yaml)
|
|
26
|
-
(ex, -p
|
|
27
|
+
(ex, -p [before_name].xlsx [after_name].xlsx)
|
|
27
28
|
-w <link>\t\t Link to be analyzed can be downloaded by wget or git clone
|
|
28
|
-
-f <formats> [<format> ...]\t FOSSLight Report file format (
|
|
29
|
+
-f <formats> [<format> ...]\t FOSSLight Report file format ({', '.join(SUPPORT_FORMAT)})
|
|
29
30
|
* Compare mode result file: supports excel, json, yaml, html
|
|
30
31
|
* Multiple formats can be specified separated by space.
|
|
31
|
-
-e <path>\t\t Path to exclude from analysis (ex, -e
|
|
32
|
+
-e <path>\t\t Path to exclude from analysis (ex, -e [dir] [file])
|
|
32
33
|
-o <output>\t\t Output directory or file
|
|
33
34
|
-c <number>\t\t Number of processes to analyze source
|
|
34
35
|
-r\t\t\t Keep raw data
|
{fosslight_scanner-2.1.10 → fosslight_scanner-2.1.12/src/fosslight_scanner.egg-info}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: fosslight_scanner
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.12
|
|
4
4
|
Summary: FOSSLight Scanner
|
|
5
5
|
Home-page: https://github.com/fosslight/fosslight_scanner
|
|
6
6
|
Download-URL: https://github.com/fosslight/fosslight_scanner
|
|
@@ -20,10 +20,10 @@ Requires-Dist: openpyxl
|
|
|
20
20
|
Requires-Dist: progress
|
|
21
21
|
Requires-Dist: pyyaml
|
|
22
22
|
Requires-Dist: beautifulsoup4
|
|
23
|
-
Requires-Dist: fosslight_util<3.0.0,>=2.1.
|
|
24
|
-
Requires-Dist: fosslight_source<3.0.0,>=2.1
|
|
25
|
-
Requires-Dist: fosslight_dependency<5.0.0,>=4.1.
|
|
26
|
-
Requires-Dist: fosslight_binary<6.0.0,>=5.1.
|
|
23
|
+
Requires-Dist: fosslight_util<3.0.0,>=2.1.35
|
|
24
|
+
Requires-Dist: fosslight_source<3.0.0,>=2.2.1
|
|
25
|
+
Requires-Dist: fosslight_dependency<5.0.0,>=4.1.28
|
|
26
|
+
Requires-Dist: fosslight_binary<6.0.0,>=5.1.16
|
|
27
27
|
Requires-Dist: fosslight_prechecker<5.0.0,>=4.0.0
|
|
28
28
|
Dynamic: author
|
|
29
29
|
Dynamic: classifier
|
|
@@ -119,7 +119,9 @@ Options:
|
|
|
119
119
|
* Compare mode result file: supports excel, json, yaml, html
|
|
120
120
|
-o <output> Output directory or file
|
|
121
121
|
-c <number> Number of processes to analyze source
|
|
122
|
-
-e <path> Path to exclude from analysis (
|
|
122
|
+
-e <path> Path to exclude from analysis (files and directories, pattern matching is available
|
|
123
|
+
* IMPORTANT: Always wrap patterns in quotes("") to avoid shell expansion.
|
|
124
|
+
Example) fosslight -e "test/abc.py" "*.jar" "test/"
|
|
123
125
|
-r Keep raw data
|
|
124
126
|
-t Hide the progress bar
|
|
125
127
|
-v Print FOSSLight Scanner version
|
|
@@ -130,6 +132,10 @@ Options:
|
|
|
130
132
|
- Refs.
|
|
131
133
|
- Additional arguments for running dependency analysis. See the [FOSSLight Dependency Guide][fd_guide] for instructions.
|
|
132
134
|
- In the case of DB URL, it is the [DB connection information to be used in FOSSLight Binary][flbindb].
|
|
135
|
+
- Pattern Matching Pattern matching guide Guide for the -e Option
|
|
136
|
+
- ⚠️ Make sure to use double quotes ("") when entering values.
|
|
137
|
+
- Example) fosslight -e "test/abc.py" "*.jar" "test/"
|
|
138
|
+
- ⚠️ File names and extensions are case-sensitive, so please enter them exactly as intended.
|
|
133
139
|
|
|
134
140
|
[flbindb]: https://fosslight.org/fosslight-guide-en/scanner/etc/binary_db.html
|
|
135
141
|
[fd_guide]: https://fosslight.org/fosslight-guide-en/scanner/2_dependency.html
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fosslight_scanner-2.1.10 → fosslight_scanner-2.1.12}/src/fosslight_scanner/_parse_setting.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fosslight_scanner-2.1.10 → fosslight_scanner-2.1.12}/src/fosslight_scanner/fosslight_scanner.py
RENAMED
|
File without changes
|
|
File without changes
|
{fosslight_scanner-2.1.10 → fosslight_scanner-2.1.12}/src/fosslight_scanner.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fosslight_scanner-2.1.10 → fosslight_scanner-2.1.12}/src/fosslight_scanner.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|