this post was submitted on 24 Sep 2023
122 points (97.7% liked)

Programming

17326 readers
242 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
 
top 25 comments
sorted by: hot top controversial new old
[–] [email protected] 26 points 1 year ago (1 children)

Setup Gitness in 30 seconds

Install with a single Docker command. Lightweight enough to run on a $4 Digital Ocean droplet.

like

[–] [email protected] 7 points 1 year ago* (last edited 1 year ago) (4 children)

I haven't seen why to use docker until recently. It is easy and fast to run non trivial setup quickly on any Linux distribution or WSL.

[–] [email protected] 10 points 1 year ago

Yeh, docker is sweet. Docker compose is even better.
It's great when you start dockerising things yourself, and stuff just works.

A note, tho. Docker is a brand name. Open Container Initiative (or OCI) is the open source equivalent. Its mostly compatible (IE compatible until you get into the weeds). A lot of the tooling, you can just alias docker for whatever the tool is and it's the same.

[–] [email protected] 4 points 1 year ago

You really gotta try it to get it. You can read about the benefits all day but u til you have the aha moment it won't be the same. So let me give an example. Some tools use some scripting languages you haven't set up and you have to sit there and figure out how to get some build tool working you've never used for some language you e never used just to get some tool to do something that might fit your needs. But they also have a docker container. Do you can just docker run blah and zero set up.

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

I had similar thoughts in Docker, started using it for my media server, haven't looked back since. It's so efficient and simple, absolutely love it.

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

Docker for example is used on the Kbin project. They've created a docker image that gets PHP, Posgres and all the other services needed to get up and running with the project.

Without that image you'd have to manually get everything up and running and while I'm sure some people are comfortable jumping into a new project, having a single image that does most of the legwork means you can attract developers who just want to get started right now.

This is super handy for UI/UX/Designers/concept focused people who need to get the project running locally quickly.

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

How is this different from Forgejo (Gitea)? Or any other git platform?

[–] [email protected] 12 points 1 year ago (1 children)

I don't know, maybe it isn't. But additional diversity won't be bad, right?

[–] [email protected] 5 points 1 year ago

Yeah, of course. I just wanted to know if this one has any killer features or is just an alternative

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

Since they mainly developed a CI-system before, I guess that this would be less experimental then the forgejo/gitea one.

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

I use Drone (bad name for googe searches) and I like it! Simple idea that just works.

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

Why is Gitness on the news and why is it being considered as the de-facto alternative to GitHub? Why is GitLab/SourceHut/Forgejo (and Codeberg)/Gitea not being considered?

Forgejo for example has almost a 1:1 compatibility with GitHub Actions and it didn't make the news. If you were to replace GitHub, Codeberg or Forgejo is a very good replacement for it.

[–] [email protected] 7 points 1 year ago

Maybe just because it is new?

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

A bit ironic that they host their code on Github, no?

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

Yes, I was also surprised by this fact. But on the other hand, I wouldn't find it if it wasn't on GitHub

[–] [email protected] 1 points 1 year ago (1 children)

Maybe a silly question: how did you find it on GitHub? Did the project appear as some kind of “recommended” thing?

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

github.com/trending

It's mostly ML, but sometimes you can find something interesting.

[–] [email protected] 5 points 1 year ago (1 children)

I think this is more a marketing thing. Gitea is on GitHub too, so it can be found.. 10 years ago it would have been on Sourceforge.

[–] [email protected] 5 points 1 year ago

It's been longer than that since sourceforge was popular 😅

[–] [email protected] 7 points 1 year ago (1 children)

Maybe somebody could suggest they implement federation? Otherwise it'll just be another bunch of disconnected islands each requiring contributors to go through the same setup procedure over and over again.

[–] [email protected] 5 points 1 year ago

Somebody did that on HN. They seemed receptive to it.

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

No problemo

[–] z3r0_Geek 1 points 1 year ago* (last edited 1 year ago) (1 children)

My apologies if I'm saying something stupid, but I see that this is built on top of Drone, which stopped being Open Source several years ago. Does this means that Drone, as part of Gitness, has become Open Source again?

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

With this release, drone is now apache-licensed. From what I've been able to find, the developers have been active in other discussions but avoided the topic of why they went open-source when drone wasn't.

A few developers that forked Drone into Woodpecker CI when it stopped being open-source are anticipating another "rug-pull" in a few years with Gitness. I'm a bit skeptical myself, but Harness does have other open-source projects and Drone's decision to stop being open-source predates their acquisition.