INNER CODE UNIT · Python

print_summary

ExplosionEngine/Explosion · ThirdParty/ConanRecipes/build_recipes.py:372

def print_summary(built, skipped, local, present, failed: Recipe | None = None):
    print("\n" + "=" * 60, flush=True)
    print("SUMMARY", flush=True)
    print("=" * 60, flush=True)
    for recipe in built:
        print(f"  [OK]      {recipe.reference}", flush=True)
    for recipe in present:
        print(f"  [REMOTE]  {recipe.reference} (already published)", flush=True)
    for recipe in local:
        print(f"  [LOCAL]   {recipe.reference} (only in local cache)", flush=True)
    for recipe, reason in skipped:
        print(f"  [SKIP]    {recipe.name} ({reason})", flush=True)
    if failed is not None:
        print(f"  [FAILED]  {failed.reference}", flush=True)
    print(
        f"\nbuilt: {len(built)}  on-remote: {len(present)}  local-only: {len(local)}  "
        f"skipped: {len(skipped)}" + ("  failed: 1" if failed is not None else ""),
        flush=True,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…