diff --git a/clone_repos.py b/clone_repos.py index 50e03f9..cd9ceba 100644 --- a/clone_repos.py +++ b/clone_repos.py @@ -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)