From 402a109633944883e3856b947a3e4fb572cb9020 Mon Sep 17 00:00:00 2001 From: catborise Date: Fri, 6 Nov 2026 15:19:40 +0300 Subject: [PATCH] docs(readme): the update's pull works on an installation of the old installer Installers up to September 2026 ran collectstatic into the tracked static/ (which changed static/drf-yasg and static/rest_framework files) and deleted the tracked install.sh and webvirtcloud.sh. Step 1 put back only static/css and dev/scss, so `git pull` refused with "Your local changes would be overwritten" on every such installation, and the later steps ran on the old code. Step 1 now puts back every tracked file under static/ and the two installer scripts. Checked by installing the upstream release of September 2026 with its own installer on Debian 12, Ubuntu 24.04 and AlmaLinux 10, and following the update steps to this version. --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6a696c9a..0dd0877c 100644 --- a/README.md +++ b/README.md @@ -621,10 +621,12 @@ Move the `environment=` values of that config into `/etc/default/webvirtcloud` ( { [ ! -f /etc/default/webvirtcloud ] || cp -p /etc/default/webvirtcloud "$b"/; } && git rev-parse HEAD > "$b/commit" && git ls-files -z --others --exclude-standard -- '*/migrations/*.py' | tar --null -T - --remove-files -cf "$b/local-migrations.tar" && - git checkout -- $(git ls-files -m -- static/css dev/scss) && + git checkout -- $(git ls-files -m -- static dev/scss install.sh webvirtcloud.sh) && git checkout master && git pull ``` + Older installers collected static files into the tracked `static/` and deleted the tracked `install.sh` and `webvirtcloud.sh`; the second-to-last line puts those files back, so that `git pull` can update them. + 2. Rebuild `settings.py` from the template (the file keeps its owner and mode), then put back your own values; the `diff` lists them: ```bash