this post was submitted on 12 Oct 2024
148 points (98.7% liked)

Open Source

30743 readers
609 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
 

And why?

top 50 comments
sorted by: hot top controversial new old
[–] LuuTuyen@lemmy.world 2 points 2 days ago* (last edited 2 days ago)

I used GitLab for personal projects, and I use GitHub for contributing to other project

GitLab is partially open source, GitLab can be self-hosted while GitHub does not

[–] SynopsisTantilize@lemm.ee 3 points 2 days ago (4 children)

I'm asking this because I'm self learning and new. Is there a place I can host my code? I've been build a pretty robust app in visual code Windows Forms C#. I don't want to advertise or anything. I just want to have the code hosted as a backup

load more comments (4 replies)
[–] ElectronBadger@lemmy.ml 25 points 4 days ago* (last edited 4 days ago) (1 children)

Codeberg for all my projects, both private and public. Some are mirrored to Github. Also Codeberg Pages and its Woodpecker CI.

load more comments (1 replies)
[–] unionagainstdhmo@aussie.zone 6 points 3 days ago* (last edited 1 day ago)

I used to self host Gitea, just private repos for university assignments and other personal projects that I was going to open source one day (I have a real problem with finishing things). Then a big storm hit where I live and the internet was out for 2 weeks (I could still use my phone if I stood in the right spot), over that time I was able to work locally but for when I was out and about I couldn't collaborate on anything because I couldn't access it so I begrudgingly moved to GitHub.

At least with GitHub I get very reliable and fast hosting even if everything I write is being fed to AI. Their search is also amazing.

I do plan, however on getting Forjego set up for private stuff again, because some stuff cannot be made public. When the day comes that I finish something and open source it, I'll probably put it on Codeberg. Hopefully my project will be good enough that people are driven to join Codeberg to get involved.

As for my GitHub account, I won't be able to ditch that so I may continue to fix random bugs and typos I come across. I wouldn't want to impose my beliefs on someone else's project

[–] DasFaultier@sh.itjust.works 28 points 4 days ago

Gitlab at work, because, well, it's there and it works just fine.

Forgejo at home, because it's far less resource hungry.

In the end Git is a) a command line tool for b) distributed working, so it really doesn't matter much which central web service you put in place, you can always get your local copy via git clone REPO.

[–] sntx@lemm.ee 11 points 4 days ago
[–] ExtremeDullard@lemmy.sdf.org 30 points 4 days ago* (last edited 4 days ago) (4 children)

I use Github for 4 reasons:

  • Everybody else is on Github. Github is to repo hosting what Youtube is to video hosting. It's sad but that's how it is in this world of unchecked, extreme big tech monopolization. So I put my stuff up there because it's just simpler to be found.
  • I use Github as a dumb git repo. I don't use any of the extra social media garbage Microsoft tacked onto it. So I get free hosting and Microsoft pretty much gets no data on me - i.e. I'm a net loss to them.
  • You can use dumb repos as PPA and RPM sources, if you need to distribute Debian or Redhat packages. Microsoft never intented for repos to be used this way, but if I can abuse Microsoft services, I will six ways to Sunday.
  • Github lets you drop videos in your README.md. But here's a trick: you can use the links to the video files anywhere. In other words, you can use Github to host videos that you can post on other forums - including here on Lemmy, or on Reddit if you're still patronizing that cesspit for some reason. I find this a nice way to abuse Microsoft's resources also, and I'm all for abusing Microsoft's resources.

TL;DR: I use Github not only because it's the most prevalent git hosting service out there, but because I can abuse it and make Microsoft pay for the abuse without getting anything of value from me in return.

[–] racketlauncher831@lemmy.ml 13 points 4 days ago

Reading the first sentence of your post: I dispise you.

Read to the end: I love you.

[–] theshatterstone54@feddit.uk 6 points 4 days ago (2 children)

I'm actually continuously running github actions that I don't need running, just because I can, and because it uses up their resources.

That's something I really like about Ublue: they use Github actions, so if you build a custom image, you're using Github's processing power for it. So, go do that. Make hundreds. Bleed Microsoft dry.

[–] sping@lemmy.sdf.org 11 points 4 days ago (1 children)

wasting energy to somehow stick it to the man?

Exhibit 56845 why humanity is fucking doomed.

[–] theshatterstone54@feddit.uk 0 points 4 days ago (1 children)

I actually forgot the /s. And I guess I wasn't clear enough. This is less than a drop in the pool for them. An image build that takes them around 15 mins including setting up the VM for the build, takes me around the same time on a machine with a 6-core Ryzen 5 at 2.375GHz, with 8GB RAM. So because they're running it on their high end hardware and it still takes that long, they aren't allocating that many resources to the VM, meaning that it costs them basically nothing.

TLDR: If any of this was a cost that had any significance to their bottom line, it would have been restricted and/or monetised.

load more comments (1 replies)
load more comments (1 replies)
[–] EuCaue@lemmy.ml 5 points 4 days ago
[–] sudoer777@lemmy.ml 5 points 3 days ago* (last edited 3 days ago) (1 children)

As much as I hate GitHub, for in-person projects involving multiple people I usually end up having no choice since they usually think GitHub is the most important programming tool ever and nothing I do is going to convince them to create an account on something that's not GitHub.

For personal stuff I use Forgejo and disable everything except the code view, so I have a quick way to show people stuff I'm doing (for career reasons).

If I was doing a project with multiple people and actually got to chose the platform I would probably use Forgejo or Codeberg and make use of the project management features.

Pijul looks interesting but the ecosystem is very lacking and it doesn't integrate well with Guix which I base a lot of my workflows around, so until this improves switching to pijul creates more problems than it fixes. The only other VCS and frontend I'm familiar with is GitLab which I don't use anymore self-hosted since Forgejo is more performant and the main version randomly deleted all my repos and changed all sorts of stuff.

cgit also looks interesting, I might look into it.

load more comments (1 replies)
[–] xoggy@programming.dev 3 points 3 days ago (6 children)
[–] sudoer777@lemmy.ml 2 points 3 days ago* (last edited 3 days ago) (3 children)

I considered using pijul but everything in Nix/Guix is oriented around git as are the plugins for my text editor and CLI, and there aren't good self-hosted web frontends that I can use to put pijul projects on my linkedin profile or whatever. I want to switch to it but the ecosystem surrounding it needs to actually exist first.

load more comments (3 replies)
load more comments (5 replies)
[–] CHKMRK@programming.dev 5 points 4 days ago* (last edited 4 days ago)

I've been selfhosting Gitea for years now and it's great, but I also don't really collaborate with anyone else so YMMV. Originally I wanted to go with GitLab utb it's too resource intensive for my use case

[–] toastal@lemmy.ml 5 points 4 days ago* (last edited 4 days ago)

For Darcs I have been using darcs hub & mirroring to my server. That said Smederee has slowly but surely been shaping up to be a better replacement (recently got reStructureText support!); once they have obliterate support, I will be tempted to make it primary for real since it covers all the basics.

For Pijul, I can really only use it self-hosted over SSH. Nest is far too feature barren to be usable—especially without the ability to fetch tarballs for instance where you can’t have or use the pijul binary for fetching (which is a bit ironic since the Pijul binary has an archive to create tarballs, Nest just doesn’t expose it). Pijul is faster & the key concept of separating your commit ID from details (such as Darcs or Git using Name <e@mail.address> as the identifier) is much nicer not just for privacy if wanted but changing these details for whatever your reasons maybe (imagine changing your name after marriage or sex change & trying to convince all projects you’ve committed to to rewrite their history with your new info to not be confused or dead-named—most maintainers would ignore you). Someone should write a decent, lightweight forge so Pijul can be usable.

I use Darcs/Pijul since Patch Theory is a better model than snapshot-based version control as seen in Git/Mercurial & others. Since neither have many hosting or forge options, there are not many choices (answering the “why?”).

If using Git, an inferior VCS IMO, things are now going hosted on Codeberg. In the past, I had paid for SourceHut & while it was a generally nice, lightweight experience I was disappointed with the features & progress to the point I didn’t feel I was getting good value (also no Darcs or Pijul support, just Git & Mercurial). Since I don’t write any of my own code using Git anymore, I don’t really bother self-hosting cgit, Ayllu, or something. That said, Forgejo is a pretty disappointing in its direction as they choose to clone more features from MS GitHub than even Gitea which basically leaves you with MS GitHub but FOSS without addressing some core issues (PR workflow is not good, YAML-based CI is not good, & so on); a better sell IMO would be fundamental improvements on these old models/workflows that would inspire leaving for technical reasons instead of social/political/philosophical reasons.

[–] 2xsaiko@discuss.tchncs.de 5 points 4 days ago

sourcehut. I like how it’s structured, where issue trackers, repos, and so on are independent of each other but can be grouped using a project, and you can have as many of each as you want or none at all. You should be able to have a huge monorepo with many issue trackers, or a single issue tracker for a project split across many repos if you want. GitHub doesn’t really allow you to do either, certainly not the former, and same with most of the alternatives. Everything else seems to clone GitHub’s workflow for contributions as well which I can’t stand (sourcehut uses git send-email as the primary contribution method — but there is also a GitHub style PR button —, which apart from the email jank I find much better because once it’s set up you can just send changes to any project with just a local clone; it also means you don’t even have to be registered on sourcehut to send changes to a project hosted there).

I also self-host cgit I suppose but that’s not really a GitHub alternative.

[–] mlfh@lemmy.ml 88 points 4 days ago (3 children)

Forgejo, a Gitea fork used by Codeberg. I chose it because it's got the right balance of features to weight for my small use case, it has FOSS spirit, and it's got a lovely package maintainer for FreeBSD that makes deployment and maintenance easy peasy (thanks Stefan <3).

[–] zelifcam@lemmy.world 20 points 4 days ago (2 children)

I’ve been meaning to switch over from Gitea to Forgejo for ever. I’ll get it done tomorrow ;)

[–] clb92@feddit.dk 1 points 1 day ago

Why switch from Gitea to Forgejo, if I may ask?

[–] foster@lemmy.fosterhangdaan.com 14 points 4 days ago* (last edited 4 days ago)

Definitely best to get that done ASAP. Forgejo being a drop-in replacement for Gitea won't be guaranteed ever since the hard fork:

To continue living by that statement, a decision was made in early 2024 to become a hard fork. By doing so, Forgejo is no longer bound to Gitea, and can forge its own path going forward, allowing maintainers and contributors to reduce tech debt at a much higher pace, and implement changes - whether they’re new features or bug fixes - that would otherwise have a high risk of conflicting with changes made in Gitea.

[–] thirdBreakfast@lemmy.world 5 points 4 days ago

+1 for Forgejo. I started on Gogs, then gathered that there had been some drama with that and Gitea. Forgejo is FOSS, simple to get going, and comfortable to use if you're coming from GitHub. It's actively maintained, and communication with the project is great.

load more comments (1 replies)
[–] sag@lemm.ee 65 points 4 days ago

Codeberg. Fully Libre

[–] m4m4m4m4@lemmy.world 56 points 4 days ago (1 children)

Codeberg. I host my web portfolio live there and even did a small contribution to kbin when it was alive. It's great though now I'd want to look at forgejo.

[–] sunstoned@lemmus.org 3 points 4 days ago (2 children)

When you say you host it live on Codeberg, do you mean something akin to GitHub pages? I didn't know that existed

[–] thagoat@lemmy.sdf.org 23 points 4 days ago

Gitea self-hosted, because my repos are mine.

[–] mike_wooskey@lemmy.thewooskeys.com 21 points 4 days ago (1 children)

I self-host forgejo. I'm not a heavy or advanced user, and it suits my needs. I barely use github any more: mainly to star repos I like, and find and use repos (there's a ton there - it's almost ubiquitous).

[–] foster@lemmy.fosterhangdaan.com 0 points 4 days ago* (last edited 4 days ago)

Just bookmark the repos you like; no Github account needed.

[–] cerement@slrpnk.net 19 points 4 days ago
  • the cool kids use Sourcehut
  • I use Codeberg
[–] pylapp@programming.dev 16 points 4 days ago (2 children)

GitLab because for CI/CD is it far, far much user friendly and comfortable to use with GitLab CI compared to GitHub Actions and flows.

In addition I can integrate templates for CI/CD pipelines already defined with the To Be Continuous project (which is open source).

https://to-be-continuous.gitlab.io/doc/

load more comments (2 replies)
[–] danielquinn@lemmy.ca 12 points 4 days ago

GitLab. The CI is fantastic.

[–] IsusRamzy@lemmy.ml 10 points 4 days ago (1 children)

GitLab, because it's FOSS.

[–] Lemongrab@lemmy.one 6 points 3 days ago (1 children)

Why not Codeberg, cus its FOSS and run by a donation-funded nonprofit.

[–] JackbyDev@programming.dev 6 points 3 days ago (1 children)

You cannot host non-foss code on Codeberg. That's a possible reason.

[–] Lemongrab@lemmy.one 5 points 3 days ago (1 children)
[–] JackbyDev@programming.dev 1 points 3 days ago

Same. Their policy is very reasonable in my opinion. They still allow non foss stuff for like personal config files which is nice. The only time I ever got a warning was when I uploaded a 100MB file to a private repo without any license. It was just a banner on the repo. (I was messing around with alpine images.)

[–] dinckelman@lemmy.world 9 points 4 days ago

I use Gitlab, but i’m becoming increasingly more unhappy with it over time.

When i have enough resources run another local machine, im planning to switch to switch to Codeberg, with selfhosted Woodpecker CI instead

[–] GreenKnight23@lemmy.world 8 points 4 days ago (1 children)

self-hosted gitlab.

I love it. I can clone external repos on a schedule and build my projects based on my local cache. I'm even running some automation tasks like image deployments out of it too.

[–] corsicanguppy@lemmy.ca 1 points 3 days ago (3 children)

I can clone external repos on a schedule

Some cron deal?

load more comments (3 replies)
[–] ryannathans@aussie.zone 8 points 4 days ago* (last edited 4 days ago)

Gitlab

Open source

Free ultimate for open source organisations, we get a lot of free pipeline minutes without having to run our own servers for devops. Allows us to focus on development

[–] admin@lemmy.nowhere.moe 7 points 4 days ago (1 children)

gitea: lightweight, self hostable. preety neat. can also be customized https://git.nowhere.moe

[–] crmsnbleyd@sopuli.xyz 14 points 4 days ago

forgejo is a fork made by a nonprofit and deals with security issues much quicker

[–] velox_vulnus@lemmy.ml 7 points 4 days ago

I'm not cool enough to use Sourcehut and deal with patches and emails - they're already a pain in the ass when I submit patches to GNU, so I stick to Codeberg.

[–] ramenu@lemmy.ml 7 points 4 days ago

Codeberg for public repositories, cgit (if that even counts) on my own server for private ones

[–] scottmeme@sh.itjust.works 6 points 4 days ago

Gitlab.com and Gitlab ce self hosted

Open source and I'm very very familiar with how ci/cd operates.

load more comments
view more: next ›