After reading this tutorial about how to mirror a Gitea repository to other Git hosting services like GitHub, I decided to follow a new strategy regarding my projects. I will use my main Gitea instance for all my public repositories and then mirror them on Codeberg and GitHub. I will also migrate projects from GitHub and Codeberg to my Gitea instance and replace the repos with mirrors. The first repo is this one with a mirror on Codeberg and a second mirror on GitHub.
Yesterday GitHub had an outage and it also resulted in some failures in the build pipeline for this blog. That’s why I decided to host myself a second Gitea instance on a VPS just for this purpose, where I mirror all the dependencies that are needed for a successful build, host some private repos or backup mirrors.
Yesterday, GitLab sent an email to all users (and wrote a blog post) telling that they are updating their terms & services (to which you have to agree) to include a new third party service to track and analyze the behavior of their users, so that they better understand how their users interact with GitLab.
Hugo is a framework to build static websites. Yesterday I migrated this blog from Ghost - a dynamic NodeJS based CMS - to Hugo, not only to reduce the hardware requirements (a static page uses way less resources), but also to simplify my setup.
There are different reasons for why you may want to install your own git server, like downtimes or new telemetry at GitLab. In this article I want to show you the self-hosted alternative Gitea, which you can easily install on a Virtual Private Server (VPS) with Ubuntu or one of many other Linux distributions (maybe at DigitalOcean or Hetzner) or even a small Raspberry Pi.