gitreef

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 4e487eff0f3c4f3bbb21d6bbbd230039f056c238
parent 30aa2408d9af42660123a857480a6808179e615d
Author: Matthias Jaros <jaros@mailbox.org>
Date:   Mon, 10 Nov 2025 10:37:40 +0100

Renamed project to gitfish. Much nicer than git-server that is actually more misleading

Diffstat:
MDockerfile | 11++++++-----
MREADME.md | 10+++++-----
Asrc/banner | 7+++++++
Msrc/env | 1+
Msrc/init | 11++---------
5 files changed, 21 insertions(+), 19 deletions(-)

diff --git a/Dockerfile b/Dockerfile @@ -21,6 +21,7 @@ RUN chmod 755 /usr/local/bin/init RUN chmod 755 /usr/local/bin/git-run COPY src/version /usr/local/bin/ +COPY src/banner /usr/local/bin/ ENTRYPOINT ["/usr/local/bin/init"] @@ -30,9 +31,9 @@ ARG APP_VERSION LABEL org.opencontainers.image.licenses="GPL-3.0-or-later" LABEL org.opencontainers.image.authors="Matthias Jaros" LABEL org.opencontainers.image.version="${APP_VERSION}" -LABEL org.opencontainers.image.source="https://github.com/jarlucmat/git-server" -LABEL org.opencontainers.image.url="https://github.com/jarlucmat/git-server" -LABEL org.opencontainers.image.title="git-server" +LABEL org.opencontainers.image.source="https://github.com/jarlucmat/gitfish" +LABEL org.opencontainers.image.url="https://github.com/jarlucmat/gitfish" +LABEL org.opencontainers.image.title="gitfish" LABEL org.opencontainers.image.description="A minimal, secure Git server using SSH and Fish." -LABEL org.opencontainers.image.documentation="/usr/share/doc/git-server/LICENSE" -COPY LICENSE /usr/share/doc/git-server/LICENSE +LABEL org.opencontainers.image.documentation="/usr/share/doc/gitfish/LICENSE" +COPY LICENSE /usr/share/doc/gitfish/LICENSE diff --git a/README.md b/README.md @@ -1,6 +1,6 @@ -# git-server +# Gitfish -Welcome to **git-server** — a simple, fast, memory-friendly, and secure server for your Git repositories. +Welcome to **gitfish** — a simple, fast, memory-friendly, and secure GIT-over-SSH server for your repositories. The goal of this project is to provide a **minimal Git server** with no unnecessary features or management overhead. It’s designed for everyone who doesn’t need or want a fancy GUI or advanced functionality beyond the essentials. @@ -38,7 +38,7 @@ This server applies multiple hardening and sandboxing measures, such as: ### Command Line ```sh -docker run --rm -p "2222:22" jarlucmat/git-server -u "user1:ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbm +docker run --rm -p "2222:22" jarlucmat/gitfish -u "user1:ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbm lzdHAyNTYAAABBBPsl91WPAT8aWwZ6y5WAfXU9PoHzxJ3YG9uFgSmlGQr2HwV+gL/XaTBJ4Brj+pa+R7tfYEBMi+7Navx/ZsEmr9E= mj@xps15" -r "/repo1.git;user1:w" ``` @@ -46,8 +46,8 @@ lzdHAyNTYAAABBBPsl91WPAT8aWwZ6y5WAfXU9PoHzxJ3YG9uFgSmlGQr2HwV+gL/XaTBJ4Brj+pa+R7 Docker Compose: ```yaml services: - git-server: - image: jarlucmat/git-server + gitfish: + image: jarlucmat/gitfish ports: - "2222:22" environment: diff --git a/src/banner b/src/banner @@ -0,0 +1,6 @@ + _ _ __ _ _ + __ _(_) |_ / _(_)___| |__ + / _` | | __| |_| / __| '_ \ +| (_| | | |_| _| \__ \ | | | + \__, |_|\__|_| |_|___/_| |_| + |___/ +\ No newline at end of file diff --git a/src/env b/src/env @@ -7,3 +7,4 @@ set _GIT_SUDO_GROUP gitsudo set _LOG /var/log/git-run set _PERMISSIONS r w set _VERSION (cat (status dirname)/version) +set _BANNER (cat (status dirname)/banner | string collect) diff --git a/src/init b/src/init @@ -141,17 +141,10 @@ end function showBanner echo - echo ' - _ _ - __ _(_) |_ ___ ___ _ ____ _____ _ __ - / _` | | __|____/ __|/ _ \ '__\ \ / / _ \ '__| -| (_| | | ||_____\__ \ __/ | \ V / __/ | - \__, |_|\__| |___/\___|_| \_/ \___|_| - |___/ -' + echo $_BANNER echo echo Copyright Matthias Jaros 2025 - echo This software is licensed under GPLv3. See /usr/share/doc/git-server/LICENSE + echo This software is licensed under GPLv3. See /usr/share/doc/gitfish/LICENSE echo end