Git repository storage/forge recommendations?

3 years ago by Freddo to c/selfhosted

Looking into possibly replacing my GitLab instance, as I find it bloated and heavy on both hardware and maintenance compared to alternatives.

Currently I'm looking at:

  • GitTea
  • Forgejo, as GitTea turned into a for-profit, otherwise that would be the clear choice
  • OneDev

So I'm wondering what the people on here use, and if they have any other suggestions or opinions?

haroldstork 23 points 3 years ago

Gitea is light and fast so I highly recommend it. If you are worried about it being a for profit company, then use the fork, but if they haven’t done any harm, I’d said give them a shot.

path: 0 1775090, hotness: undefined, score: 23, children: 5
ripe_banana 9 points 3 years ago

Are there any feature differences between gitea and forgejo?

I can't figure out any differences other than the ownership structure.

path: 0 1775090 1776307, hotness: undefined, score: 9, children: 3
Chaphasilor 6 points 3 years ago

Forgejo is about to introduce support for federation, but is also planning to upstream those changes to GitTea down the line

path: 0 1775090 1776307 1777894, hotness: undefined, score: 6, children: 1
ripe_banana 4 points 3 years ago

Federation would be super cool. Lemmy has really sold me on it.

path: 0 1775090 1776307 1777894 1798268, hotness: undefined, score: 4, children: 0
AbidanYre 4 points 3 years ago

I tried it at one point and they hadn't even done a find/replace on "gitea", so it would seem the changes, if any, are pretty minimal.

path: 0 1775090 1776307 1786306, hotness: undefined, score: 4, children: 0
vegetaaaaaaa 1 point 3 years ago
path: 0 1775090 1791450, hotness: undefined, score: 1, children: 0
thedoginthewok 8 points 3 years ago

What do you mean by "gitea turned into a for profit"?

I really like gitea, set it up at my last job and it was easy to work with and used very little resources.

path: 0 1777479, hotness: undefined, score: 8, children: 2
freddo 4 points 3 years ago path: 0 1777479 1781264, hotness: undefined, score: 4, children: 0
vegetaaaaaaa 3 points 3 years ago path: 0 1777479 1791520, hotness: undefined, score: 3, children: 0
ShittyKopper 6 points 3 years ago

if you have a hard time choosing between Gitea and Forgejo I recommend picking Gitea for now, as they haven't done anything bad just yet, but if they do Forgejo supports migration from Gitea.

iirc there isn't an official way of migrating the other way so if Forgejo fucks up you may end up out of luck

path: 0 1795517, hotness: undefined, score: 6, children: 0
juri 5 points 3 years ago path: 0 1774945, hotness: undefined, score: 5, children: 2
freddo 1 point 3 years ago

Certainly looks interesting, though being able to do code review and a more full-fledged CI/CD solution is a requirement.

path: 0 1774945 1775137, hotness: undefined, score: 1, children: 1
thelastknowngod 1 point 3 years ago

I think the idea with soft serve us that you use hooks and use a dedicated ci/cd tool. I use adnanh/webhook for lightweight ci/cd on personal projects.

path: 0 1774945 1775137 1799194, hotness: undefined, score: 1, children: 0
Dirk 5 points 3 years ago path: 0 1775987, hotness: undefined, score: 5, children: 0
johntash 3 points 3 years ago

Do you need ci/cd or only git? If just git, gitea or forgejo are super simple.

If you don't need multiple users or a web ui, you could also just use ssh and store git repos on a server somewhere without extra services running:

https://git-scm.com/...

path: 0 1790085, hotness: undefined, score: 3, children: 3
freddo 1 point 3 years ago

CI/CD, multiple users, container registry, and a web UI are requirements, though not much more which is why I find GitLab to be a bit over the top.

path: 0 1790085 1796865, hotness: undefined, score: 1, children: 1
PupBiru 1 point 3 years ago

so i just did a quick search and apparently

Starting with Gitea 1.19, Gitea Actions are available as a built-in CI/CD solution.

*edited:

also they support being a package repo, including container registry

path: 0 1790085 1796865 1804788, hotness: undefined, score: 1, children: 0
jsnfwlr 1 point 3 years ago

since 1.19 Gitea supports CI/CD action runners that are compatible with github actions. I have one that generates a static site from the data I store in gitea and publishes it to netlify.

path: 0 1790085 1814665, hotness: undefined, score: 1, children: 0
leraje 3 points 3 years ago

Big fan of Gogs personally. Simple, light and a doddle to install.

path: 0 1775595, hotness: undefined, score: 3, children: 1
exu 2 points 3 years ago

Gitea is a fork of Gogs

path: 0 1775595 1778445, hotness: undefined, score: 2, children: 0
eleitl 3 points 3 years ago

Are the alternatives feature-complete in regards to GitLab CE?

path: 0 1775503, hotness: undefined, score: 3, children: 0
cow 2 points 3 years ago

Maybe sourcehut if you need more than git hosting.

path: 0 1794748, hotness: undefined, score: 2, children: 0
pnutzh4x0r 2 points 3 years ago

My friend has deployed Phorge for himself and appears to be happy with it.

path: 0 1776179, hotness: undefined, score: 2, children: 0
kreateer 2 points 3 years ago

I assume that by now you've made a decision, so if I may I'd like to chip in and ask what's the benefit of self-hosting a Git instance, like the ones mentioned, over using existing free services like GitHub or Codeberg to host your code? What do you gain by hosting this yourself, apart from privacy and security?

path: 0 1872525, hotness: undefined, score: 2, children: 1
freddo 2 points 3 years ago

I'd say the main benefit gained is sovereignty and a sense of place. This is not for personal use, but rather for a computer enthusiast association that I'm part of, so having our own git to integrate with the rest of our services makes sense. Throw on branding and link it to our SSO.

path: 0 1872525 1875356, hotness: undefined, score: 2, children: 0
exu 2 points 3 years ago

I'm using Gitea. I did try OneDev and it is very nice, but mainly intended for single-team usage as it doesn't use different namespaces for user projects. It's also very much its own thing, with its own CI/CD for example. Gitea can integrate with other projects much better, like using Woodpecker for CI/CD or logging in with GitHub/GitLab using Oauth.

I did follow the drama around Gitea/Forgejo, but for now the Gitea company hasn't done anything wrong, there's no feature difference (Forgejo aims to be a soft-fork for the moment) and Forgejo had a bit of drama around the lead developer ~1 month after it was founded.

path: 0 1778645, hotness: undefined, score: 2, children: 0
selfhosted
selfhosted

@lemmy.world

login for more options
63002
6813
5980

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

go to feed...