From 644280c8d9e4245f235a5f844809d3fc79ab3155 Mon Sep 17 00:00:00 2001
From: Joel Grunbaum <joelgrun@gmail.com>
Date: Sun, 08 Feb 2026 00:22:16 +0000
Subject: [PATCH] Skip trying to build packages in repos
---
src/archbuild/cli.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/archbuild/cli.py b/src/archbuild/cli.py
index 90037fd..0640974 100644
--- a/src/archbuild/cli.py
+++ b/src/archbuild/cli.py
@@ -22,7 +22,7 @@
def run_async(coro: Any) -> Any:
"""Run async function in sync context."""
- return asyncio.get_event_loop().run_until_complete(coro)
+ return asyncio.run(coro)
class Context:
@@ -136,6 +136,8 @@
if result.status == BuildStatus.SUCCESS:
repo.add_packages(result)
console.print(f"[green]✓[/] {package} added successfully")
+ elif result.status == BuildStatus.SKIPPED:
+ console.print(f"[yellow]⏭[/] {package} skipped (already in official repos or installed)")
else:
console.print(f"[red]✗[/] {package} failed: {result.error}")
--
Gitblit v1.10.0