From 2abb51a6c25bda1bcd6ffbb423bd85f6f7fc9e24 Mon Sep 17 00:00:00 2001 From: Davide Cavalca Date: Jul 17 2022 22:53:48 +0000 Subject: cli: anitya only really works for rust for now --- diff --git a/fedora_sig_onboard/cli.py b/fedora_sig_onboard/cli.py index c66978b..322f8c7 100644 --- a/fedora_sig_onboard/cli.py +++ b/fedora_sig_onboard/cli.py @@ -72,8 +72,9 @@ def onboard(onboarder, group, acl, package): onboarder.add_package_acl(p, group, acl) click.echo(f"[{p}] updating bugzilla assignees") onboarder.set_bugzilla_assignee(p, group) - click.echo(f"[{p}] adding to anitya") - onboarder.add_package_to_anitya(p) + if group == "rust-sig": + click.echo(f"[{p}] adding to anitya") + onboarder.add_package_to_anitya(p) @cli.command()