fosslight-scanner 2.1.10__py3-none-any.whl → 2.1.12__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.
@@ -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 {input_path})
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 {before_name}.xlsx {after_name}.xlsx)
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 (excel, csv, opossum, yaml, spdx-tag, spdx-yaml, spdx-json, spdx-xml)
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 {dir} {file})
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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fosslight_scanner
3
- Version: 2.1.10
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.12
24
- Requires-Dist: fosslight_source<3.0.0,>=2.1.12
25
- Requires-Dist: fosslight_dependency<5.0.0,>=4.1.3
26
- Requires-Dist: fosslight_binary<6.0.0,>=5.1.9
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 (ex, -e {dir} {file})
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
@@ -1,15 +1,15 @@
1
1
  fosslight_scanner/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  fosslight_scanner/_get_input.py,sha256=f78M57QU7Lhw1VfZJKvYXbGsUiYMViPz1---UDIbV9I,1396
3
- fosslight_scanner/_help.py,sha256=dq_fJoTzujChKV_RlgGlg080ZodwDZcXloYv-mwV-W0,3145
3
+ fosslight_scanner/_help.py,sha256=5G_oL80402ylacXLnPDGn4xmJKsmv_FL_RBgLjdQ_Hw,3162
4
4
  fosslight_scanner/_parse_setting.py,sha256=htxNNvhizZ2ZT18Aw6ihKuBpOMAyptkbMS5Z0_Xh5mQ,2551
5
5
  fosslight_scanner/_run_compare.py,sha256=zmzX-FIvWCSkwPvEA3iHfVpyg6QDGUCpw3tJuGLdPWM,10657
6
6
  fosslight_scanner/cli.py,sha256=vz_oGevbejqo3tHa4z6d-Ft0xu-gP9Pg-VmXb9IhO_s,6910
7
7
  fosslight_scanner/common.py,sha256=FyEoqVsIZ4pRIlHRXZES8PYaYfy3PEmUaOn02YSuuYU,8377
8
8
  fosslight_scanner/fosslight_scanner.py,sha256=wOSSnJZuUCvom9rvdwOUy7B2f-CUzDdecI2hm52dyFg,21174
9
9
  fosslight_scanner/resources/bom_compare.html,sha256=VocJ9bDmQQOwfGyvXatPZ4W-QddO-IlsAvKdO0nZ7pA,2240
10
- fosslight_scanner-2.1.10.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
11
- fosslight_scanner-2.1.10.dist-info/METADATA,sha256=1YXdus_RPXOrScGAT1b6e9rOYzxdaP2gq9dZzX0_HuQ,8059
12
- fosslight_scanner-2.1.10.dist-info/WHEEL,sha256=SmOxYU7pzNKBqASvQJ7DjX3XGUF92lrGhMb3R6_iiqI,91
13
- fosslight_scanner-2.1.10.dist-info/entry_points.txt,sha256=dl7AA0_Jqnq0NHuCEaxcJFgstLw3sod_-FGtcgZuJbs,104
14
- fosslight_scanner-2.1.10.dist-info/top_level.txt,sha256=43_xLb5KYpy8wOU1H2Wd2fEsWBY7Dg6ZEJJXkfT64Ak,18
15
- fosslight_scanner-2.1.10.dist-info/RECORD,,
10
+ fosslight_scanner-2.1.12.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
11
+ fosslight_scanner-2.1.12.dist-info/METADATA,sha256=5AuTEQ3qZgFO4g01z1Lc8uDSVlaDQakzmjJtsk-47To,8599
12
+ fosslight_scanner-2.1.12.dist-info/WHEEL,sha256=SmOxYU7pzNKBqASvQJ7DjX3XGUF92lrGhMb3R6_iiqI,91
13
+ fosslight_scanner-2.1.12.dist-info/entry_points.txt,sha256=dl7AA0_Jqnq0NHuCEaxcJFgstLw3sod_-FGtcgZuJbs,104
14
+ fosslight_scanner-2.1.12.dist-info/top_level.txt,sha256=43_xLb5KYpy8wOU1H2Wd2fEsWBY7Dg6ZEJJXkfT64Ak,18
15
+ fosslight_scanner-2.1.12.dist-info/RECORD,,