Simple and Small Git Hosting
#development #developer #blog #git
maddie.info/2023/09/05/simple-…
Simple and Small Git Hosting
There are regular discussions on the fediverse about self-hosted git, and they generally cover software that provides a similar experience to GitHub. Gitea and GitLab are the two names that I see with the most frequency.@maddiefuzz
silverwizard likes this.
reshared this
requiem 🏴
in reply to M. The Crystalline Entity • • •oooh I’m glad someone is writing about this.
I moved to this mode for awhile but ran into some problem that I’ve since forgotten so I should give it another try. I really need a simple and reliable way to keep my repositories somewhere safe and accessible.
silverwizard
in reply to M. The Crystalline Entity • •@Madeline :antiverified: this feels like the correct git hosting. I like the power of being able to PR easily, but I guess I could do that with MFA
This is really good
silverwizard
Unknown parent • •@Madeline :antiverified: I have sent patches over email! It's a different process (not a hard one ime) - git will make it, you slam it into your MUA and then the other side takes git's codeblock and git has an injestion command.
Caveat: I send mail with telnet when I'm too scared to look at my inbox
silverwizard
Unknown parent • •Binder
in reply to M. The Crystalline Entity • • •use a remote filesystem or a machine accessible by ssh
Binder
Unknown parent • • •missed the ssh part my bad. You covered that very well.
I often use an NFS, CIFS, or even SSHfs and just put git there.
Binder
Unknown parent • • •Random Geek
in reply to M. The Crystalline Entity • • •silverwizard
Unknown parent • •silverwizard
Unknown parent • •woozong
in reply to M. The Crystalline Entity • • •a very weeny construct 💀
in reply to M. The Crystalline Entity • • •hi! you wrote,
i think there might be a step missing here. pretty sure that for this to work you need to run
git update-server-info
in the repo that's being served over http. (and re-run that command every time the repo changes.)i think yours is much clearer and more accessible, but here's a similar writeup on the subject that i did: orbital.rodeo/~mike/20210804-s…
project: stick your git repo in your static website
orbital.rodeoсерафими многоꙮчитїи
in reply to M. The Crystalline Entity • • •серафими многоꙮчитїи
in reply to серафими многоꙮчитїи • • •zzz
in reply to M. The Crystalline Entity • • •Serena's season of the witch
in reply to M. The Crystalline Entity • • •zzz
Unknown parent • • •Peter Nelson
Unknown parent • • •Gitea has a feature to mirror and keep in sync, with options on how frequently to update. It tracks branches and tags, but issues and PRs (as non-git data) are not synced.
git.fuzzle.org/petern/OpenTTD is my local mirror of OpenTTD from GitHub, although if I was doing it again I would set it up with a dedicated user instead of my normal account.
OpenTTD
Gitea: Git with a cup of teaCyber-Fox 🏴☠️🐙
Unknown parent • • •@luna
Gitolite is verry nice. I use it since years for personal git hosting.
For installing it's simple:
1. Install from the OS repo, or from the source
2. Create a "git" user (or any other name if you want)
3. Log into this user and push to it your admin public ssh key called as "yourname.pub" (replace "yourname" by your name)
4. Run command: gitolite setup -pk yourname.pub
And it's done. Your can nom do a ssh git@yourserveur to get the list of repos you have access to.