commit 67b9f53e7dc194c204c9669384a937f4715b2727 parent 28a2593d87436cfbaf09b4d6ae46c65394aaaf09 Author: Kévin Le Gouguec <kevin.legouguec@gmail.com> Date: Sun, 19 Nov 2023 18:15:07 +0100 Add notes about cgit Now that I know It's Not Just Me™. Diffstat:
| M | guides/cloud/vps.org | | | 6 | ++++++ |
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git 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: