this post was submitted on 10 Feb 2024
142 points (99.3% liked)

Programming

17397 readers
139 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
142
submitted 9 months ago* (last edited 9 months ago) by [email protected] to c/[email protected]
 

Hello, I was thinking of moving all my open source projects here. Anyone have any opinions? Excuse the post if this has been discussed previously, I was unable to find anything directly relating to peoples opinions on using it.

Edit: Lots of great discussion going on here! Thanks to everyone who contributed! I wasn't sure before but now I am set on moving all my projects over. The fact that it will be federated makes it even more appealing given that github is now requiring phone numbers and other personal information in order to create an account on their site.

top 32 comments
sorted by: hot top controversial new old
[–] [email protected] 48 points 9 months ago (3 children)

I selfhost a forgejo instance, which is the underlying framework for codeberg (and they maintain forgejo).

Federation is in the works, they say.

If i was going to have any projects public, this is where i would do it.

[–] [email protected] 9 points 9 months ago* (last edited 7 months ago) (2 children)

I also selfhost forgejo and im really happy with it. (I moved from GitLab.) Personally I cant wait for federation (which GitLab is also working on). If it were so be implemented, then ppl could actually contribute so projects on selfhosted git servers, which I am really looking forward so.

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

Federation like that sounds perfect, and would definitely help out for the current situation I see where projects are officially on, say, Gitlab but still accept pull requests on GitHub. I'm sure that involves some annoying manual process (although should be less hassle than the code review!)

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

I've also got a self hosted Forgejo instance. I'm patient and really excited by the future prospects of federation.

It'll be really nice to keep my code and tooling entirely within my home while still being able to share and collaborate with others though those federated exchanges of community & code.

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

Newbie here, what is the difference between code berg and forgejo?

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

Codeberg is the hosted forgejo instance from codeberg E.V. Codeberg ev also forked gitea 2022 and spearheads the development of forgejo

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

Similar situation, and I follow the Forgejo development. I've found the codeberg individuals that I've interacted with to be very good at what they do. They give me confidence in the wider platform.

[–] [email protected] 36 points 9 months ago* (last edited 9 months ago)

The interface is the best I know of, a lot like pre-Microsoft github. Especially important to me is that It doesn't intercept my browser's built-in shortcuts like github now does, or require javascript or bury things under submenus like gitlab does.

The promise of federation is appealing, too.

I plan to use it for new public projects, and might even move my old ones over.

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

Good UI, good name, good ethics. I like it. And theyre working on federation

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

What does federation for git mean?

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

You can open an issue using an account from a different forgejo instance. You can comment from your lemmy account, ideally you can also subscribe to issues and releases from lemmy/mastodon

[–] [email protected] 3 points 9 months ago

Oh, that sounds great!

[–] [email protected] 24 points 9 months ago

It's pretty good, open source and they have a nice UI, I've never used it for my own projet (I use Gitlab) but I'm following some projects on there and it is always better than github!

[–] [email protected] 19 points 9 months ago (4 children)

I just discovered it recently, and started adding stuff. I feel a lot more comfortable about my coffee here than other places. I like it!

However, I'm worried that future employers may ask me to "share my GitHub" with them, leading me to try to explain to a potential employer what "a Codeberg" is.

[–] [email protected] 21 points 9 months ago

Do you want to work for someone that doesn’t understand there are alternatives to GitHub? Label it as your portfolio or VCS on your resume and share the link instead of GitHub when asked. If it causes issues( that’s a great weed out on your end.

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

Just say and lable it as your public git repo.

ex: "Here's my public git repo."

[–] [email protected] 5 points 9 months ago

Same. I thought about setting up a mirror on Github, just so I wouldn't run into a situation like that.

[–] [email protected] 2 points 9 months ago

Pretty easy to set up a remote for GitHub in Gitea.

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

I like it a lot. Much better UI than GitHub and perfectly reliable and not directly feeding all my code into Microsoft's license violations. I also recently heard that you can't search through GitHub repos anymore without an account, so that's another reason for Codeberg to me.

Two things to be aware of:

  • They ask you to only put open-source repos on there. Sometimes you might have a repo containing personal configuration, which you should then put up on a different service (or backup locally).
  • CI/CD isn't as readily available. They've been working on an integration with Woodpecker CI. Presumably something like Travis CI would also work. But yeah, honestly haven't tried getting CI/CD going so far...
[–] [email protected] 26 points 9 months ago

From their terms of service:

They (private repos) are also allowed for really small & personal stuff like your journal, config files, ideas or notes, but explicitly not as a personal cloud or media storage.

I'd guess that most private git repositories are small enough to fall under this category (unless you track large non-text files in git). This also seems like a very reasonable policy, considering that they're a non-profit and they want to focus on supporting open source projects.

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

Little bastion of hope for tbh. Clean UI, open source, supported by a nonprofit, community driven and work towards ActivityPub federation on it.

I'm over proprietary and profit driven products focused on trapping me in their ecosystems.

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

I've been using it heavily for the last 6 months. It's been great, considering it's running on a shoestring, volunteers, etc.

Also, this: https://drewdevault.com/2022/03/29/free-software-free-infrastructure.html

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

Drew DeVault went on to make his own alternative as well, with Sourcehut.

[–] [email protected] 13 points 9 months ago

Yeah i like it besides anything that isn't owned by big corpo like MS is a plus. Seems to have good ethics / privacy policy and is also community led . and they are working on federation yeah definetly good. Will suggest switching op .

[–] [email protected] 10 points 9 months ago

I love it enough to donate. Forego is an awesome project.

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

Using it right now. The uptime back then was abysmal, the sites are often unresponsive. They seems to have fixed those things now, I have migrated all of my active project to codeberg from gitlab now.

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

Had no trouble getting access to their CI, my request took less than a day for my one AGPL-licensed project. Also has a weblate instance. In the past the UI could have been a little laggy with large diffs but that improved somehow. Not too many 3rd party integrations supported though and not as feature-rich as Gitlab, but still very friendly UX that'd probably cover your GitOps needs in 90% of the cases.

They also got really good ToS, see tosdr.

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

Thanks, I didn't know this website

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

I've been using it for a while, can highly recommend it. Migrating stuff from github was quite easy.

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

I recommend you to explore sourcehut as well, if you're not afraid of something different to gitlab/github workflows.

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

Moved most of my stuff there a while ago, has been pretty great.

[–] [email protected] -2 points 9 months ago

If you're looking for collaboration or audience I'd stay with github. It's too prevalent to skip for alternative niche with account signup and that elsewhere as a barrier.

If that's no concern to you it's viable.