Adding git config updates. - selfhost - Incus configurations for my self-hosted setup.
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
       ---
 (DIR) commit 19ece40bba3fc2a8f8d08770b14cf2b6e4700d8d
 (DIR) parent 8b9217ba89dfbb30cb3ee1f1bd873ff65812ef50
 (HTM) Author: Jay Scott <me@jay.scot>
       Date:   Mon,  8 Jul 2024 18:40:09 +0100
       
       Adding git config updates.
       
       Diffstat:
         M git/files/stagit.sh                 |       3 ++-
         M git/files/style.css                 |      12 ++++++------
         M git/git.yaml                        |       2 +-
         M git/init.sh                         |       4 ++++
       
       4 files changed, 13 insertions(+), 8 deletions(-)
       ---
 (DIR) diff --git a/git/files/stagit.sh b/git/files/stagit.sh
       @@ -3,7 +3,8 @@
        reposdir="/srv/git"
        wwwdir="/srv/www"
        
       -stagit-index "${reposdir}/"*/ | sed 's|/log\.html||g' > "${wwwdir}/index.html"
       +#stagit-index "${reposdir}/"*/ | sed 's|/log\.html||g' > "${wwwdir}/index.html"
       +gostag -p /srv/git/ -g > "${wwwdir}/index.html" 
        
        for dir in "${reposdir}/"*/; do
        
 (DIR) diff --git a/git/files/style.css b/git/files/style.css
       @@ -2,9 +2,10 @@ body {
            color: #000;
            background-color: #FFF;
            font-family: monospace;
       -    font-size: 11pt;
       -    margin: 0;
       -    padding: 0;
       +}
       +
       +table { 
       +    padding-left: 20px;
        }
        
        h1 {
       @@ -17,9 +18,8 @@ h2, h3, h4, h5, h6 {
            margin: 0;
        }
        
       -img {
       -    border: 0;
       -    vertical-align: middle;
       +table td {
       +        padding: 0 0.4em;
        }
        
        a {
 (DIR) diff --git a/git/git.yaml b/git/git.yaml
       @@ -36,5 +36,5 @@ config:
              - echo "git:*" | chpasswd -e
            packages:
              - git
       -      - stagit
              - lighttpd
       +      - libgit2-dev
 (DIR) diff --git a/git/init.sh b/git/init.sh
       @@ -18,4 +18,8 @@ incus file push ./files/logo.png $HOST/srv/www/ -pv --mode 644
        incus file push ./files/style.css $HOST/srv/www/ -pv --mode 644
        incus file push ./files/favicon.png $HOST/srv/www/ -pv --mode 644
        
       +incus file push ./files/stagit $HOST/usr/bin/ -pv --mode 755
       +incus file push ./files/gostag $HOST/usr/bin/ -pv --mode 755
       +incus file push ./files/stagit-index $HOST/usr/bin/ -pv --mode 755
       +
        incus exec $HOST -- run-parts /etc/periodic/hourly