From daa0cd24c3bd8cacd0a1fcde252cef3b565a002c Mon Sep 17 00:00:00 2001
From: zowoq <59103226+zowoq@users.noreply.github.com>
Date: Mon, 16 Jan 2023 09:19:37 +1000
Subject: [PATCH] hound: drop allowed_forks, use disallowed_repos

I thought allowed_forks would be easier but two lists is more complicated than we really need.
---
 services/hound/update-hound.py | 18 ++++++------------
 1 file changed, 6 insertions(+), 12 deletions(-)

diff --git a/services/hound/update-hound.py b/services/hound/update-hound.py
index 652259c..5f7beff 100755
--- a/services/hound/update-hound.py
+++ b/services/hound/update-hound.py
@@ -9,20 +9,15 @@ import requests
 github_token = os.environ.get("GITHUB_TOKEN")
 
 disallowed_repos = [
+    "nix-community/dream2nix-auto-test",
+    "nix-community/image-spec",
+    "nix-community/nix",
+    "nix-community/nixpkgs",
+    "nix-community/nsncd",
+    "nix-community/rkwifibt",
     "NixOS/nixops-dashboard",  # empty repo causes an error
 ]
 
-allowed_forks = [
-    "nix-community/acpi_call",
-    "nix-community/bundix",
-    "nix-community/luarocks-nix",
-    "nix-community/nix-doom-emacs",
-    "nix-community/nix-straight.el",
-    "nix-community/travis-build",
-    "nix-community/vagrant-nixos-plugin",
-    "NixOS/calamares-nixos-extensions",
-]
-
 
 def all_for_org(org):
 
@@ -52,7 +47,6 @@ def all_for_org(org):
                 for repo in repos
                 if repo["full_name"] not in disallowed_repos
                 if repo["archived"] is False
-                if repo["fork"] is False or repo["full_name"] in allowed_forks
             }
         )