this post was submitted on 14 Feb 2024
35 points (94.9% liked)

Asklemmy

43742 readers
1456 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy πŸ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_[email protected]~

founded 5 years ago
MODERATORS
top 21 comments
sorted by: hot top controversial new old
[–] [email protected] 30 points 8 months ago* (last edited 8 months ago) (1 children)

Gitlab.com just started doing shady stuff and requiring phone numbers or something on sign-up if what I read a few days ago here, is correct. For self-hosting the software should still be alright.

Github.com is by Microsoft and not free software. I don't know what direction Microsoft is taking with it, but it is widely adopted and they give you free CI and other stuff.

Codeberg, Sourcehut etc should be fine. I haven't heard negative things about them.

"Best" is running my own Forgejo on my server. At least that's what I think. But I also keep things on github, since all the people are there.

[–] [email protected] 3 points 8 months ago (1 children)

Can you keep things both on your forgejo and on github?

[–] [email protected] 3 points 8 months ago* (last edited 8 months ago)

It is git. You can fork repos. And some platforms can mirror a repository and keep it synced. If not, you'd need to build something with webhooks. Or keep both synced manually every now and then (or on a new release/tag.)

[–] [email protected] 18 points 8 months ago (4 children)

What's best is probably hosting your own git server (for hopefully obvious reasons).

[–] [email protected] 18 points 8 months ago

If you have the ability to host your own, then agreed 100% host your own. Microsoft proved that if companies are more than happy to mine your code

[–] [email protected] 10 points 8 months ago (1 children)

From personal experience, if you're hosting Gitlab and make it available to the internet, make sure to keep it updated or your server will be super slow hosting a crypto miner within a year.

[–] [email protected] 4 points 8 months ago

Good advice for anything you're hosting!

[–] [email protected] 6 points 8 months ago

Depends on what you're doing.

If you want free offsite backups, collaboration with others, integration with other tools, etc., then self-hosting is the worst option.

[–] [email protected] 1 points 8 months ago

Though the topic is git forges, so then the question is which one do you self host?

[–] [email protected] 14 points 8 months ago

A controversial opinion, but github is the most widely recognized and worth the most on your resume.

[–] [email protected] 14 points 8 months ago* (last edited 8 months ago) (2 children)

codeberg

it’s like github but non-corporate free software

it’s very polished and featurful

it’s built upon/by the same devs as forgejo, which is open tech to self host your own git server (with federation potentially coming), so supporting one supports the other

[–] [email protected] 8 points 8 months ago

Codeberg is a German non profit iirc, I host some stuff there but most is on my personal Forgejo.

The Forgejo devs (mostly centered on Codeberg) are also the ones pushing for federalized code forges (I open a PR on your git server from mine and so on)

[–] [email protected] 2 points 8 months ago (1 children)

Isn't codeberg only for open source code? i.e. you can't have private repos?

[–] [email protected] 2 points 8 months ago (1 children)

No, you can make private repos

[–] [email protected] 1 points 8 months ago (1 children)

what? then why do they do it

[–] [email protected] 1 points 8 months ago

To work on it from different devices, use features like issues, basically the same reason people use it for public repos instead of just uploading it as a zip somewhere. Sometimes you have stuff you don't want to release to the public or it's just not ready to release to the public yet.

[–] [email protected] 14 points 8 months ago (1 children)
  • You want your project to become popular, get stars and discussions ? : Github

  • You want control for your small hobby project ? : Self host Gitea or Forgejo

  • You don't mind paying and supporting an open source developer ? : Sourcehut

[–] [email protected] 5 points 8 months ago* (last edited 8 months ago)

Forgejo: for when you really don't want to have to sanitize your scripts and don't want to leak passwords, but want version control and a nice webui

[–] [email protected] 5 points 8 months ago
[–] [email protected] 3 points 8 months ago

FWIW I really like bitbucket

[–] [email protected] 1 points 8 months ago

Github. It’s time travel compatible in the sense that it’s been around longer