From 9ef2ec9071a3bcddea85fb50b1c49dd421a58b45 Mon Sep 17 00:00:00 2001
From: Ben Busby <contact@benbusby.com>
Date: Thu, 20 Oct 2022 12:00:43 -0600
Subject: [PATCH] Remove Wikiless from nightly auto-update build

The wikiless repo has been removed by Codeberg until the maintainer
makes some changes requested by Wikimedia. Follow https://orenom.fi for
updates.
---
 .github/workflows/update-instances.yml | 20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)

diff --git a/.github/workflows/update-instances.yml b/.github/workflows/update-instances.yml
index 91ee70a..a6fad46 100644
--- a/.github/workflows/update-instances.yml
+++ b/.github/workflows/update-instances.yml
@@ -176,17 +176,19 @@ jobs:
 
         # ==============================================================
         # Wikiless update
+        # NOTE: Codeberg has removed the Wikiless repo until the maintainer
+        # makes changes. See https://orenom.fi for updates.
         # ==============================================================
-        curl -s https://codeberg.org/orenom/Wikiless/raw/branch/main/instances.json | \
-          jq '[
-            .[] |
-            select((.url | contains(".onion") | not) and (.url | contains("https"))).url ] |
-            sort' > wikiless-tmp.json
-        jq --slurpfile wikiless wikiless-tmp.json \
-          '( .[] | select(.type == "wikiless") )
-          .instances |= $wikiless[0]' services-full.json > services-tmp.json
+        #curl -s https://codeberg.org/orenom/Wikiless/raw/branch/main/instances.json | \
+          #jq '[
+            #.[] |
+            #select((.url | contains(".onion") | not) and (.url | contains("https"))).url ] |
+            #sort' > wikiless-tmp.json
+        #jq --slurpfile wikiless wikiless-tmp.json \
+          #'( .[] | select(.type == "wikiless") )
+          #.instances |= $wikiless[0]' services-full.json > services-tmp.json
 
-        apply_update
+        #apply_update
 
         # ==============================================================
         # TODO: Update instances for other services