From 59aa029934c9dc5242bbc0d39460f4ebcbcbae72 Mon Sep 17 00:00:00 2001 From: zowoq <59103226+zowoq@users.noreply.github.com> Date: Fri, 17 Mar 2023 11:33:19 +1000 Subject: [PATCH] tasks.py: skip empty repos when updating hound --- tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks.py b/tasks.py index c4ceaba..3640a66 100644 --- a/tasks.py +++ b/tasks.py @@ -114,7 +114,6 @@ def update_hound_repos(c): "nix-community/nixpkgs", "nix-community/nsncd", "nix-community/rkwifibt", - "NixOS/nixops-dashboard", # empty repo causes an error ] resp = {} @@ -141,6 +140,7 @@ def update_hound_repos(c): "url": repo["clone_url"], } for repo in repos + if repo["size"] != 0 # skip empty repos if repo["full_name"] not in disallowed_repos if repo["archived"] is False }