this post was submitted on 12 Oct 2024
142 points (98.6% liked)

Open Source

30737 readers
611 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
[–] [email protected] 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

[–] [email protected] 2 points 2 days ago (2 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

[–] [email protected] 2 points 2 days ago

Github, Gitlab, Codeberg, Gitea

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

Thanks. I'll fuck around today with it. Can I make it private? And should I be concerned about people taking my ideas and or code?

[–] [email protected] 1 points 1 day ago

If you use a service like GitHub you can make it private but be aware that the Info is still readable by the service provider. Not in a sense that they are gonna steal your idea (unless you invented a way to make good) but something like secrets passwords etc in your code.

I'd go for Codeberg, it's free as in free speech and beer and is an open source project based on gitea. They are working at a federation protocol to make coop doable but without the need for a centralized provider v

[–] [email protected] 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

[–] [email protected] 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.

[–] [email protected] 1 points 3 days ago

GitLab which I don’t use anymore self-hosted

This. Gitlab swapped out the performant webeditor for a VCS clone that runs like a fucking dog all.the.time, and they're in a phase where they just can't control their memory consumption while they focus on whole-sale vendoring of shit projects inside the code -- they're actually considering bringing in pulp as if they can figure out 20 kind of artifact storage but RPMs are a special snowflake requiring the worst bloated pig of an add-on ever.

I need gitlab to get better as I really like their CI specification and how not-fucking-YAML it is.

[–] [email protected] 3 points 3 days ago (3 children)
[–] [email protected] 4 points 3 days ago (1 children)

Do you really use it or are you just adding an alternative to the conversation? It is an interesting concept (commutation) but not likely to supplant git.

[–] [email protected] 1 points 3 days ago

I use it for self hosting because all I need installed is sshd and the pijul package. Then I can set my server's ;p as my remote. The "nest" web UI (the Pijul equvivalent to git tea) is in development and not open source yet, but you can use the hosted version at https://nest.pijul.com/ if you're curious.

[–] [email protected] 2 points 3 days ago* (last edited 3 days ago) (1 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.

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

This is actually why I prefer using pijul. I don't want to commit my secrets to a git repo and nix will refuse to build because I'm pulling in files that aren't tracked. Simple solution is to not make the flake directory a git repo and it won't complain. That's my solution at least. I also prefer using git (and therefore pijul) via cli rather than as a text editor integration so my experience differs.

[–] [email protected] 2 points 2 days ago* (last edited 2 days ago) (1 children)

I use git primarily via cli also, the text editor integration (with helix) highlights information such as what lines haven't been committed and makes it easier to access other files in the repo, the fish integration tells me if there's files that haven't been committed or commits that haven't been pushed without having to run git status

[–] [email protected] 1 points 2 days ago

I do use helix but haven't taken advantage of the git integration. Maybe I'm unaware of its power. For fish, I defined my own fish_prompt function with an indicator if there are uncommitted changes. It's just running git status under the hood. I have a TODO in that function to run a pijul diff in the directory if git status returns nothing...

[–] [email protected] 0 points 3 days ago (2 children)

Thought this was abandoned?

[–] [email protected] 1 points 3 days ago

The 1.0 is in beta. There has been a lot of refactoring to get it to this point. I would say there's still many quality-of-life features missing that would stop me from using it in a professional setting but for hobby projects it's meeting my needs (and gets better with each new beta build). They only have a few project backers but the main developer has been working very steadily on it.

[–] [email protected] 2 points 3 days ago

Thought this was abandoned?

We can't answer this question as written. Only you can confirm what you were thinking.

[–] [email protected] 10 points 4 days ago
[–] [email protected] 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/

[–] [email protected] 1 points 3 days ago

Seems to be container-dependent. I did too much security for that. Thanks, though.

[–] [email protected] 2 points 3 days ago

holy shit man

[–] [email protected] 2 points 4 days ago

Gitea because GitHub offers limited features for a free Syrian account

[–] [email protected] 10 points 4 days ago (1 children)

GitLab, because it's FOSS.

[–] [email protected] 6 points 3 days ago (1 children)

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

[–] [email protected] 6 points 3 days ago (1 children)

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

[–] [email protected] 5 points 3 days ago (1 children)
[–] [email protected] 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.)

[–] [email protected] 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.

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

I can clone external repos on a schedule

Some cron deal?

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

pipeline schedules. once a month I clone the remote repo into a local branch, and push it back to my repo with an automatic merge request assigned to me. review & merge kicks off build pipeline.

I also use pipeline schedules to do my own ddns to route 53 using terraform. runs once every 15 minutes.

also once a week I've got about 50 container images I cache locally that I build my own images from.

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

pipeline schedules

Ah. Cron but from inside the garden. Okay.

No need to talk about containers. Having worked security (and build/rel) they present no net value.

[–] [email protected] 1 points 2 days ago
[–] [email protected] 24 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.

[–] [email protected] 0 points 3 days ago

Woodpecker CI.

Fucking YAML. Nope.

[–] [email protected] 7 points 4 days ago

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

[–] [email protected] 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

load more comments
view more: next ›