From 29a9683ab7d5e39f8bdfc735188f24b01bccd9aa Mon Sep 17 00:00:00 2001 From: CRT Date: Fri, 23 Oct 2026 23:46:03 +0800 Subject: [PATCH] dev channel: Apache serves /desktop/dev/latest.json; the VDS publisher lists releases without the draft filter (it hid the dev drafts) --- tools/vds/apache-storebound-desktop.conf | 3 ++- tools/vds/storebound-desktop-dev | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/vds/apache-storebound-desktop.conf b/tools/vds/apache-storebound-desktop.conf index 39371f7..ee4f92b 100644 --- a/tools/vds/apache-storebound-desktop.conf +++ b/tools/vds/apache-storebound-desktop.conf @@ -6,6 +6,7 @@ Alias /desktop/latest.json /var/www/storebound-desktop/latest.json Alias /desktop/beta/latest.json /var/www/storebound-desktop/beta/latest.json Alias /desktop/rehearsal/latest.json /var/www/storebound-desktop/rehearsal/latest.json +Alias /desktop/dev/latest.json /var/www/storebound-desktop/dev/latest.json Alias /desktop/dl/ /var/www/storebound-desktop/dl/ Options -Indexes -FollowSymLinks @@ -16,7 +17,7 @@ Alias /desktop/dl/ /var/www/storebound-desktop/dl/ Header set Content-Disposition "attachment" - + Header set Cache-Control "no-cache" Header set Access-Control-Allow-Origin "*" diff --git a/tools/vds/storebound-desktop-dev b/tools/vds/storebound-desktop-dev index 463eb7f..a0bedf0 100644 --- a/tools/vds/storebound-desktop-dev +++ b/tools/vds/storebound-desktop-dev @@ -154,7 +154,7 @@ def main(): fcntl.flock(lock, fcntl.LOCK_EX | fcntl.LOCK_NB) except BlockingIOError: return - rels = get(f"{FORGEJO}/api/v1/repos/{REPO}/releases?draft=true&limit=50") + rels = get(f"{FORGEJO}/api/v1/repos/{REPO}/releases?limit=50") cands = [(r, r["tag_name"][4:]) for r in rels if r["tag_name"].startswith("dev-") and key(r["tag_name"][4:])] if not cands: return