mirror of
https://github.com/karma-riuk/crab.git
synced 2025-07-05 05:28:13 +02:00
added logging of the number of gradle projects in
progress bar
This commit is contained in:
@ -208,7 +208,7 @@ def clone_repos(file: str, dest: str, force: bool =False, verbose: bool = False)
|
||||
if verbose: print("Processing repositories")
|
||||
with tqdm(total=len(df)) as pbar:
|
||||
for i, row in df.iterrows():
|
||||
pbar.set_postfix({"repo": row["name"], "good_repos": good_repos})
|
||||
pbar.set_postfix({"repo": row["name"], "good_repos": good_repos, "n_gradle": sum(updates["build_system"] == "gradle" for _, updates in updates_list if "build_system" in updates)})
|
||||
updates = {}
|
||||
updates_list.append((i, updates)) # Collect updates
|
||||
process_row(row["name"], client, dest, updates, force=force, verbose=verbose)
|
||||
|
Reference in New Issue
Block a user