Hosting my #Git repos on GitHub is feeling increasingly icky because of the way Microsoft is scraping and reusing user code without consent, violating free software licenses in the process. I don't have code worth a shit hosted with them and don't care about the open GitHub Pages repo which I'm using as a quote-unquote free host of my static site. But I also have private repos of writing projects hosted with them and have no confidence at all that the privacy of this content will be respected.

So what are recommended alternatives for a use-case like mine? #Codeberg? Self-host? I don't need fancy actions or anything like that, just trustworthiness and integrity both morally and technically. I could probably self-host if it's just Mastodon- or wiki-levels of fiddly, at a much higher difficulty level (say: email hosting) I'm likely better off with an external host. An external host also has the advantage of not falling prey to my incompetence as a sysadmin, which is why I've held my nose and used GitHub all this time lol.

@ljwrites I host mine on a linux server with ssh - that is all. No fancy tools or anything. Plain git and ssh.
@ruskie So plain Git isn't too complicated to host? Which do you use, Gitea or something else?

@ljwrites plain git.
git init /path/on/server
git clone user@server:/path/on/server

That's all. No extra tools or anything beyond basic git.

@ruskie @ljwrites That's how I host all of my stuff.

@drwho @ruskie @ljwrites If you want CI, that meshes well with #Laminar https://laminar.ohwg.net/

Personally I'd also use the #git http-backend #cgi program + #nginx since it has some benefits. Maybe also #gitweb if I want it to be public.

All of those, at least on #Debian, are provided by the git, nginx and laminar packages.

Laminar - Lightweight Continuous Integration

Continuous Integration the Light Way. Laminar is a lightweight yet highly extensible self-hosted Continuous Integration platform for Linux

@lispi314 @ruskie @ljwrites I use that for my COVID-19 data repository. Needed some patching (and desperately needs some CSS) but perfectly workable.
@lispi314 as was already suggested — plain #git will do just fine. Should you need to share the repository with others I can’t recommend #gitolite enough: https://gitolite.com
gitolite.com

@hadret I've actually had issues with gitolite & networked filesystems.

Some of its file operations have checks that don't play well with certain types of attribute translation.