summaryrefslogtreecommitdiff
path: root/guides/cloud
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2023-11-19 18:15:07 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2023-11-19 18:15:07 +0100
commit67b9f53e7dc194c204c9669384a937f4715b2727 (patch)
tree9af7e326d0783963050da66bae8e8d46e02a925d /guides/cloud
parent28a2593d87436cfbaf09b4d6ae46c65394aaaf09 (diff)
downloadmemory-leaks-67b9f53e7dc194c204c9669384a937f4715b2727.tar.xz
Add notes about cgit
Now that I know It's Not Just Me™.
Diffstat (limited to 'guides/cloud')
-rw-r--r--guides/cloud/vps.org6
1 files changed, 6 insertions, 0 deletions
diff --git a/guides/cloud/vps.org b/guides/cloud/vps.org
index f5eb4ed..986e373 100644
--- a/guides/cloud/vps.org
+++ b/guides/cloud/vps.org
@@ -175,6 +175,12 @@ sudo systemctl restart nginx
sudo systemctl restart fail2ban
#+end_src
+**** "Idle" vs default branch
+cgit struggles to guess what to print for the "Idle" column on the
+index page when the default branch is not "master". [[https://lists.zx2c4.com/pipermail/cgit/2020-August/004515.html][Workarounds]]:
+
+- set =repo.defbranch=,
+- update =agefile= with [[https://git.zx2c4.com/cgit/tree/contrib/hooks/post-receive.agefile][a post-receive hook]].
** CGI
I like the idea of [[https://en.wikipedia.org/wiki/Common_Gateway_Interface#Using_CGI_scripts][CGI "scripts"]], i.e. having the web server fire a
program to handle requests: