File tree 2 files changed +5
-1
lines changed
2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,9 @@ v33.0.0 (next next, roadmap)
38
38
- Update Dockerfile and test container build.
39
39
See https://github.com/aboutcode-org/scancode-toolkit/issues/3955
40
40
41
+ - Progress bar now shows length. You can estimate the duration now.
42
+ See https://github.com/aboutcode-org/scancode-toolkit/issues/3342
43
+
41
44
v32.3.1 - 2024-01-06
42
45
--------------------
43
46
Original file line number Diff line number Diff line change @@ -1176,10 +1176,11 @@ def run_scanners(
1176
1176
1177
1177
progress_manager = None
1178
1178
if not quiet :
1179
+ resources = list (((r .location , r .path ) for r in codebase .walk () if r .is_file ))
1179
1180
echo_func (f'Scan files for: { scan_names } with { processes } process(es)...' )
1180
1181
item_show_func = partial (path_progress_message , verbose = verbose )
1181
1182
progress_manager = partial (progressmanager ,
1182
- item_show_func = item_show_func ,
1183
+ item_show_func = item_show_func , length = len ( resources ) * 2 ,
1183
1184
verbose = verbose , file = sys .stderr )
1184
1185
1185
1186
# TODO: add CLI option to bypass cache entirely?
You can’t perform that action at this time.
0 commit comments