From ae4da922b93f932ab3b3ce96d9e68e94e5fded88 Mon Sep 17 00:00:00 2001
From: Joel Grunbaum <joelgrun@gmail.com>
Date: Thu, 19 Feb 2026 03:56:51 +0000
Subject: [PATCH] Fix send always
---
src/archrepobuild/cli.py | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/archrepobuild/cli.py b/src/archrepobuild/cli.py
index 0f991b2..ea26fe8 100644
--- a/src/archrepobuild/cli.py
+++ b/src/archrepobuild/cli.py
@@ -197,6 +197,12 @@
with console.status("Checking packages..."):
for pkg in packages:
+ # Ignore debug packages if the regular version is in official repos
+ if pkg.name.endswith("-debug"):
+ base_name = pkg.name[:-6]
+ if resolver.is_in_official_repos(base_name, include_all=all_repos) or await aur.is_available(base_name):
+ continue
+
if resolver.is_in_official_repos(pkg.name, include_all=all_repos):
in_official.append(pkg.name)
elif not await aur.is_available(pkg.name):
--
Gitblit v1.10.0