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 @@ -40,6 +40,9 @@ v33.0.0 (next next, roadmap)
40
40
- Update Dockerfile and test container build.
41
41
See https://github.com/aboutcode-org/scancode-toolkit/issues/3955
42
42
43
+ - Progress bar now shows length. You can estimate the duration now.
44
+ See https://github.com/aboutcode-org/scancode-toolkit/issues/3342
45
+
43
46
v32.3.0 - 2024-10-21
44
47
--------------------
45
48
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