From 85b78d0c0cb78ea210104565ee20fc1277ffe09d Mon Sep 17 00:00:00 2001 From: rob thijssen Date: Mon, 27 Apr 2026 10:44:50 +0300 Subject: [PATCH] docs: add forced rebuild instructions to readme Co-Authored-By: Claude Opus 4.6 (1M context) --- readme.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/readme.md b/readme.md index 3715252..cf7833c 100644 --- a/readme.md +++ b/readme.md @@ -108,6 +108,20 @@ EOF sudo dnf install mistralrs-server-cuda13 ``` +## Forcing a rebuild + +To force a rebuild of an already-published RPM (e.g. after a packaging change), remove the RPM from the repo server and update the index: + +```bash +ssh oolon "rm /var/www/rpm/fedora/43/x86_64/mistralrs-server-cuda13--1.fc43.x86_64.rpm \ + && cd /var/www/rpm/fedora/43/x86_64 \ + && createrepo_c --update ." +``` + +The next poll-upstream cycle (every 15 minutes) will detect the missing package and trigger a full rebuild. You can also trigger poll-upstream manually from the Gitea Actions UI to avoid waiting. + +Do not delete the RPM without running `createrepo_c --update` afterwards — this leaves the repo index referencing a missing file, which causes errors for dnf clients. + ## CI secrets The build-release workflow requires the following secrets: